SakThai Models
Collection
SakThai personal-agent model family: coder, embeddings, base context + persona LoRA. • 9 items • Updated
tools listlengths 1 8 | messages listlengths 3 3 |
|---|---|
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "get_daily_quote",
"description": "Get a new daily quote",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, I could use some motivation today. Can you share a quote?"
},
{
"role": "assistant",
"content":... |
[
{
"type": "function",
"function": {
"name": "generate_quote_of_the_day",
"description": "Generate a random quote of the day",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, I need some motivation. Can you give me a quote of the day?"
},
{
"role": "assistant",
"content... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "get_time",
"description": "Get the current time",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hello, can you tell me what time it is now?"
},
{
"role": "assistant",
"content": "",
"tool_cal... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "get_random_joke",
"description": "Get a random joke",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, I am feeling a bit low. Can you tell me a joke to cheer me up?"
},
{
"role": "assistant",
"cont... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "get_random_quote",
"description": "Get a random quote",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, can you help me with something?"
},
{
"role": "assistant",
"content": "",
"tool_calls": [
... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "get_news",
"description": "Get the latest news headlines",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, can you tell me what's the latest news?"
},
{
"role": "assistant",
"content": "",
"tool_cal... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "get_sports_scores",
"description": "Get the latest sports scores",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hey, can you tell me the latest sports scores?"
},
{
"role": "assistant",
"content": "",
"tool_... |
[
{
"type": "function",
"function": {
"name": "generate_random_color",
"description": "Generate a random color",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, can you help me with something?"
},
{
"role": "assistant",
"content": "",
"tool_calls": [
... |
[
{
"type": "function",
"function": {
"name": "generate_random_fact",
"description": "Generate a random fact",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I'm bored. Can you tell me something interesting?"
},
{
"role": "assistant",
"content": "",
"to... |
[
{
"type": "function",
"function": {
"name": "generate_random_color",
"description": "Generate a random color",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hey, I need a random color for my art project. Can you help?"
},
{
"role": "assistant",
"content": ... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "get_random_fact",
"description": "Get a random interesting fact",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, can you tell me an interesting fact?"
},
{
"role": "assistant",
"content": "",
"tool_calls"... |
[
{
"type": "function",
"function": {
"name": "generate_random_quote",
"description": "Generate a random quote",
"parameters": {
"type": "object",
"properties": {},
"required": []
}
}
},
{
"type": "function",
"function": {
"name": "calculat... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I need some inspiration. Can you give me a quote?"
},
{
"role": "assistant",
"content": "",
"to... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "generate_random_name",
"description": "Generate a random name",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, can you help me come up with a random name?"
},
{
"role": "assistant",
"content": "",
"tool... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "get_random_fact",
"description": "Get a random fact",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hey, I'm feeling a bit bored. Can you tell me something interesting?"
},
{
"role": "assistant",
"co... |
[
{
"type": "function",
"function": {
"name": "generate_license_key",
"description": "Generate a unique license key",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, I need a new license key for my software."
},
{
"role": "assistant",
"content": "",
"tool_c... |
[
{
"type": "function",
"function": {
"name": "get_random_recipe",
"description": "Get a random recipe",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, I'm looking for a new recipe to try out. Can you help me with that?"
},
{
"role": "assistant",
... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "generate_random_word",
"description": "Generate a random word",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I need a random word for a game I'm playing. Can you help?"
},
{
"role": "assistant",
"content": ""... |
[
{
"type": "function",
"function": {
"name": "get_news_headlines",
"description": "Get the latest news headlines",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, can you tell me the latest news headlines?"
},
{
"role": "assistant",
"content": "",
"tool_... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "get_random_quote",
"description": "Get a random quote",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I need some inspiration. Can you share a quote?"
},
{
"role": "assistant",
"content": "",
"tool... |
[
{
"type": "function",
"function": {
"name": "calculate_mortgage_payment",
"description": "Calculate the monthly mortgage payment",
"parameters": {
"type": "object",
"properties": {
"loan_amount": {
"type": "number",
"description": "The loan... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, I need some help with my mortgage calculations."
},
{
"role": "assistant",
"content": "",
"... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "generate_random_color",
"description": "Generate a random color code",
"parameters": {}
}
},
{
"type": "function",
"function": {
"name": "generate_random_password",
"description": "Generate a random password",
"... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hey, I need a random color for my design project. Can you help?"
},
{
"role": "assistant",
"content... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "generate_uuid",
"description": "Generate a Universally Unique Identifier (UUID)",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, can you help me with something?"
},
{
"role": "assistant",
"content": "",
"tool_calls": [
... |
[
{
"type": "function",
"function": {
"name": "generate_uuid",
"description": "Generate a universally unique identifier (UUID)",
"parameters": {}
}
},
{
"type": "function",
"function": {
"name": "convert_currency",
"description": "Convert currency from one type to... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, I need a new UUID for my project."
},
{
"role": "assistant",
"content": "",
"tool_calls": [... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "get_random_fact",
"description": "Get a random fact",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, I'm feeling a bit bored. Can you tell me something interesting?"
},
{
"role": "assistant",
"con... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "get_random_quote",
"description": "Get a random quote",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, can you provide me with a random quote?"
},
{
"role": "assistant",
"content": "",
"tool_cal... |
[
{
"type": "function",
"function": {
"name": "generate_unique_id",
"description": "Generate a unique identifier",
"parameters": {}
}
},
{
"type": "function",
"function": {
"name": "calculate_age",
"description": "Calculate the age given the birthdate",
"par... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, I need a unique ID for my new project."
},
{
"role": "assistant",
"content": "",
"tool_call... |
[
{
"type": "function",
"function": {
"name": "get_random_quote",
"description": "Get a random quote",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, I need some motivation. Can you share a quote?"
},
{
"role": "assistant",
"content": "",
"t... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "generate_random_quote",
"description": "Generate a random quote",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I need some motivation. Can you give me a quote?"
},
{
"role": "assistant",
"content": "",
"too... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "generate_random_name",
"description": "Generate a random name",
"parameters": {}
}
},
{
"type": "function",
"function": {
"name": "calculate_tip",
"description": "Calculate the tip amount for a given bill",
"par... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I need a random name for my new character in the novel I'm writing. Can you help?"
},
{
"role": "assist... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "analyze_sentiment",
"description": "Analyze the sentiment of a given text",
"parameters": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The text to be analyzed"
... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hey, I just wrote a poem and I'm not sure about the overall sentiment. Can you analyze it for me?"
},
{
... |
[
{
"type": "function",
"function": {
"name": "get_random_fact",
"description": "Get a random fact from a predefined list",
"parameters": {
"type": "object",
"properties": {}
}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, can you tell me a random fact?"
},
{
"role": "assistant",
"content": "",
"tool_calls": [
... |
[
{
"type": "function",
"function": {
"name": "get_sudoku_solution",
"description": "Get the solution for a given Sudoku puzzle",
"parameters": {
"type": "object",
"properties": {
"puzzle": {
"type": "array",
"items": {
"type": ... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, I'm stuck on a Sudoku puzzle. Can you help me solve it?"
},
{
"role": "assistant",
"content": "... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "get_random_fact",
"description": "Get a random fact",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hey, I'm feeling a bit bored. Can you tell me a random fact?"
},
{
"role": "assistant",
"content": ... |
[
{
"type": "function",
"function": {
"name": "generate_random_quote",
"description": "Generate a random quote",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, I need some motivation. Can you share a random quote?"
},
{
"role": "assistant",
"content": "",... |
[
{
"type": "function",
"function": {
"name": "get_sports_scores",
"description": "Get the latest sports scores",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, can you tell me the latest sports scores?"
},
{
"role": "assistant",
"content": "",
"tool_c... |
[
{
"type": "function",
"function": {
"name": "get_news_headlines",
"description": "Get the latest news headlines",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, can you update me with the latest news headlines?"
},
{
"role": "assistant",
"content": "",
... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "get_random_joke",
"description": "Get a random joke",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I'm feeling a bit down. Can you tell me a joke to cheer me up?"
},
{
"role": "assistant",
"content"... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "generate_random_color",
"description": "Generate a random color code",
"parameters": {
"type": "object",
"properties": {},
"required": []
}
}
},
{
"type": "function",
"function": {
"name": "che... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I need a random color for my website's background. Can you help?"
},
{
"role": "assistant",
"conten... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "get_random_quote",
"description": "Get a random quote",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I'm feeling a bit down. Can you share a motivational quote to cheer me up?"
},
{
"role": "assistant",
... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "generate_random_quote",
"description": "Generate a random quote from a collection of quotes",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I need some inspiration. Can you share a quote with me?"
},
{
"role": "assistant",
"content": "",
... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "get_news",
"description": "Get the latest news",
"parameters": {
"type": "object",
"properties": {}
}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, can you get me the latest news?"
},
{
"role": "assistant",
"content": "",
"tool_calls": [
... |
[
{
"type": "function",
"function": {
"name": "generate_random_color",
"description": "Generate a random color in hexadecimal format",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, I'm working on a design project and I need some inspiration. Can you generate a random color for me?"
},
... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "generate_random_quote",
"description": "Generate a random quote",
"parameters": {}
}
},
{
"type": "function",
"function": {
"name": "create_reminder",
"description": "Create a reminder for a specific date and time",
... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I need some motivation. Can you share a quote?"
},
{
"role": "assistant",
"content": "",
"tool_... |
[
{
"type": "function",
"function": {
"name": "generate_random_quote",
"description": "Generate a random quote from a predefined list",
"parameters": {
"type": "object",
"properties": {}
}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, I need some inspiration. Can you give me a quote?"
},
{
"role": "assistant",
"content": "",
... |
[
{
"type": "function",
"function": {
"name": "get_random_quote",
"description": "Get a random quote",
"parameters": {}
}
},
{
"type": "function",
"function": {
"name": "get_stock_price",
"description": "Get the current stock price",
"parameters": {
... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I need some inspiration. Can you give me a quote?"
},
{
"role": "assistant",
"content": "",
"to... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "get_news_headlines",
"description": "Get the latest news headlines",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, can you tell me what's in the news today?"
},
{
"role": "assistant",
"content": "",
"tool_c... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "generate_random_name",
"description": "Generate a random name",
"parameters": {}
}
},
{
"type": "function",
"function": {
"name": "send_email",
"description": "Send an email to a recipient",
"parameters": {
... | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I need a random name for a character in my story. Can you help?"
},
{
"role": "assistant",
"content... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "generate_random_color",
"description": "Generate a random color",
"parameters": {
"type": "object",
"properties": {},
"required": []
}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I'm working on a design project and I need some inspiration. Can you generate a random color for me?"
},
{
... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "get_current_time",
"description": "Get the current time",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "What's the current time?"
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
... |
[
{
"type": "function",
"function": {
"name": "get_random_quote",
"description": "Get a random inspirational quote",
"parameters": {}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "Hi, I need some motivation. Can you help?"
},
{
"role": "assistant",
"content": "",
"tool_calls... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact about the user into persistent SakThai memory.",
"parameters": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The fact text."... | [
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropr... |
[
{
"type": "function",
"function": {
"name": "generate_random_color",
"description": "Generate a random color",
"parameters": {
"type": "object",
"properties": {},
"required": []
}
}
}
] | [
{
"role": "system",
"content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."
},
{
"role": "user",
"content": "I'm working on a design project and I need some inspiration. Can you suggest a random color for me?"
},
{
... |
Supervised fine-tuning data for teaching a small LLM (Qwen2.5-0.5B family) to call SakThai-Agent's tools, plus general function-calling competence.
Each row is a single-turn example in OpenAI/Qwen messages + tools format. Render for training with tokenizer.apply_chat_template(messages, tools=tools, ...).
| Source | Rows | Notes |
|---|---|---|
| Synthetic (SakThai) | ~83 | All 8 BUILTIN_TOOLS (learn, recall, search, forget, read_file, run_command, send_telegram_message, run_agent_loop) + 6 no-tool negatives. |
| Public (glaive) | ~159 | First tool-call turn from glaiveai/glaive-function-calling-v2, reformatted. |
Deduplicated by (user message, tool name) -> 167 unique (151 train / 16 test).
from datasets import load_dataset
from transformers import AutoModelForCausalLM, AutoTokenizer
from trl import SFTConfig, SFTTrainer
ds = load_dataset("Nanthasit/sakthai-toolcalling-v1", split="train")
base = "Qwen/Qwen2.5-0.5B-Instruct"
tok = AutoTokenizer.from_pretrained(base)
model = AutoModelForCausalLM.from_pretrained(base)
trainer = SFTTrainer(
model=model, processing_class=tok, train_dataset=ds,
args=SFTConfig(output_dir="sakthai-toolcall-sft", num_train_epochs=3,
per_device_train_batch_size=4, learning_rate=2e-4,
bf16=True, max_length=2048),
)
trainer.train()
from datasets import load_dataset
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "Nanthasit/sakthai-persona-0.5b-lora"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")
row = load_dataset("Nanthasit/sakthai-toolcalling-v1", split="test")[0]
inputs = tok.apply_chat_template(row["messages"], tools=row["tools"],
add_generation_prompt=True, return_tensors="pt").to(model.device)
print(tok.decode(model.generate(inputs, max_new_tokens=256)[0][inputs.shape[-1]:], skip_special_tokens=True))
Built for fine-tuning Nanthasit/sakthai-persona-0.5b-lora / Qwen2.5-0.5B-Instruct.
@misc{sakthai-toolcalling-v1,
title = {SakThai Tool-Calling v1},
author = {Nanthasit},
year = {2026},
url = {https://huggingface.co/datasets/Nanthasit/sakthai-toolcalling-v1}
}