Text Generation
Transformers
Safetensors
qwen3
Generated from Trainer
unsloth
trl
sft
conversational
text-generation-inference
Instructions to use SaminSkyfall/sft_unsloth with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SaminSkyfall/sft_unsloth with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="SaminSkyfall/sft_unsloth") 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("SaminSkyfall/sft_unsloth") model = AutoModelForCausalLM.from_pretrained("SaminSkyfall/sft_unsloth", 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 SaminSkyfall/sft_unsloth with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SaminSkyfall/sft_unsloth" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SaminSkyfall/sft_unsloth", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/SaminSkyfall/sft_unsloth
- SGLang
How to use SaminSkyfall/sft_unsloth 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 "SaminSkyfall/sft_unsloth" \ --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": "SaminSkyfall/sft_unsloth", "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 "SaminSkyfall/sft_unsloth" \ --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": "SaminSkyfall/sft_unsloth", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use SaminSkyfall/sft_unsloth with Docker Model Runner:
docker model run hf.co/SaminSkyfall/sft_unsloth
Commit History
-
Trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster1cf5449 -
Model save
Verified signaturecfd2441 -
Training in progress, step 400
Verified signature56e2e29 -
Training in progress, step 300
Verified signaturef11deeb -
Training in progress, step 200
Verified signaturee375199 -
Training in progress, step 100
Verified signature2db6dcb
-
Trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster9343cf9 -
Model save
Verified signature58ccc92 -
Training in progress, step 1686
Verified signature7849e06 -
Training in progress, step 1600
Verified signaturef99a1b7 -
Training in progress, step 1500
Verified signature54f45cd -
Training in progress, step 1400
Verified signatureb47c290 -
Training in progress, step 1300
Verified signature0ea196f -
Training in progress, step 1200
Verified signature87533f0 -
Training in progress, step 1100
Verified signaturea5e638a -
Training in progress, step 1000
Verified signaturedd91bf4 -
Training in progress, step 900
Verified signaturef9de1e9 -
Training in progress, step 800
Verified signaturef8be2c1 -
Training in progress, step 700
Verified signature7bbfa81 -
Training in progress, step 600
Verified signatureaeb2821 -
Training in progress, step 500
Verified signature8d90467 -
Training in progress, step 400
Verified signature83e6c0d -
Training in progress, step 300
Verified signature1707884 -
Training in progress, step 200
Verified signature831b173 -
Training in progress, step 100
Verified signaturee4ec49d -
initial commit
Verified signatured6fdaf4