Update README.md
Browse files
README.md
CHANGED
@@ -206,3 +206,36 @@ extra_gated_description: The information you provide will be collected, stored,
|
|
206 |
and shared in accordance with the [Meta Privacy Policy](https://www.facebook.com/privacy/policy/).
|
207 |
extra_gated_button_content: Submit
|
208 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
206 |
and shared in accordance with the [Meta Privacy Policy](https://www.facebook.com/privacy/policy/).
|
207 |
extra_gated_button_content: Submit
|
208 |
---
|
209 |
+
|
210 |
+
# GGUF models for llama3.java
|
211 |
+
Pure .gguf `Q4_0` and `Q8_0` quantizations of Llama 3.2 models, ready to consume by [llama3.java](https://github.com/mukel/llama3.java).
|
212 |
+
|
213 |
+
In the wild, `Q8_0` quantizations are fine, but `Q4_0` quantizations are rarely pure e.g. the `output.weights` tensor is quantized with `Q6_K`, instead of `Q4_0`.
|
214 |
+
A pure `Q4_0` quantization can be generated from a high precision (F32, F16, BFLOAT16) .gguf source with the `llama-quantize` utility from llama.cpp as follows:
|
215 |
+
|
216 |
+
```
|
217 |
+
./llama-quantize --pure ./Meta-Llama-3-8B-Instruct-F32.gguf ./Meta-Llama-3-8B-Instruct-Q4_0.gguf Q4_0
|
218 |
+
```
|
219 |
+
|
220 |
+
## Model Information
|
221 |
+
|
222 |
+
The Meta Llama 3.2 collection of multilingual large language models (LLMs) is a collection of pretrained and instruction-tuned generative models in 1B and 3B sizes (text in/text out). The Llama 3.2 instruction-tuned text only models are optimized for multilingual dialogue use cases, including agentic retrieval and summarization tasks. They outperform many of the available open source and closed chat models on common industry benchmarks.
|
223 |
+
|
224 |
+
**Model Developer:** Meta
|
225 |
+
|
226 |
+
**Model Architecture:** Llama 3.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 with human preferences for helpfulness and safety.
|
227 |
+
|
228 |
+
| | Training Data | Params | Input modalities | Output modalities | Context Length | GQA | Shared Embeddings | Token count | Knowledge cutoff |
|
229 |
+
| :---- | :---- | :---- | :---- | :---- | :---- | :---- | :---- | :---- | :---- |
|
230 |
+
| Llama 3.2 (text only) | A new mix of publicly available online data. | 1B (1.23B) | Multilingual Text | Multilingual Text and code | 128k | Yes | Yes | Up to 9T tokens | December 2023 |
|
231 |
+
| | | 3B (3.21B) | Multilingual Text | Multilingual Text and code | | | | | |
|
232 |
+
|
233 |
+
**Supported Languages:** English, German, French, Italian, Portuguese, Hindi, Spanish, and Thai are officially supported. Llama 3.2 has been trained on a broader collection of languages than these 8 supported languages. Developers may fine-tune Llama 3.2 models for languages beyond these supported languages, provided they comply with the Llama 3.2 Community License and the Acceptable Use Policy. Developers are always expected to ensure that their deployments, including those that involve additional languages, are completed safely and responsibly.
|
234 |
+
|
235 |
+
**Llama 3.2 Model Family:** Token counts refer to pretraining data only. All model versions use Grouped-Query Attention (GQA) for improved inference scalability.
|
236 |
+
|
237 |
+
**Model Release Date:** Sept 25, 2024
|
238 |
+
|
239 |
+
**Status:** This is a static model trained on an offline dataset. Future versions may be released that improve model capabilities and safety.
|
240 |
+
|
241 |
+
**License:** Use of Llama 3.2 is governed by the [Llama 3.2 Community License](https://github.com/meta-llama/llama-models/blob/main/models/llama3_2/LICENSE) (a custom, commercial license agreement).
|