Llama-2-7b-chat-hf
These are the converted model weights for Llama-2-7B-chat in Huggingface format.
Courtesy of Mirage-Studio.io, home of MirageGPT: the private ChatGPT alternative.
Note: If your request to access the Llama-2-7b-chat-hf official repository has been denied by the repo‘s author, you can download it directly here, which is the exact same model.
Llama-2-7b-chat-hf is a pretrained and fine-tuned generative text model in a scale of 7 billion parameters. This is the repository for the 7B fine-tuned model, optimized for dialogue use cases and converted for the Hugging Face Transformers format.
Input Models input text only.
Output Models generate text only.
Model Architecture Llama 2 is an auto-regressive language model that uses an optimized transformer architecture. The tuned versions use supervised fine-tuning (SFT) and reinforcement learning with human feedback (RLHF) to align to human preferences for helpfulness and safety.
Llama 2 family of models. Token counts refer to pretraining data only. All models are trained with a global batch-size of 4M tokens.
Intended Use
Intended Use Cases Llama 2 is intended for commercial and research use in English. Tuned models are intended for assistant-like chat, whereas pretrained models can be adapted for a variety of natural language generation tasks.
To get the expected features and performance for the chat versions, a specific formatting needs to be followed, including the INST and <> tags, BOS and EOS tokens, and the whitespaces and breaklines in between (we recommend calling strip() on inputs to avoid double-spaces). See our reference code in github for details: chat_completion.
Out-of-scope Uses Use in any manner that violates applicable laws or regulations (including trade compliance laws).Use in languages other than English. Use in any other way that is prohibited by the Acceptable Use Policy and Licensing Agreement for Llama 2.