Text Generation
Transformers
Safetensors
qwen3
trl
sft
Generated from Trainer
conversational
text-generation-inference
Instructions to use Hulyyy/qwen-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hulyyy/qwen-test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Hulyyy/qwen-test") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Hulyyy/qwen-test") model = AutoModelForCausalLM.from_pretrained("Hulyyy/qwen-test", 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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Hulyyy/qwen-test with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Hulyyy/qwen-test" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Hulyyy/qwen-test", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Hulyyy/qwen-test
- SGLang
How to use Hulyyy/qwen-test 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 "Hulyyy/qwen-test" \ --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": "Hulyyy/qwen-test", "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 "Hulyyy/qwen-test" \ --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": "Hulyyy/qwen-test", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Hulyyy/qwen-test with Docker Model Runner:
docker model run hf.co/Hulyyy/qwen-test
Commit History
-
Model save
Verified signature3bc4818 -
Training in progress, step 15700
Verified signaturec5a9c6b -
Training in progress, step 14600
Verified signature560c583 -
Training in progress, step 13300
Verified signature64225f6 -
Training in progress, step 11600
Verified signature748be29 -
Training in progress, step 10000
Verified signature6662ae4 -
Training in progress, step 8200
Verified signature5380c54 -
Training in progress, step 6000
Verified signature3761a47 -
Training in progress, step 3800
Verified signatureb4d70a0 -
Training in progress, step 1600
Verified signatureae7d558 -
Training in progress, step 100
Verified signature4474761 -
Model save
Verified signature909d2ea -
Training in progress, step 15700
Verified signature5415dc3 -
Training in progress, step 11900
Verified signature058334f -
Training in progress, step 8700
Verified signatured053277 -
Training in progress, step 6200
Verified signatureef886cc -
Training in progress, step 4200
Verified signature14d81e9 -
Training in progress, step 2300
Verified signaturef545937 -
Training in progress, step 100
Verified signature8340cdb
-
Training in progress, step 200
Verified signaturea9d2d09 -
Training in progress, step 100
Verified signature546fc4c
-
Model save
Verified signaturea5693f5 -
Training in progress, step 800
Verified signaturebcd0bf4 -
Training in progress, step 400
Verified signature32ab26e -
Training in progress, step 100
Verified signaturea45fbfb -
Model save
Verified signatureae89921 -
Training in progress, step 800
Verified signaturecb47952 -
Training in progress, step 400
Verified signaturea11ca93 -
Training in progress, step 100
Verified signaturefc0573f -
initial commit
Verified signature2725ec3