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
Upload folder using huggingface_hub
Upload folder using huggingface_hub
Multi commit ID: 128a98765738d8273ae68e32f28e01d64de926a352632d9a83c045b5389f14b8
Scheduled commits:
- Upload 1 file(s) totalling 5.1G (64201fdf193a7bf79f1dcdbb4f0a59a27839f2806835bcaf9ba0e28db98d4507)
- Upload 1 file(s) totalling 5.1G (f2df98df82ccd810739f4fffa9921e78cc195da26cf5a2e15cdc411f411dae97)
- Upload 1 file(s) totalling 5.1G (6ad14dd366cd6c2209a8da2aa38dc1de66ecfed1f11c721ba6f45cdf88c7eaf4)
- Upload 1 file(s) totalling 5.1G (25d1827e8216e712140232d1d3d9c6bfc7aea863930c0d6da7f49da70d6c7f15)
- Upload 1 file(s) totalling 5.1G (1137849f2f879e2dd01fdca8d2a71351b582b524e96319fc648d7b50de4455b5)
- Upload 1 file(s) totalling 5.1G (5b4c4f223f5a9008539cdb511e22a39036c8e0ed08c0b1c44361b7fa05cd68ac)
- Upload 1 file(s) totalling 5.1G (c67d79ea247075081bd21f09a0a6ebc4ce64942989377638acf41e05c0b3886b)
- Upload 1 file(s) totalling 5.1G (02273eb41641f0fae1eb30c374214cc1dbd3b422015cfd600ff79ddda94aa9a5)
- Upload 1 file(s) totalling 5.1G (e1a110cac79b4223c4fb33726dd3530082f3f74ead574e217950d92d974321f6)
- Upload 1 file(s) totalling 5.1G (265c576d9677b966b51abc0b9ccc220ba286355195e4deec34bdcc9d417b339b)
- Upload 1 file(s) totalling 5.1G (16ee654bcfef4aabe6c32147caaad5e6088d0f6f7cb3a16ff05ddfbb28fbc301)
- Upload 1 file(s) totalling 5.1G (46d073dd7d107ba70aad2603efbdf7399250e9c2fed67648fa338824e01a3386)
- Upload 1 file(s) totalling 5.1G (d30ecccdfa4370db553e305d98fa34be5e8b6ee1ce03c26db27c67791cdf722e)
- Upload 1 file(s) totalling 5.1G (6c5e31d09e8ab3271dd56334bac8887714f6f043dca711bd4cdde82aaf6429f6)
- Upload 1 file(s) totalling 5.1G (9ecb71b7f87dd17007b0e722c46797a29701ac364873f033682bc2cb0b9dc5b9)
- Upload 1 file(s) totalling 5.1G (8b0b8ce5ec493bc72853a2f1397ac48b8074c58825965e48a5ad81b78f296d1a)
- Upload 1 file(s) totalling 5.1G (351bf526aa38d98e73a3c1fa1f7b6694879ac0dbcf7ee1802aaaf97ed77af1ab)
- Upload 1 file(s) totalling 5.1G (a3164b6455ceab405c7f5555634af6d17bcf78d082efbe41bb8d9e666a6c3527)
- Upload 1 file(s) totalling 5.1G (cbcf8409e50c46b2f3e3d45c064a7421067f8f1bccc28f1bfdbbec0c37b995ed)
- Upload 1 file(s) totalling 5.1G (32280a5fc9d4e57e2a01ee75fdef39ae5c0f0469d658c54c910317b88546eb6c)
- Upload 1 file(s) totalling 5.1G (9de5c59014399e181d21354ff98652095e30ced8d76401a05ae86e725cb06433)
- Upload 1 file(s) totalling 5.1G (85226498c7c31aea7bad2832e59762896ce7c9b83b6061760723b6daff04c5a5)
- Upload 1 file(s) totalling 5.1G (78c9b506bb6282c81e1f007cd40ebe6a778efa5d0171e87a41959bf2e47e6052)
- Upload 1 file(s) totalling 5.1G (5db58b5d7adb82365786384164f695f11dac60cd182e15e829f48ced6b9661d1)
- Upload 1 file(s) totalling 5.1G (85989a31955d03cf7d137227a8b920374cd0b325959ddf429e8cc85f22baa246)
- Upload 1 file(s) totalling 5.1G (df13415dbcd55794df4a7afd55295c55b083048c32d127b6c306558a9bad2fd4)
- Upload 1 file(s) totalling 5.1G (34a45d46d854bfaa88fa870a36d1028254ee76283d0cb6a4406b5aeedad23e7a)
- Upload 1 file(s) totalling 2.6G (a8c31f3f33adfef81eb904eaaaee6a25c8f328ceafc84bf14cb6035924da39c4)
- Upload 6 file(s) totalling 9.2M (f6cbade4cc36eb53145c34858ecf2eb6d63a336973279ed792e3f7bcb39304b1)
This is a PR opened using the huggingface_hub library in the context of a multi-commit. PR can be commented as a usual PR. However, please be aware that manually updating the PR description, changing the PR status, or pushing new commits, is not recommended as it might corrupt the commit process. Learn more about multi-commits in this guide.
Multi-commit is now completed! You can ping the repo owner to review the changes. This PR can now be commented or modified without risking to corrupt it.
This is a comment posted using the huggingface_hub library in the context of a multi-commit. Learn more about multi-commits in this guide.
create_pr=False has been passed so PR is automatically merged.
This is a comment posted using the huggingface_hub library in the context of a multi-commit. Learn more about multi-commits in this guide.