Text Generation
Transformers
Safetensors
English
Chinese
deep-research
qwen3
sft
rl
agent
web-search
Instructions to use qzdc/QREF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use qzdc/QREF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="qzdc/QREF")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("qzdc/QREF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use qzdc/QREF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "qzdc/QREF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "qzdc/QREF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/qzdc/QREF
- SGLang
How to use qzdc/QREF 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 "qzdc/QREF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "qzdc/QREF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "qzdc/QREF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "qzdc/QREF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use qzdc/QREF with Docker Model Runner:
docker model run hf.co/qzdc/QREF
Reorganize: move SFT model files into SFT/ subfolder
Browse files- added_tokens.json β SFT/added_tokens.json +0 -0
- chat_template.jinja β SFT/chat_template.jinja +0 -0
- config.json β SFT/config.json +0 -0
- generation_config.json β SFT/generation_config.json +0 -0
- merges.txt β SFT/merges.txt +0 -0
- model-00001-of-00004.safetensors β SFT/model-00001-of-00004.safetensors +0 -0
- model-00002-of-00004.safetensors β SFT/model-00002-of-00004.safetensors +0 -0
- model-00003-of-00004.safetensors β SFT/model-00003-of-00004.safetensors +0 -0
- model-00004-of-00004.safetensors β SFT/model-00004-of-00004.safetensors +0 -0
- model.safetensors.index.json β SFT/model.safetensors.index.json +0 -0
- special_tokens_map.json β SFT/special_tokens_map.json +0 -0
- tokenizer.json β SFT/tokenizer.json +0 -0
- tokenizer_config.json β SFT/tokenizer_config.json +0 -0
- vocab.json β SFT/vocab.json +0 -0
added_tokens.json β SFT/added_tokens.json
RENAMED
|
File without changes
|
chat_template.jinja β SFT/chat_template.jinja
RENAMED
|
File without changes
|
config.json β SFT/config.json
RENAMED
|
File without changes
|
generation_config.json β SFT/generation_config.json
RENAMED
|
File without changes
|
merges.txt β SFT/merges.txt
RENAMED
|
File without changes
|
model-00001-of-00004.safetensors β SFT/model-00001-of-00004.safetensors
RENAMED
|
File without changes
|
model-00002-of-00004.safetensors β SFT/model-00002-of-00004.safetensors
RENAMED
|
File without changes
|
model-00003-of-00004.safetensors β SFT/model-00003-of-00004.safetensors
RENAMED
|
File without changes
|
model-00004-of-00004.safetensors β SFT/model-00004-of-00004.safetensors
RENAMED
|
File without changes
|
model.safetensors.index.json β SFT/model.safetensors.index.json
RENAMED
|
File without changes
|
special_tokens_map.json β SFT/special_tokens_map.json
RENAMED
|
File without changes
|
tokenizer.json β SFT/tokenizer.json
RENAMED
|
File without changes
|
tokenizer_config.json β SFT/tokenizer_config.json
RENAMED
|
File without changes
|
vocab.json β SFT/vocab.json
RENAMED
|
File without changes
|