codellama/CodeLlama-7b-Instruct-hf
Hugging Face
TEXT GENERATIONConcurrency Cost:1Model Size:7BQuant:FP8Ctx Length:4kPublished:Aug 24, 2023License:llama2Architecture:Transformer0.3K Open Weights Warm

CodeLlama-7b-Instruct-hf is a 7 billion parameter instruction-tuned generative text model developed by Meta, based on an optimized transformer architecture. This model is specifically designed for general code synthesis, understanding, and instruction following, excelling at tasks like code completion and infilling. It is part of the Code Llama family, optimized for safer deployment in code assistant and generation applications.

Loading preview...

CodeLlama-7b-Instruct-hf Overview

This model is the 7 billion parameter instruction-tuned variant of Meta's Code Llama family, designed for general code synthesis and understanding. It utilizes an optimized transformer architecture and was trained between January and July 2023. While this specific repository is an unofficial Hugging Face version, the underlying model was developed and publicly released by Meta.

Key Capabilities

  • Code Completion: Generates relevant code snippets.
  • Infilling: Fills in missing parts of code.
  • Instructions / Chat: Responds to natural language instructions for code-related tasks.
  • General Code Synthesis: Capable of generating various types of code.
  • Code Understanding: Assists in interpreting existing code.

Intended Use Cases

CodeLlama-7b-Instruct-hf is intended for commercial and research use, primarily in English and relevant programming languages. It is specifically optimized for instruction following and safer deployment in code assistant and generation applications. Meta developed this model, and more details can be found in the research paper "Code Llama: Open Foundation Models for Code".