Instructions to use mlx-community/Meta-Llama-3.1-70B-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/Meta-Llama-3.1-70B-bf16 with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("mlx-community/Meta-Llama-3.1-70B-bf16") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use mlx-community/Meta-Llama-3.1-70B-bf16 with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "mlx-community/Meta-Llama-3.1-70B-bf16" --prompt "Once upon a time"
- Atomic Chat
Commit History
-
Upload folder using huggingface_hub (#1)
Verified signature- 64201fdf193a7bf79f1dcdbb4f0a59a27839f2806835bcaf9ba0e28db98d4507 (f15ad0383ed3653c18404e4df7117309c569db38) - f2df98df82ccd810739f4fffa9921e78cc195da26cf5a2e15cdc411f411dae97 (8c30a54a566e0f373a2d87fdbb5cb426b9f52f23) - 6ad14dd366cd6c2209a8da2aa38dc1de66ecfed1f11c721ba6f45cdf88c7eaf4 (559e169ad9f222a628034560195608679966d35b) - 25d1827e8216e712140232d1d3d9c6bfc7aea863930c0d6da7f49da70d6c7f15 (c90903cf0aade549f858768a38e7d746ebec8a51) - 1137849f2f879e2dd01fdca8d2a71351b582b524e96319fc648d7b50de4455b5 (7cccb0125b74b0bb35ef4dbfd5548467b68baadc) - 5b4c4f223f5a9008539cdb511e22a39036c8e0ed08c0b1c44361b7fa05cd68ac (878559d4831adba415105d19141cd28432628c35) - c67d79ea247075081bd21f09a0a6ebc4ce64942989377638acf41e05c0b3886b (193be4a5925d9a43be7707de910e06904afcf046) - 02273eb41641f0fae1eb30c374214cc1dbd3b422015cfd600ff79ddda94aa9a5 (d22aeaec73eb8093b2e8b56a447c9040088cb08d) - e1a110cac79b4223c4fb33726dd3530082f3f74ead574e217950d92d974321f6 (47053913bb0daf7a9e6dd6aad11be04b4ad557e4) - 265c576d…c07bc86 -
initial commit
Verified signature2ceeb51