CodeLlama 7B Python GPTQ is an open-source language model by TheBloke. Features: 7b LLM, VRAM: 3.9GB, Context: 16K, License: llama2, Quantized, Code Generating, LLM Explorer Score: 0.08.
CodeLlama 7B Python GPTQ Parameters and Internals
Model Type text generation, code synthesis
Use Cases
Areas: commercial use, research use
Applications: code synthesis, code understanding
Primary Use Cases:
Limitations: Out-of-scope uses include languages other than English.
Considerations: The potential outputs cannot be predicted in advance; developers should perform safety testing.
Additional Notes Code Llama is a collection of pretrained and fine-tuned generative text models ranging in scale from 7 billion to 34 billion parameters.
Supported Languages
Training Details
Data Sources: Uses the same data as Llama 2 with different weights.
Methodology: Fine-tuning specific to tasks such as code synthesis and Python specialization.
Hardware Used: A100-80GB, TDP of 350-400W
Model Architecture: Optimized transformer architecture
Safety Evaluation
Methodologies: See safety evaluations in Section 4 of the research paper.
Ethical Considerations: Should perform safety testing and tuning tailored to specific applications.
Responsible Ai Considerations
Mitigation Strategies: Responsible Use Guide available at https://ai.meta.com/llama/responsible-user-guide
Input Output
Input Format:
Accepted Modalities:
Output Format:
Release Notes
Version:
Notes: Designed for general code synthesis and understanding.
LLM Name CodeLlama 7B Python GPTQ Repository π€ https://huggingface.co/TheBloke/CodeLlama-7B-Python-GPTQ Model Name CodeLlama 7B Python Model Creator Meta Base Model(s) codellama/CodeLlama-7b-python-hf codellama/CodeLlama-7b-python-hf Model Size 7b Required VRAM 3.9 GB Updated 2026-08-02 Maintainer TheBloke Model Type llama Model Files 3.9 GB Supported Languages code GPTQ Quantization Yes Quantization Type gptq Generates Code Yes Model Architecture LlamaForCausalLM License llama2 Context Length 16384 Model Max Length 16384 Transformers Version 4.32.0 Tokenizer Class LlamaTokenizer Beginning of Sentence Token <s> End of Sentence Token </s> Unk Token <unk> Vocabulary Size 32000 Torch Data Type float16
Rank the CodeLlama 7B Python GPTQ capabilities
Have you tried this model? Rate its performance β this feedback helps the ML community find the right model for their needs.
Instruction Following and Task Automation
Factuality and Completeness of Knowledge
Censorship and Alignment
Data Analysis and Insight Generation
Text Generation
Text Summarization and Feature Extraction
Code Generation
Multi-Language Support and Translation
Best Alternatives to CodeLlama 7B Python GPTQ
Note: green Score (e.g. "73.2 ") means that the model is better than TheBloke/CodeLlama-7B-Python-GPTQ .
Expand