Text Generation
Transformers
TensorBoard
Safetensors
English
qwen3
text-generation-inference
unsloth
dna
str
kinship-analysis
conversational
Instructions to use haninmb/train_qewn3_final with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use haninmb/train_qewn3_final with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="haninmb/train_qewn3_final") 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("haninmb/train_qewn3_final") model = AutoModelForCausalLM.from_pretrained("haninmb/train_qewn3_final", 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]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use haninmb/train_qewn3_final with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "haninmb/train_qewn3_final" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "haninmb/train_qewn3_final", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/haninmb/train_qewn3_final
- SGLang
How to use haninmb/train_qewn3_final 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 "haninmb/train_qewn3_final" \ --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": "haninmb/train_qewn3_final", "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 "haninmb/train_qewn3_final" \ --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": "haninmb/train_qewn3_final", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use haninmb/train_qewn3_final with Docker Model Runner:
docker model run hf.co/haninmb/train_qewn3_final
Commit History
2 days ago
-
Update README with training details
Verified signatureb5eb6d7 -
Add training code
Verified signature6b4e884 -
Add TensorBoard training logs
Verified signature7d150b3 -
(Trained with Unsloth)
Verified signature4949d26 -
(Trained with Unsloth)
Verified signature6b4f95c -
(Trained with Unsloth)
Verified signatured2734d2 -
(Trained with Unsloth)
Verified signaturecc3789c -
(Trained with Unsloth)
Verified signaturea50ef8d -
(Trained with Unsloth)
Verified signature06e0910 -
(Trained with Unsloth)
Verified signature1d5d6db -
Unsloth Model Card
Verified signaturef8aedeb
-
(Trained with Unsloth)
Verified signature29a7f63 -
(Trained with Unsloth)
Verified signature7a54269 -
(Trained with Unsloth)
Verified signature9e2df18 -
(Trained with Unsloth)
Verified signature3d69d6f -
(Trained with Unsloth)
Verified signature7502fb2 -
(Trained with Unsloth)
Verified signature1112e4e -
(Trained with Unsloth)
Verified signaturea926ee7 -
(Trained with Unsloth)
Verified signature8e52f25 -
Unsloth Model Card
Verified signature6deebdf -
initial commit
Verified signaturef0ac793