LLM EXPLORER 59,420 MODELS INDEXED

Diff Codegen 6B V2 by CarperAI

By CarperAI · 20 downloads

Diff Codegen 6B V2 is an open-source language model by CarperAI. Features: 6b LLM, VRAM: 14.3GB, License: mit, Code Generating, LLM Explorer Score: 0.05.

  Arxiv:2101.00027   Arxiv:2201.07311   Arxiv:2203.13474   Code   Code-generation   Codegen   Diff model   En   Endpoints compatible   Pytorch   Region:us   Safetensors   The pile

Diff Codegen 6B V2 Parameters and Internals

Model Type 
causal-lm, code-generation
Use Cases 
Primary Use Cases:
Prototyping code generation systems, Experimental purposes
Limitations:
Underperform on underrepresented languages, Not suitable for mission-critical settings
Additional Notes 
Suggested for use in experiments, not commercial settings. Caution advised due to potential security vulnerabilities.
Training Details 
Data Sources:
The Pile, GitHub commits via Google BigQuery Public Dataset
Data Volume:
19 million commits
Methodology:
Fine-tuned on a large dataset of commits. Formatted using Unified Diff Format for input to the language model.
Context Length:
2048
Hardware Used:
64 A100 GPUs provided by Stability AI
Input Output 
Input Format:
Formatted as Unified Diff Format.
Accepted Modalities:
code
Output Format:
Code in diff format.
LLM NameDiff Codegen 6B V2
Repository πŸ€—https://huggingface.co/CarperAI/diff-codegen-6b-v2 
Model Size6b
Required VRAM14.3 GB
Updated2026-08-24
MaintainerCarperAI
Model Typecodegen
Model Files  14.3 GB   14.3 GB
Supported Languagesen code
Generates CodeYes
Model ArchitectureCodeGenForCausalLM
Licensemit
Model Max Length2048
Transformers Version4.22.0.dev0
Tokenizer ClassGPT2Tokenizer
Vocabulary Size50295
Torch Data Typefloat16
Activation Functiongelu_new

Best Alternatives to Diff Codegen 6B V2

Best Alternatives
Context / RAM
Downloads
Likes
Nsql 6B0K / 28.4 GB2352
...egen 6B Nl Lora Adapter Merged0K / 14.3 GB31
...en 6B Mono Lora Adapter Merged0K / 14.3 GB50
Codegen 6B Multi0K / 14.3 GB95120
...en 6B Mono Instruct Py Revised0K / 28.4 GB52
...n 6B Mono Instruct Py Critique0K / 28.4 GB42
...gen 6B Nl Instruct Py Critique0K / 28.4 GB61
Codegen 6B Nl0K / 14.3 GB1464
CodeGen RE0K / 28.8 GB52
Fine Tuned Codegen 6B Verilog0K / 28.4 GB142
Note: green Score (e.g. "73.2") means that the model is better than CarperAI/diff-codegen-6b-v2.