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
5db58b5d7adb82365786384164f695f11dac60cd182e15e829f48ced6b9661d1
Browse files
model-00024-of-00028.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13ff1307ea2f5afe78e97a51f96892d16139fac3a3c394b0c91d38b51cc0a9f9
|
| 3 |
+
size 5133929573
|