Views
No views yet

| Dataset | Training Subset Size | Full Dataset Size | Domain | License |
|---|---|---|---|---|
| beyoru/ToolCall_synthetic_qwen3 | 60,000 | 60,000 | Tool | Apache-2.0 |
| airesearch/WangchanX-FLAN-v6 | 2,000,000 | 13,619,450 | General | Mixed |
| nvidia/OpenMathInstruct-2 | 1,000,000 | 14,000,000 | STEM | CC-BY-4.0 |
| jdaddyalbs/playwright-mcp-toolcalling | 1,750 | 1,750 | Tool | MIT |
| BitAgent/tool_calling | 551,000 | 551,000 | Tool | MIT |
| Dataset | Training Subset Size | Full Dataset Size | Domain | License |
|---|---|---|---|---|
| nvidia/OpenMathReasoning | 500,000 | 4,920,000 | STEM | CC-BY-4.0 |
| nvidia/OpenCodeReasoning | 585,000 | 585,000 | Coding | CC-BY-4.0 |
| natolambert/GeneralThought-430K-filtered | 337,579 | 337,579 | General | MIT |
| Jofthomas/hermes-function-calling-thinking-V1 | 3,570 | 3,570 | Tool | MIT |
| open-thoughts/OpenThoughts3-1.2M | 1,200,000 | 1,200,000 | STEM | Apache-2.0 |
| scb10x/typhoon-r1-sft-data | 23,851 | 23,851 | General | Custom |
| iapp/Thai-R1-Distill-SFT | 10,000 | 10,000 | General | Custom |
| nvidia/Nemotron-Post-Training-Dataset-v1 | 310,000 | 310,000 | Tool | CC-BY-4.0 |
Note: For selected datasets, curated subsets were employed to ensure balanced domain representation.
transformers and we advise you to use the latest version of transformers.
With transformers<4.51.0, you will encounter the following error:KeyError: 'qwen3'1from transformers import AutoModelForCausalLM, AutoTokenizer
2model_name = "nectec/pathumma-thaillm-8b-think-3.0.0"
3# load the tokenizer and the model
4tokenizer = AutoTokenizer.from_pretrained(model_name)
5model = AutoModelForCausalLM.from_pretrained(
6 model_name,
7 torch_dtype="auto",
8 device_map="auto"
9)
10# prepare the model input
11prompt = "ทำไมวงกลมถึงมี 360 องศา"
12messages = [
13 {"role": "user", "content": prompt}
14]
15text = tokenizer.apply_chat_template(
16 messages,
17 tokenize=False,
18 add_generation_prompt=True,
19)
20model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
21# conduct text completion
22generated_ids = model.generate(
23 **model_inputs,
24 max_new_tokens=32768
25)
26output_ids = generated_ids[0][len(model_inputs.input_ids[0]):].tolist()
27# parsing thinking content
28try:
29 # rindex finding 151668 (</think>)
30 index = len(output_ids) - output_ids[::-1].index(151668)
31except ValueError:
32 index = 0
33thinking_content = tokenizer.decode(output_ids[:index], skip_special_tokens=True).strip("\n")
34content = tokenizer.decode(output_ids[index:], skip_special_tokens=True).strip("\n")
35print("thinking content:", thinking_content) # no opening <think> tag
36print("content:", content)vllm>=0.8.5 to create an OpenAI-compatible API endpoint:1vllm serve nectec/pathumma-thaillm-8b-think-3.0.0 \
2 --enforce-eager \
3 --no-enable-chunked-prefill \
4 --tool-call-parser hermes