Browse Models
The simplest way to self-host CodeLlama 34B. Launch a dedicated cloud GPU server running Lab Station OS to download and serve the model using any compatible app or framework.
Download model weights for local inference. Must be used with a compatible app, notebook, or codebase. May run slowly, or not work at all, depending on your system resources, particularly GPU(s) and available VRAM.
Code Llama 34B is Meta's code-focused model with 34B parameters, trained on programming content and built on Llama 2. Strong at Python, code generation, completion, and translating natural language to code. Offers middle ground between smaller 7B/13B and larger 70B variants.
Code Llama 34B is a large language model (LLM) developed by Meta, specifically designed for code generation and understanding. As part of the Code Llama family of models, it represents the most capable variant with 34 billion parameters, built upon the foundation of the Llama 2 architecture while specializing in coding tasks.
The model employs an optimized transformer architecture, trained between January and July 2023. While it shares similar training data with Llama 2, it uses different weights optimized for code-related tasks. The development process involved extensive training on code and natural language related to programming, though specific details about the training data composition are not publicly disclosed.
Code Llama 34B excels in multiple coding-related tasks, including:
The model has demonstrated superior performance compared to other open-source LLMs in various coding benchmarks, as detailed in the Meta AI research paper.
The Code Llama family includes several variants:
Each size comes in three variants:
The 34B parameter version represents a balance between the smaller models' efficiency and the larger models' capabilities. Implementation requires the transformers
and accelerate
libraries, with example code available in the Hugging Face model card.
The model is released under a custom commercial license from Meta, which includes specific restrictions on commercial use. Users interested in deploying Code Llama 34B should review the license agreement and acceptable use policy. Meta also maintains various channels for reporting issues, including platforms for bug reports and policy violations.