Text Generation
Transformers
Safetensors
Chinese
English
yunmo_next
traditional-chinese
kimi-delta-attention
research
torchao
int8
conversational
custom_code
8-bit precision
Run this model with HF Jobs
Run yuhuanstudio/Yunmo-Next-1B-Instruct-INT8 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/yuhuanstudio/Yunmo-Next-1B-Instruct-INT8. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/yuhuanstudio/Yunmo-Next-1B-Instruct-INT8 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/yuhuanstudio/Yunmo-Next-1B-Instruct-INT8. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use yuhuanstudio/Yunmo-Next-1B-Instruct-INT8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yuhuanstudio/Yunmo-Next-1B-Instruct-INT8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="yuhuanstudio/Yunmo-Next-1B-Instruct-INT8", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("yuhuanstudio/Yunmo-Next-1B-Instruct-INT8", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use yuhuanstudio/Yunmo-Next-1B-Instruct-INT8 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "yuhuanstudio/Yunmo-Next-1B-Instruct-INT8" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "yuhuanstudio/Yunmo-Next-1B-Instruct-INT8", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/yuhuanstudio/Yunmo-Next-1B-Instruct-INT8
- SGLang
How to use yuhuanstudio/Yunmo-Next-1B-Instruct-INT8 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "yuhuanstudio/Yunmo-Next-1B-Instruct-INT8" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "yuhuanstudio/Yunmo-Next-1B-Instruct-INT8", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "yuhuanstudio/Yunmo-Next-1B-Instruct-INT8" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "yuhuanstudio/Yunmo-Next-1B-Instruct-INT8", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use yuhuanstudio/Yunmo-Next-1B-Instruct-INT8 with Docker Model Runner:
docker model run hf.co/yuhuanstudio/Yunmo-Next-1B-Instruct-INT8
Download quantization-report.json from yuhuanstudio/Yunmo-Next-1B-Instruct-INT8: direct link, hf CLI and curl.
- Browser
- Download file 1.5 kB
-
https://huggingface.co/yuhuanstudio/Yunmo-Next-1B-Instruct-INT8/resolve/main/quantization-report.json
- Command line
-
hf download hf://yuhuanstudio/Yunmo-Next-1B-Instruct-INT8/quantization-report.json
-
curl -L -o quantization-report.json https://huggingface.co/yuhuanstudio/Yunmo-Next-1B-Instruct-INT8/resolve/main/quantization-report.json
1.5 kB
| { | |
| "source": "yuhuanstudio/Yunmo-Next-1B-Instruct", | |
| "source_revision": "9b7a63c54048d7a9e809a48e116492af23dda3de", | |
| "scheme_name": "int8", | |
| "bits": 8, | |
| "scheme": "torchao int8 weight-only, per-channel", | |
| "quantized_linear_modules": 600, | |
| "linear_modules": 645, | |
| "safetensors_bytes": 1081208110, | |
| "files": [ | |
| "LICENSE", | |
| "attention.py", | |
| "attn_res.py", | |
| "bin/yunmo-next", | |
| "code/yunmo_next/__init__.py", | |
| "code/yunmo_next/attention.py", | |
| "code/yunmo_next/attn_res.py", | |
| "code/yunmo_next/chat.py", | |
| "code/yunmo_next/config.py", | |
| "code/yunmo_next/generation.py", | |
| "code/yunmo_next/inference.py", | |
| "code/yunmo_next/kda_runtime.py", | |
| "code/yunmo_next/model.py", | |
| "code/yunmo_next/packed.py", | |
| "code/yunmo_next/protocol.py", | |
| "code/yunmo_next/protocol_tokens.py", | |
| "code/yunmo_next/reference_recurrent.py", | |
| "code/yunmo_next/release.py", | |
| "code/yunmo_next/static_decode.py", | |
| "code/yunmo_next/training_engine.py", | |
| "config.json", | |
| "config.py", | |
| "configuration_yunmo_next.py", | |
| "generation_config.json", | |
| "kda_runtime.py", | |
| "kda_serial.py", | |
| "model.py", | |
| "model.safetensors", | |
| "modeling_yunmo_next.py", | |
| "packed.py", | |
| "protocol.py", | |
| "protocol_tokens.py", | |
| "reference_recurrent.py", | |
| "static_decode.py", | |
| "tokenizer.json", | |
| "tokenizer/protocol_abi_v2.json", | |
| "tokenizer/tokenizer.json", | |
| "tokenizer/tokenizer_config.json", | |
| "tokenizer_config.json", | |
| "training_engine.py" | |
| ] | |
| } | |