Downloads · 30 days
9
13% of all-time downloads
JonusNattapong/zombit-thai-gpt-reasoning
zombit-thai-gpt-reasoning is a machine learning model from JonusNattapong. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This is a fine-tuned version of ZombitThai-GPT with enhanced reasoning capabilities. The model has been trained on the Dhanishtha-2.0-SUPERTHINKER dataset to improve its logical reasoning and step-by-step problem-solv…
Downloads · 30 days
9
13% of all-time downloads
All-time downloads
69
Public
Repo size
5.5 GB
Likes
0
Public
Click a slice to open those files.
.pt5.5 GB · 100%
From the Hugging Face model README
This is a fine-tuned version of ZombitThai-GPT with enhanced reasoning capabilities. The model has been trained on the Dhanishtha-2.0-SUPERTHINKER dataset to improve its logical reasoning and step-by-step problem-solving abilities.
{
"vocab_size": 50000,
"d_model": 2048,
"num_heads": 16,
"num_layers": 24,
"d_ff": 8192,
"max_seq_len": 512,
"dropout": 0.1,
"reasoning_enabled": true,
"max_reasoning_steps": 5,
"reasoning_temperature": 0.3,
"confidence_threshold": 0.7
}
import torch
from huggingface_hub import hf_hub_download
import json
# Download model and config
model_path = hf_hub_download(
repo_id="JonusNattapong/zombit-thai-gpt-reasoning",
filename="best_model.pt"
)
config_path = hf_hub_download(
repo_id="JonusNattapong/zombit-thai-gpt-reasoning",
filename="config.json"
)
# Load config
with open(config_path, 'r', encoding='utf-8') as f:
config = json.load(f)
# Load model checkpoint
checkpoint = torch.load(model_path, map_location='cpu')
print(f"Model loaded with {len(checkpoint['model_state_dict'])} parameters")
# Example reasoning prompts
questions = [
"ถ้าฉันมีแอปเปิ้ล 3 ลูก และเพื่อนให้อีก 5 ลูก จะมีทั้งหมดกี่ลูก?",
"น้ำเดือดที่อุณหภูมิเท่าไรที่ระดับน้ำทะเล?",
"1+1 เท่ากับเท่าไร?"
]
def create_reasoning_prompt(question: str) -> str:
return f"คำถาม: {question}\n\nการแก้ปัญหา:\n1. เข้าใจโจทย์\n2. แผนการแก้\n3. การคำนวณ\n4. ตรวจสอบคำตอบ\n\nคำตอบ:"
for question in questions:
prompt = create_reasoning_prompt(question)
print(f"Question: {question}")
print(f"Prompt: {prompt[:100]}...")
# Add your inference code here
This model is provided as-is for research and educational purposes.
For questions or contributions, please contact the repository maintainer.