gabriellarson/nextcoder-32b-gguf Q4_K_S GGUF - Free GGUF Download is indexed on GraySoft with repository links, GGUF quant files, and Hugging Face metadata. This page helps you pick a local model for guIDE or other runtimes. See related models in the same shard below.
Model Intelligence Sheet
gabriellarson/nextcoder-32b-gguf overview
GitHub   |    Paper NextCoder: Robust Adaptation of Code LMs to Diverse Code Edits (ICML'2025)
Downloads
138
Likes
4
Pipeline
text-generation
Library
transformers
Visibility
Public
Access
Open
Repository Files & Downloads
26 files detected
Direct downloads for all repository files
| File | Type | Quantization | Size | Link |
|---|---|---|---|---|
| NextCoder-32B-F16.gguf | GGUF | F16 | 61.04 GB | Download |
| NextCoder-32B-IQ1_M.gguf | GGUF | IQ1_M | 7.39 GB | Download |
| NextCoder-32B-IQ1_S.gguf | GGUF | IQ1_S | 6.77 GB | Download |
| NextCoder-32B-IQ2_M.gguf | GGUF | IQ2_M | 10.49 GB | Download |
| NextCoder-32B-IQ2_S.gguf | GGUF | IQ2_S | 9.67 GB | Download |
| NextCoder-32B-IQ2_XS.gguf | GGUF | IQ2_XS | 9.27 GB | Download |
| NextCoder-32B-IQ2_XXS.gguf | GGUF | IQ2_XXS | 8.41 GB | Download |
| NextCoder-32B-IQ3_M.gguf | GGUF | IQ3_M | 13.79 GB | Download |
| NextCoder-32B-IQ3_S.gguf | GGUF | IQ3_S | 13.45 GB | Download |
| NextCoder-32B-IQ3_XS.gguf | GGUF | IQ3_XS | 12.76 GB | Download |
| NextCoder-32B-IQ3_XXS.gguf | GGUF | IQ3_XXS | 11.96 GB | Download |
| NextCoder-32B-IQ4_NL.gguf | GGUF | IQ4_NL | 17.40 GB | Download |
| NextCoder-32B-IQ4_XS.gguf | GGUF | IQ4_XS | 16.48 GB | Download |
| NextCoder-32B-Q2_K.gguf | GGUF | Q2_K | 11.47 GB | Download |
| NextCoder-32B-Q2_K_S.gguf | GGUF | Q2_K_S | 10.70 GB | Download |
| NextCoder-32B-Q3_K_L.gguf | GGUF | Q3_K_L | 16.06 GB | Download |
| NextCoder-32B-Q3_K_M.gguf | GGUF | Q3_K_M | 14.84 GB | Download |
| NextCoder-32B-Q3_K_S.gguf | GGUF | Q3_K_S | 13.40 GB | Download |
| NextCoder-32B-Q4_0.gguf | GGUF | — | 17.43 GB | Download |
| NextCoder-32B-Q4_K_M.gguf | GGUF | Q4_K_M | 18.49 GB | Download |
| NextCoder-32B-Q4_K_S.gguf | GGUF | Q4_K_S | 17.49 GB | Download |
| NextCoder-32B-Q5_0.gguf | GGUF | — | 21.15 GB | Download |
| NextCoder-32B-Q5_K_M.gguf | GGUF | Q5_K_M | 21.66 GB | Download |
| NextCoder-32B-Q5_K_S.gguf | GGUF | Q5_K_S | 21.08 GB | Download |
| NextCoder-32B-Q6_K.gguf | GGUF | Q6_K | 25.04 GB | Download |
| NextCoder-32B-Q8_0.gguf | GGUF | — | 32.43 GB | Download |
Model Details Live
Metadata Inspector
Normalized metadata (stored in metadata_json)
{
"metadata": {},
"card_data": {
"license": "mit",
"language": [
"en"
],
"base_model": [
"microsoft/NextCoder-32B"
],
"pipeline_tag": "text-generation",
"library_name": "transformers",
"tags": [
"code",
"chat",
"microsoft",
"nextcoder",
"selekt"
],
"datasets": [
"microsoft/NextCoderDataset",
"microsoft/NextCoderDataset-Conversational",
"bigcode/commitpackft",
"bigcode/starcoderdata"
],
"frontmatter": {
"license": "mit",
"language": [
"en"
],
"base_model": [
"microsoft/NextCoder-32B"
],
"pipeline_tag": "text-generation",
"library_name": "transformers",
"tags": [
"code",
"chat",
"microsoft",
"nextcoder",
"selekt"
],
"datasets": [
"microsoft/NextCoderDataset",
"microsoft/NextCoderDataset-Conversational",
"bigcode/commitpackft",
"bigcode/starcoderdata"
]
},
"hero_image_url": "",
"summary": "GitHub   |    Paper > NextCoder: Robust Adaptation of Code LMs to Diverse Code Edits (ICML'2025)",
"quick_links": [],
"benchmark_table_html": "",
"readme_markdown": "---\nlicense: mit\nlanguage:\n- en\nbase_model:\n- microsoft/NextCoder-32B\npipeline_tag: text-generation\nlibrary_name: transformers\ntags:\n- code\n- chat\n- microsoft\n- nextcoder\n- selekt\ndatasets:\n- microsoft/NextCoderDataset\n- microsoft/NextCoderDataset-Conversational\n- bigcode/commitpackft\n- bigcode/starcoderdata\n---\n\n# NextCoder-32B\n<p align=\"center\">\n <a href=\"https://github.com/microsoft/NextCoder\">GitHub</a>   |    <a href=\"https://www.microsoft.com/en-us/research/publication/nextcoder-robust-adaptation-of-code-lms-to-diverse-code-edits/\">Paper</a> \n</p>\n> NextCoder: Robust Adaptation of Code LMs to Diverse Code Edits (ICML'2025)\n\n## Introduction\n\nNextCoder is the latest series of Code-Editing large language models developed using the Qwen2.5-Coder Instruct variants as base and trained with novel Selective Knowledge Transfer finetuning methodology as introduced in the paper. NextCoder family model comes in 3 different sizes 7, 14, 32 billion parameters, to meet the needs of different developers.\nFollowing are the key improvements:\n- Significantly improvements in **code editing**, NextCoder-32B has performing on par with GPT-4o on complex benchmarks like Aider-Polyglot with performance increment of 44% from their base model.\n- No loss of generalizibility, due to our new finetuning method **SeleKT**\n- **Long-context Support** up to 32K tokens.\n\n**This repo contains the NextCoder-32B model**, which has the following features:\n- Type: Causal Language Models\n- Training Stage: Post-training with SeleKT\n- Architecture: transformers with RoPE, SwiGLU, RMSNorm, and Attention QKV bias\n- Number of Parameters: 32.5B\n- Number of Paramaters (Non-Embedding): 31.0B\n- Number of Layers: 64\n- Number of Attention Heads (GQA): 40 for Q and 8 for KV\n \nFor more details, please refer to our [blog](), [GitHub](https://github.com/microsoft/NextCoder), [Paper](https://www.microsoft.com/en-us/research/publication/nextcoder-robust-adaptation-of-code-lms-to-diverse-code-edits/).\n\n## Requirements\n\nThe code of NextCoder is based on Qwen2.5 base models which has been in the latest Hugging face `transformers` and we advise you to use the latest version of `transformers`.\n\nWith `transformers<4.37.0`, you will encounter the following error:\n```\nKeyError: 'qwen2'\n```\n\n## Quickstart\n\nHere provides a code snippet with `apply_chat_template` to show you how to load the tokenizer and model and how to generate contents.\n\n```python\nfrom transformers import AutoModelForCausalLM, AutoTokenizer\nmodel_name = \"microsoft/NextCoder-32B\"\nmodel = AutoModelForCausalLM.from_pretrained(\n model_name,\n torch_dtype=\"auto\",\n device_map=\"auto\",\n)\ntokenizer = AutoTokenizer.from_pretrained(model_name)\nprompt = \"\"\"\nFix the following function that divides two numbers to handle all the edge cases:\ndef divide(a, b)\n returm a/b\n\"\"\"\nmessages = [\n {\"role\": \"user\", \"content\": prompt}\n]\ntext = tokenizer.apply_chat_template(\n messages,\n tokenize=False,\n add_generation_prompt=True\n)\nmodel_inputs = tokenizer([text], return_tensors=\"pt\").to(model.device)\ngenerated_ids = model.generate(\n **model_inputs,\n max_new_tokens=1024\n)\ngenerated_ids = [\n output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)\n]\nresponse = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]\n```\n## Evaluation and Performance\n\n| Models | HUMANEVALFIX | CANITEDIT | AIDER | POLYGLOT |\n|--------|---------------|-----------|-------|----------|\n| QwenCoder-2.5-3B | 73.2 | 37.1 | 36.8 | - |\n| QwenCoder-2.5-3B-LoRA | 64.6 | 36.2 | 35.8 | - |\n| QwenCoder-2.5-3B-SFT | 76.2 | 32.4 | 30.1 | - |\n| **NextCoder-3B** | 75.6 | 42.4 | 37.6 | - |\n| QwenCoder-2.5-7B | 73.8 | 48.1 | 59.4 | - |\n| QwenCoder-2.5-7B-LoRA | 70.7 | 44.3 | 40.6 | - |\n| QwenCoder-2.5-7B-SFT | 70.1 | 36.7 | 48.9 | - |\n| **NextCoder-7B** | 81.1 | 50.5 | 65.7 | - |\n| QwenCoder-2.5-14B | 87.8 | 58.1 | 66.9 | 9.3 |\n| QwenCoder-2.5-14B-LoRA | 78.0 | 50.9 | 66.2 | 5.3 |\n| QwenCoder-2.5-14B-SFT | 79.9 | 42.4 | 36.8 | 3.1 |\n| **NextCoder-14B** | 89.8 | 60.2 | 72.2 | 12.2 |\n| QwenCoder-2.5-32B | **90.2** | 61.0 | 72.9 | 16.4 |\n| QwenCoder-2.5-32B-LoRA | 82.3 | 52.4 | 60.2 | 6.7 |\n| QwenCoder-2.5-32B-SFT | 81.7 | 49.5 | 66.9 | 8.4 |\n| **NextCoder-32B** | 88.9 | **62.4** | **74.7** | **23.6** |\n\n*Comparison of base QwenCoder-2.5 models of different sizes and their SELEKT-enhanced versions across three code editing benchmarks.*\n\n**Detailed evaluation results are reported in this [📑 paper](https://www.microsoft.com/en-us/research/publication/nextcoder-robust-adaptation-of-code-lms-to-diverse-code-edits/).**\n\n## Responsible AI Use\nThe base models (from the QwenCoder-2.5 family) are suspectible to malicious prompts and may generate or execute harmful code. Our finetuning does not enhance or impede such behaviors. The users should use the models and their outputs responsibly and with caution. Model outputs should be subjected to additional analysis, including manual inspection, and sandboxing before execution.\n\n## Citation\n\n```bibtex\n@inproceedings{aggarwal2025nextcoder,\nauthor = {Aggarwal, Tushar and Singh, Swayam and Awasthi, Abhijeet and Kanade, Aditya and Natarajan, Nagarajan},\ntitle = {NextCoder: Robust Adaptation of Code LMs to Diverse Code Edits},\nbooktitle = {International Conference on Machine Learning},\nyear = {2025},\nurl = {https://www.microsoft.com/en-us/research/publication/nextcoder-robust-adaptation-of-code-lms-to-diverse-code-edits/},\n}\n```",
"related_quantizations": []
},
"tags": [
"transformers",
"gguf",
"code",
"chat",
"microsoft",
"nextcoder",
"selekt",
"text-generation",
"en",
"dataset:microsoft/NextCoderDataset",
"dataset:microsoft/NextCoderDataset-Conversational",
"dataset:bigcode/commitpackft",
"dataset:bigcode/starcoderdata",
"base_model:microsoft/NextCoder-32B",
"base_model:quantized:microsoft/NextCoder-32B",
"license:mit",
"endpoints_compatible",
"region:us",
"conversational"
],
"likes": 4,
"downloads": 138,
"gated": false,
"private": false,
"last_modified": "2025-07-08T18:08:58.000Z",
"created_at": "2025-07-08T16:05:52.000Z",
"pipeline_tag": "text-generation",
"library_name": "transformers"
}
Source payload excerpt (from Hugging Face API)
{
"_id": "686d41e05c4181fdc23c28d6",
"id": "gabriellarson/NextCoder-32B-GGUF",
"modelId": "gabriellarson/NextCoder-32B-GGUF",
"sha": "1ea987e0449a9da6e42b603cfbc8d636fa6a4dcd",
"createdAt": "2025-07-08T16:05:52.000Z",
"lastModified": "2025-07-08T18:08:58.000Z",
"author": "gabriellarson",
"downloads": 138,
"likes": 4,
"gated": false,
"private": false,
"pipeline_tag": "text-generation",
"library_name": "transformers",
"siblings_count": 28
}