Glaive Coder 7B is an open-source language model by glaiveai. Features: 7b LLM, VRAM: 27GB, Context: 16K, License: llama2, Instruction-Based, Code Generating, LLM Explorer Score: 0.13, Arc: 42.7, HellaSwag: 64.7, MMLU: 37.2, GSM8K: 5.2.
Glaive Coder 7B Parameters and Internals
| Model Type | |
| Use Cases |
| Areas: | |
| Applications: | | single instruction following, multi-turn conversations |
|
| Primary Use Cases: | |
|
| Additional Notes | | Join the Code Models Arena for better understanding of user preference and suggest improvements via Discord. |
|
| Supported Languages | |
| Training Details |
| Data Sources: | | glaiveai/glaive-code-assistant |
|
| Data Volume: | | ~140k programming related problems and solutions |
|
| Methodology: | | Fine-tuned on the CodeLlama-7b model. Uses a specific prompt format similar to CodeLlama-7b-Instruct. |
|
|
| Input Output |
| Input Format: | | ~~[INST] <> {{ system_prompt }} <> {{ user_msg }} [/INST] {{ model_answer }} |
|
| Output Format: | | Generates code outputs based on the provided instruction. |
|
|
| LLM Name | Glaive Coder 7B |
| Repository π€ | https://huggingface.co/glaiveai/glaive-coder-7b |
| Model Size | 7b |
| Required VRAM | 27 GB |
| Updated | 2026-07-30 |
| Maintainer | glaiveai |
| Model Type | llama |
| Instruction-Based | Yes |
| Model Files | 27.0 GB |
| Supported Languages | en |
| Generates Code | Yes |
| Model Architecture | LlamaForCausalLM |
| License | llama2 |
| Context Length | 16384 |
| Model Max Length | 16384 |
| Transformers Version | 4.32.0 |
| Tokenizer Class | CodeLlamaTokenizer |
| Beginning of Sentence Token | <s> |
| End of Sentence Token | </s> |
| Unk Token | <unk> |
| Vocabulary Size | 32017 |
| Torch Data Type | float32 |
Best Alternatives to Glaive Coder 7B
Note: green Score (e.g. "73.2") means that the model is better than glaiveai/glaive-coder-7b.