|
| 1 | +# Llama-3.1-8B-Instruct |
| 2 | + |
| 3 | +This model uses Llama-3.1-8B-Instruct, a 8 billion-parameter instruction-tuned model from Meta Platforms, Inc. (Meta AI). It belongs to the Llama 3.1 model family and is optimized for multilingual dialogue, code tasks, and general instruction-following across a large context window. |
| 4 | + |
| 5 | +For full details including model specifications, licensing, intended use, safety guidance, and example prompts, please visit the official Hugging Face page: **Official Hugging Face Page** |
| 6 | + |
| 7 | +https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct |
| 8 | + |
| 9 | +This model provides inference services only; weights are hosted by Hugging Face under Meta’s license. |
| 10 | + |
| 11 | +Ensure compliance with the Llama 2 Community License Agreement before using this model. |
| 12 | + |
| 13 | +### Model Attribution |
| 14 | + |
| 15 | +**Developer:** Meta Platforms, Inc. (Meta AI) |
| 16 | + |
| 17 | +**purpose:** Instruction-following model for dialogue, code generation/completion, multilingual tasks |
| 18 | + |
| 19 | +**Sizes/Variants:** 8 B parameters (instruction tuned); the Llama 3.1 family also includes 70 B and 405 B parameter variants |
| 20 | + |
| 21 | +**Modalities:** Text input → Text (including code) output |
| 22 | + |
| 23 | +**Parameter Size:** ~8 billion |
| 24 | + |
| 25 | +**Max Context:** Up to ~128 k tokens (for the 3.1 family) |
| 26 | + |
| 27 | +**License:** Llama 3.1 Community License (custom commercial license) |
| 28 | + |
| 29 | +**Minimum required CPU Cores:** 157 |
| 30 | + |
| 31 | +**Minimum required PCIe Cards:** 1 |
| 32 | + |
| 33 | +### Usage Notice |
| 34 | + |
| 35 | +**By using this model, you agree that:** |
| 36 | + |
| 37 | +- Inputs and outputs are processed through Llama-3.1-8B-Instruct under Meta’s Community License. |
| 38 | +- You will comply with Meta’s licensing terms, including restrictions on redistribution, commercial scale-use thresholds, attribution (“Built with Llama”), and acceptable use policy. |
| 39 | +- All generated content (text or code) must be reviewed for accuracy, compliance, and safety before deployment. |
| 40 | +- The model should not be used for generating malicious content, disallowed content, or automating decisions in high-risk or regulated systems without appropriate safeguards. |
| 41 | + |
| 42 | +### Intended Applications |
| 43 | + |
| 44 | +- Instruction-following chatbots and assistants (multilingual) |
| 45 | +- Code generation, completion, refactoring tasks (Python, Java, JavaScript, etc.) |
| 46 | +- Multilingual support (English, German, French, Italian, Portuguese, Hindi, Spanish, Thai) and potentially others with fine-tuning. |
| 47 | +- Large-context tasks: summarization of long documents, dialog over long history, RAG (retrieve-and-generate) over extended context. |
| 48 | +- Research, prototyping, and commercial workflows (subject to license terms). |
| 49 | + |
| 50 | +### Limitations |
| 51 | + |
| 52 | +- Although capable, the 8 B size still has trade-offs: accuracy and depth of reasoning may lag behind much larger models. |
| 53 | +- As with all large language models, risk of hallucinations (incorrect statements), biases, or unsafe outputs remains. |
| 54 | +- The custom license restricts certain uses (e.g., if your product has > 700 million monthly active users you may require a special license) as described in Meta’s license terms. |
| 55 | +- The model does not guarantee tool-use, vision/multimodal input (unless you fine-tune or wrap appropriately) – it is primarily text → text. |
| 56 | +- Running it efficiently still requires significant hardware/resources for full context and best performance |
| 57 | + |
| 58 | +### References |
| 59 | + |
| 60 | +“Introducing Llama 3.1: Our most capable models to date”. https://ai.meta.com/blog/meta-llama-3-1 |
| 61 | + |
| 62 | +Hugging Face Model Card: https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct |
| 63 | + |
| 64 | +Meta Llama GitHub Repository & License Details. https://github.com/meta-llama/llama3 |
0 commit comments