codellama/CodeLlama-7b-hf

CodeLlama-7b-hf is a 7 billion parameter base model from the Code Llama family developed by Meta, designed for general code synthesis and understanding. This auto-regressive language model uses an optimized transformer architecture, trained between January and July 2023. It excels at code completion and infilling tasks, serving as a foundational model for various code-related applications. The model processes text input and generates text output, making it suitable for commercial and research use in English and programming languages.

Warm
Public
7B
FP8
4096
License: llama2
Hugging Face

Popular Sampler Settings

Most commonly used values from Featherless users

temperature
This setting influences the sampling randomness. Lower values make the model more deterministic; higher values introduce randomness. Zero is greedy sampling.
top_p
This setting controls the cumulative probability of considered top tokens. Must be in (0, 1]. Set to 1 to consider all tokens.
top_k
This limits the number of top tokens to consider. Set to -1 to consider all tokens.
frequency_penalty
This setting penalizes new tokens based on their frequency in the generated text. Values > 0 encourage new tokens; < 0 encourages repetition.
presence_penalty
This setting penalizes new tokens based on their presence in the generated text so far. Values > 0 encourage new tokens; < 0 encourages repetition.
repetition_penalty
This setting penalizes new tokens based on their appearance in the prompt and generated text. Values > 1 encourage new tokens; < 1 encourages repetition.
min_p
This setting representing the minimum probability for a token to be considered relative to the most likely token. Must be in [0, 1]. Set to 0 to disable.