Downloads · 30 days
1
2% of all-time downloads
mlc-ai/Llama-3-70B-Instruct-fp8-MLC
Llama-3-70B-Instruct-fp8-MLC is a machine learning model from mlc-ai. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for mlc-llm.
This is the Llama-3-70B-Instruct model in MLC format e4m3e4m3f16 (FP8 quantization). The model can be used for projects MLC-LLM.
Downloads · 30 days
1
2% of all-time downloads
All-time downloads
48
Public
Repo size
72.7 GB
Likes
0
Public
Click a slice to open those files.
.bin72.7 GB · 100%
From the Hugging Face model README
This is the Llama-3-70B-Instruct model in MLC format e4m3_e4m3_f16 (FP8 quantization).
The model can be used for projects MLC-LLM.
Here are some examples of using this model in MLC LLM. Before running the examples, please install MLC LLM by following the installation documentation.
In command line, run
mlc_llm chat HF://mlc-ai/Llama-3-70B-Instruct-fp8-MLC
In command line, run
mlc_llm serve HF://mlc-ai/Llama-3-70B-Instruct-fp8-MLC
from mlc_llm import MLCEngine
# Create engine
model = "HF://mlc-ai/Llama-3-70B-Instruct-fp8-MLC"
engine = MLCEngine(model)
# Run chat completion in OpenAI API.
for response in engine.chat.completions.create(
messages=[{"role": "user", "content": "What is the meaning of life?"}],
model=model,
stream=True,
):
for choice in response.choices:
print(choice.delta.content, end="", flush=True)
print("\n")
engine.terminate()
For more information on MLC LLM project, please visit our documentation and GitHub repo.