Downloads · 30 days
4
4% of all-time downloads
willopcbeta/Llama-Breeze2-3B-Instruct-Text-q4f16_1-MLC
Llama-Breeze2-3B-Instruct-Text-q4f16_1-MLC is a machine learning model from willopcbeta. 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-Breeze2-3B-Instruct-Text model in MLC format q4f161. The model can be used for projects MLC-LLM and WebLLM. Thank you PenutChen for separating and merging the Breeze2 original model.
Downloads · 30 days
4
4% of all-time downloads
All-time downloads
102
Public
Repo size
1.8 GB
Likes
0
Public
Click a slice to open those files.
.bin2 GB · 100%
From the Hugging Face model README
This is the Llama-Breeze2-3B-Instruct-Text model in MLC format q4f16_1.
The model can be used for projects MLC-LLM and WebLLM.
Thank you PenutChen for separating and merging the Breeze2 original model.
感謝PenutChen 把Breeze2原始模型分離並合併。
WASM:
0.2.79_version:https://raw.githubusercontent.com/mlc-ai/binary-mlc-llm-libs/main/web-llm-models/v0_2_48/Llama-3.2-3B-Instruct-q4f16_1-ctx4k_cs1k-webgpu.wasm
0.8.80_version:https://raw.githubusercontent.com/mlc-ai/binary-mlc-llm-libs/main/web-llm-models/v0_2_80/Llama-3.2-3B-Instruct-q4f16_1-ctx4k_cs1k-webgpu.wasm
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://willopcbeta/Llama-Breeze2-3B-Instruct-Text-q4f16_1-MLC
In command line, run
mlc_llm serve HF://willopcbeta/Llama-Breeze2-3B-Instruct-Text-q4f16_1-MLC
from mlc_llm import MLCEngine
# Create engine
model = "HF://willopcbeta/Llama-Breeze2-3B-Instruct-Text-q4f16_1-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.