CoolFace
Modelpublic

willopcbeta/EZO-gemma-2-2b-jpn-it-q4f32_1-MLC

sourceHugging Faceupdated 10mo agoView on Hugging Face
0likes5downloads
Model Card

Qwen3-4B-multilingual-sft-q4f16_1-MLC

This is the EZO-gemma-2-2b-jpn-it model in MLC format q4f32_1. The model can be used for projects MLC-LLM and WebLLM. WASM: 0.2.79version:https://raw.githubusercontent.com/mlc-ai/binary-mlc-llm-libs/main/web-llm-models/v0248/gemma-2-2b-jpn-it-q4f321-ctx4kcs1k-webgpu.wasm 0.2.80version:https://raw.githubusercontent.com/mlc-ai/binary-mlc-llm-libs/main/web-llm-models/v0280/gemma-2-2b-jpn-it-q4f321-ctx4kcs1k-webgpu.wasm

Example Usage

Here are some examples of using this model in MLC LLM. Before running the examples, please install MLC LLM by following the installation documentation.

Chat

In command line, run

bash
mlc_llm chat HF://willopcbeta/EZO-gemma-2-2b-jpn-it-q4f32_1-MLC

REST Server

In command line, run

bash
mlc_llm serve HF://willopcbeta/EZO-gemma-2-2b-jpn-it-q4f32_1-MLC

Python API

python
from mlc_llm import MLCEngine

# Create engine
model = "HF://willopcbeta/EZO-gemma-2-2b-jpn-it-q4f32_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()

Documentation

For more information on MLC LLM project, please visit our documentation and GitHub repo.