Text Generation
Transformers
Safetensors
Thai
llm
thai
mathematics
reasoning
lora
grpo
conversational
Instructions to use zoeythanayot/gemma3-it-grpo-thai with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zoeythanayot/gemma3-it-grpo-thai with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="zoeythanayot/gemma3-it-grpo-thai") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zoeythanayot/gemma3-it-grpo-thai", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use zoeythanayot/gemma3-it-grpo-thai with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "zoeythanayot/gemma3-it-grpo-thai" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "zoeythanayot/gemma3-it-grpo-thai", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/zoeythanayot/gemma3-it-grpo-thai
- SGLang
How to use zoeythanayot/gemma3-it-grpo-thai 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 "zoeythanayot/gemma3-it-grpo-thai" \ --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": "zoeythanayot/gemma3-it-grpo-thai", "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 "zoeythanayot/gemma3-it-grpo-thai" \ --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": "zoeythanayot/gemma3-it-grpo-thai", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use zoeythanayot/gemma3-it-grpo-thai with Docker Model Runner:
docker model run hf.co/zoeythanayot/gemma3-it-grpo-thai
Update README.md
Browse files
README.md
CHANGED
|
@@ -82,10 +82,9 @@ Below are the reward values observed during training:
|
|
| 82 |
| 200 | 0.0040 |
|
| 83 |
| 280 | 0.0042 |
|
| 84 |
|
| 85 |
-
- Reward มีแนวโน้ม
|
| 86 |
-
- ค่า
|
| 87 |
-
- แนวโน้มชี้ว่าโมเดลกำลัง
|
| 88 |
-
|
| 89 |
---
|
| 90 |
|
| 91 |
## How to Use
|
|
|
|
| 82 |
| 200 | 0.0040 |
|
| 83 |
| 280 | 0.0042 |
|
| 84 |
|
| 85 |
+
- ค่า Reward มีแนวโน้มเพิ่มขึ้นอย่างต่อเนื่องในช่วงแรกของการเทรน (Step 100 → 200 → 280)
|
| 86 |
+
- ค่าที่ได้ (≈0.0030 → 0.0040 → 0.0042) แสดงถึงการปรับตัวของโมเดลให้สอดคล้องกับ reward function
|
| 87 |
+
- แนวโน้มบ่งชี้ว่าโมเดลกำลังเข้าใกล้ ภาวะเสถียร (convergence) แต่ยังไม่ถึง plateau; หากเทรนต่อไป คาดว่าค่า Reward จะคงที่ในระดับสูงขึ้น (≈0.0048–0.0050)
|
|
|
|
| 88 |
---
|
| 89 |
|
| 90 |
## How to Use
|