Instructions to use QyrouNnet-AI/qyrou-vega-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QyrouNnet-AI/qyrou-vega-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="QyrouNnet-AI/qyrou-vega-base") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("QyrouNnet-AI/qyrou-vega-base") model = AutoModelForCausalLM.from_pretrained("QyrouNnet-AI/qyrou-vega-base", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use QyrouNnet-AI/qyrou-vega-base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "QyrouNnet-AI/qyrou-vega-base" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "QyrouNnet-AI/qyrou-vega-base", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/QyrouNnet-AI/qyrou-vega-base
- SGLang
How to use QyrouNnet-AI/qyrou-vega-base 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 "QyrouNnet-AI/qyrou-vega-base" \ --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": "QyrouNnet-AI/qyrou-vega-base", "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 "QyrouNnet-AI/qyrou-vega-base" \ --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": "QyrouNnet-AI/qyrou-vega-base", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use QyrouNnet-AI/qyrou-vega-base with Docker Model Runner:
docker model run hf.co/QyrouNnet-AI/qyrou-vega-base
Qyrou-Vega Base (60M)
This is the stage-1 base checkpoint from QyrouNnet-AI/qyrou-vega, repackaged as a standard Hugging Face Qwen3ForCausalLM model. The weights come from checkpoints/final_step_521000/model.safetensors in the source repository. The tokenizer comes from the same checkpoint directory. No fine-tuning or weight optimization was performed during conversion.
The original architecture uses Qwen3-style RMSNorm, rotary positions, QK normalization, grouped query attention, and SwiGLU. Its tensor names were mapped to the native Qwen3 module names, and the tied output head shares the original embedding weights. This package has 60,375,296 parameters, a 32,768-token vocabulary, and a 4,096-token context window.
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "QyrouNnet-AI/qyrou-vega-base"
tokenizer = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo)
This is a base completion model, not an instruction-tuned chat model. The tokenizer retains the source checkpoint's chat template for compatibility, but chat quality should not be expected from these base weights.
Conversion verification
The converted native Qwen3 model and an independent implementation of the source checkpoint's forward pass produced identical logits on a sample sequence in float32 (max absolute difference: 0). The package was saved and reloaded with AutoModelForCausalLM, and tokenizer output was checked after reload.
For the original training history, data sources, limitations, and license notes, see the source model card.
- Downloads last month
- 166
Model tree for QyrouNnet-AI/qyrou-vega-base
Base model
QyrouNnet-AI/qyrou-vega