Instructions to use mo22zy/LLM-fineTune-LLaMAFactory-UnSloth with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mo22zy/LLM-fineTune-LLaMAFactory-UnSloth with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen2.5-0.5B-Instruct") model = PeftModel.from_pretrained(base_model, "mo22zy/LLM-fineTune-LLaMAFactory-UnSloth") - Transformers
How to use mo22zy/LLM-fineTune-LLaMAFactory-UnSloth with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="mo22zy/LLM-fineTune-LLaMAFactory-UnSloth") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mo22zy/LLM-fineTune-LLaMAFactory-UnSloth", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use mo22zy/LLM-fineTune-LLaMAFactory-UnSloth with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "mo22zy/LLM-fineTune-LLaMAFactory-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": "mo22zy/LLM-fineTune-LLaMAFactory-UnSloth", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/mo22zy/LLM-fineTune-LLaMAFactory-UnSloth
- SGLang
How to use mo22zy/LLM-fineTune-LLaMAFactory-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 "mo22zy/LLM-fineTune-LLaMAFactory-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": "mo22zy/LLM-fineTune-LLaMAFactory-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 "mo22zy/LLM-fineTune-LLaMAFactory-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": "mo22zy/LLM-fineTune-LLaMAFactory-UnSloth", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use mo22zy/LLM-fineTune-LLaMAFactory-UnSloth with Docker Model Runner:
docker model run hf.co/mo22zy/LLM-fineTune-LLaMAFactory-UnSloth
Commit History
-
End of training
Verified signaturee6c0313 -
Model save
Verified signaturedc2a422 -
Training in progress, step 1926
Verified signaturef942137 -
Training in progress, step 1900
Verified signaturedd38ed1 -
Training in progress, step 1850
Verified signature6ed4d07 -
Training in progress, step 1800
Verified signature79337ae -
Training in progress, step 1750
Verified signature9858144 -
Training in progress, step 1700
Verified signature325096a -
Training in progress, step 1650
Verified signatureecc6665 -
Training in progress, step 1600
Verified signature2b028c6 -
Training in progress, step 1550
Verified signature1122dba -
Training in progress, step 1500
Verified signature77c0cb8 -
Training in progress, step 1450
Verified signatureb895093 -
Training in progress, step 1400
Verified signatureb945ab0 -
Training in progress, step 1350
Verified signaturea6ee26e -
Training in progress, step 1300
Verified signaturefbca604 -
Training in progress, step 1250
Verified signature573125c -
Training in progress, step 1200
Verified signaturebf8bad8 -
Training in progress, step 1150
Verified signature218facd -
Training in progress, step 1100
Verified signature7dc822d -
Training in progress, step 1050
Verified signature3596cc9 -
Training in progress, step 1000
Verified signature9d18ed1 -
Training in progress, step 950
Verified signatured33078b -
Training in progress, step 900
Verified signaturee275522 -
Training in progress, step 850
Verified signature80ed9a8 -
Training in progress, step 800
Verified signature0fe1aa2 -
Training in progress, step 750
Verified signature7c17fe9 -
Training in progress, step 700
Verified signature06d1937 -
Training in progress, step 650
Verified signature4c8adac -
Training in progress, step 600
Verified signaturebe5fbb8 -
Training in progress, step 550
Verified signature35f1c10 -
Training in progress, step 500
Verified signature3ee8c23 -
Training in progress, step 450
Verified signature688fce6 -
Training in progress, step 400
Verified signature30ef2c3 -
Training in progress, step 350
Verified signature607c31c -
Training in progress, step 300
Verified signature3c056e9 -
Training in progress, step 250
Verified signaturedc32bac -
Training in progress, step 200
Verified signature0e9c32a -
Training in progress, step 150
Verified signature5e89210 -
Training in progress, step 100
Verified signatureced5276 -
Training in progress, step 50
Verified signature57494ef -
initial commit
Verified signature6ef1169