Instructions to use mlx-community/r1-1776-distill-llama-70b-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/r1-1776-distill-llama-70b-8bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download mlx-community/r1-1776-distill-llama-70b-8bit --local-dir r1-1776-distill-llama-70b-8bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download config.json from mlx-community/r1-1776-distill-llama-70b-8bit: direct link, hf CLI and curl.
- Browser
- Download file 1.17 kB
-
https://huggingface.co/mlx-community/r1-1776-distill-llama-70b-8bit/resolve/main/config.json
- Command line
-
hf download hf://mlx-community/r1-1776-distill-llama-70b-8bit/config.json
-
curl -L -o config.json https://huggingface.co/mlx-community/r1-1776-distill-llama-70b-8bit/resolve/main/config.json
1.17 kB
| { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 128000, | |
| "eos_token_id": [ | |
| 128001, | |
| 128008, | |
| 128009 | |
| ], | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 8192, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 28672, | |
| "max_position_embeddings": 131072, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 64, | |
| "num_hidden_layers": 80, | |
| "num_key_value_heads": 8, | |
| "pad_token_id": 128004, | |
| "pretraining_tp": 1, | |
| "quantization": { | |
| "group_size": 64, | |
| "bits": 8 | |
| }, | |
| "quantization_config": { | |
| "group_size": 64, | |
| "bits": 8 | |
| }, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": { | |
| "factor": 8.0, | |
| "high_freq_factor": 4.0, | |
| "low_freq_factor": 1.0, | |
| "original_max_position_embeddings": 8192, | |
| "rope_type": "llama3" | |
| }, | |
| "rope_theta": 500000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.48.0", | |
| "unsloth_fixed": true, | |
| "use_cache": true, | |
| "vocab_size": 128256 | |
| } |