adrieljleo commited on
Commit
343b37e
·
verified ·
1 Parent(s): 3d50c8d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +80 -0
README.md CHANGED
@@ -11,6 +11,86 @@ language:
11
  - en
12
  ---
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  # Uploaded model
15
 
16
  - **Developed by:** adrieljleo
 
11
  - en
12
  ---
13
 
14
+ # adrieljleo/indonesia-function-call-lora-v2
15
+ This model is a fine-tuned version of unsloth/Meta-Llama-3.1-8B-Instruct, trained using the Unsloth framework to support Function Calling capabilities in a Bahasa Indonesia conversational setting. It is designed for use cases where a virtual assistant interacts with users in Indonesian, while still utilizing English-based function definitions, arguments, and schemas — suitable for applications such as virtual agents, chat-based interfaces, and backend integration with APIs or tool usage.
16
+
17
+ # Training Overview
18
+ - **Base Model:** unsloth/Meta-Llama-3.1-8B-Instruct
19
+ - **Framework:** Unsloth
20
+ - **Languages:**
21
+ - Input/Output Conversations: Bahasa Indonesia
22
+ - Function Schemas/Descriptions: English
23
+
24
+ # Datasets Trained
25
+ This model was trained using translated and aligned function-calling datasets based on English instruction-following data:
26
+ - adrieljleo/skripzi_func_call_revision
27
+ Translated version of glaiveai/glaive-function-calling-v2
28
+
29
+ - adrieljleo/skripzi_parallel_revision
30
+ Translated version of unaidedelf87777/parallel-function_calling-10k
31
+
32
+ These datasets were created and curated as part of an undergraduate thesis focusing on bridging language gaps in LLM function-calling systems.
33
+
34
+ # Features
35
+ - Bahasa Indonesia instructions, questions, and conversations
36
+ - Function definitions, arguments, and descriptions remain in English for compatibility with tool-based APIs and automation pipelines that exists
37
+ - Ready for integration into applications involving Tool Use, Code Execution, or Conversational Interfaces
38
+
39
+ # Chat Template
40
+ ```
41
+ <|begin_of_text|><|start_header_id|>system<|end_header_id|>
42
+
43
+ Environment: ipython
44
+
45
+ Cutting Knowledge Date: December 2023
46
+
47
+ Today Date: {datetime now}
48
+
49
+ You have access to the following functions:
50
+
51
+ Use the function '{function name}' to: {function description}
52
+ {function tool}
53
+
54
+ Think very carefully before calling functions.
55
+ If you choose to call a function, reply in the following format:
56
+ <{start_tag}={function_name}>{parameters}{end_tag}
57
+ where
58
+
59
+ start_tag => `<function`
60
+ parameters => a JSON dict with the function argument name as key and function argument value as value.
61
+ end_tag => `</function>`
62
+
63
+ Here is an example,
64
+ <function=example_function_name>{"example_name": "example_value"}</function>
65
+
66
+ Reminder:
67
+ - If looking for real time information use relevant functions before falling back to brave_search
68
+ - Function calls MUST follow the specified format, start with <function= and end with </function>
69
+ - Required parameters MUST be specified, if it missing then ask it
70
+ - Function calls can be multiple parallel by having a new line each
71
+ - Put the entire function call reply on one line
72
+ - The arguments value MUST be the same as original query and cannot be summarized
73
+ ```
74
+
75
+ The example of function tool json schema
76
+ ```
77
+ {
78
+ "name": "transfer_funds",
79
+ "description": "Transfer money to a specified recipient.",
80
+ "parameters": {
81
+ "type": "object",
82
+ "properties": {
83
+ "recipient_name": {"type": "string", "description": "Name of the recipient"},
84
+ "amount": {"type": "number", "description": "Amount to transfer"}
85
+ },
86
+ "required": ["recipient_name", "amount"]
87
+ }
88
+ }
89
+ ```
90
+
91
+ # Statements
92
+ This model was developed as part of an undergraduate thesis to explore the effectiveness of LLMs in Indonesian tool-use scenarios. Benchmarking has been conducted using the Berkeley Function Calling Leaderboard, where the model achieved a high score, outperforming several other open-source LLMs with Function Calling capabilities. However, the results should be interpreted with caution, as there were some misalignments in the custom benchmark classes used during evaluation. Further evaluation and refinement are planned, and updated results will be shared soon.
93
+
94
  # Uploaded model
95
 
96
  - **Developed by:** adrieljleo