Instructions to use RantiRepo/Diploy_SFT_V1_2_qwen3_8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use RantiRepo/Diploy_SFT_V1_2_qwen3_8B with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen3-8B") model = PeftModel.from_pretrained(base_model, "RantiRepo/Diploy_SFT_V1_2_qwen3_8B") - Transformers
How to use RantiRepo/Diploy_SFT_V1_2_qwen3_8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="RantiRepo/Diploy_SFT_V1_2_qwen3_8B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("RantiRepo/Diploy_SFT_V1_2_qwen3_8B", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use RantiRepo/Diploy_SFT_V1_2_qwen3_8B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "RantiRepo/Diploy_SFT_V1_2_qwen3_8B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "RantiRepo/Diploy_SFT_V1_2_qwen3_8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/RantiRepo/Diploy_SFT_V1_2_qwen3_8B
- SGLang
How to use RantiRepo/Diploy_SFT_V1_2_qwen3_8B 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 "RantiRepo/Diploy_SFT_V1_2_qwen3_8B" \ --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": "RantiRepo/Diploy_SFT_V1_2_qwen3_8B", "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 "RantiRepo/Diploy_SFT_V1_2_qwen3_8B" \ --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": "RantiRepo/Diploy_SFT_V1_2_qwen3_8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Studio new
How to use RantiRepo/Diploy_SFT_V1_2_qwen3_8B with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for RantiRepo/Diploy_SFT_V1_2_qwen3_8B to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for RantiRepo/Diploy_SFT_V1_2_qwen3_8B to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for RantiRepo/Diploy_SFT_V1_2_qwen3_8B to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="RantiRepo/Diploy_SFT_V1_2_qwen3_8B", max_seq_length=2048, ) - Docker Model Runner
How to use RantiRepo/Diploy_SFT_V1_2_qwen3_8B with Docker Model Runner:
docker model run hf.co/RantiRepo/Diploy_SFT_V1_2_qwen3_8B
Ramadhiana commited on
Upload trainer_state.json with huggingface_hub
Browse files- trainer_state.json +11 -4
trainer_state.json
CHANGED
|
@@ -2,9 +2,9 @@
|
|
| 2 |
"best_global_step": 900,
|
| 3 |
"best_metric": 0.595556914806366,
|
| 4 |
"best_model_checkpoint": "/content/drive/MyDrive/Colab Notebooks/AITF_baseqwen3_8B_V1.2/checkpoint-900",
|
| 5 |
-
"epoch":
|
| 6 |
"eval_steps": 100,
|
| 7 |
-
"global_step":
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
@@ -395,6 +395,13 @@
|
|
| 395 |
"eval_samples_per_second": 10.12,
|
| 396 |
"eval_steps_per_second": 2.532,
|
| 397 |
"step": 900
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 398 |
}
|
| 399 |
],
|
| 400 |
"logging_steps": 20,
|
|
@@ -409,12 +416,12 @@
|
|
| 409 |
"should_evaluate": false,
|
| 410 |
"should_log": false,
|
| 411 |
"should_save": true,
|
| 412 |
-
"should_training_stop":
|
| 413 |
},
|
| 414 |
"attributes": {}
|
| 415 |
}
|
| 416 |
},
|
| 417 |
-
"total_flos": 1.
|
| 418 |
"train_batch_size": 4,
|
| 419 |
"trial_name": null,
|
| 420 |
"trial_params": null
|
|
|
|
| 2 |
"best_global_step": 900,
|
| 3 |
"best_metric": 0.595556914806366,
|
| 4 |
"best_model_checkpoint": "/content/drive/MyDrive/Colab Notebooks/AITF_baseqwen3_8B_V1.2/checkpoint-900",
|
| 5 |
+
"epoch": 1.0,
|
| 6 |
"eval_steps": 100,
|
| 7 |
+
"global_step": 929,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 395 |
"eval_samples_per_second": 10.12,
|
| 396 |
"eval_steps_per_second": 2.532,
|
| 397 |
"step": 900
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"epoch": 0.9904454313013054,
|
| 401 |
+
"grad_norm": 0.34396475553512573,
|
| 402 |
+
"learning_rate": 6.386247842353754e-08,
|
| 403 |
+
"loss": 0.6045,
|
| 404 |
+
"step": 920
|
| 405 |
}
|
| 406 |
],
|
| 407 |
"logging_steps": 20,
|
|
|
|
| 416 |
"should_evaluate": false,
|
| 417 |
"should_log": false,
|
| 418 |
"should_save": true,
|
| 419 |
+
"should_training_stop": true
|
| 420 |
},
|
| 421 |
"attributes": {}
|
| 422 |
}
|
| 423 |
},
|
| 424 |
+
"total_flos": 1.2554944340455096e+18,
|
| 425 |
"train_batch_size": 4,
|
| 426 |
"trial_name": null,
|
| 427 |
"trial_params": null
|