LLJYY commited on
Commit
d57dc65
·
verified ·
1 Parent(s): 46b5873

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +37 -40
README.md CHANGED
@@ -1,58 +1,55 @@
1
  ---
2
  base_model: aisingapore/Qwen-SEA-LION-v4-8B-VL
3
  library_name: transformers
4
- model_name: SEALION-Test
5
  tags:
6
- - generated_from_trainer
7
- - trl
8
- - sft
9
- licence: license
 
 
 
 
 
 
 
 
 
10
  ---
11
 
12
- # Model Card for SEALION-Test
13
 
14
- This model is a fine-tuned version of [aisingapore/Qwen-SEA-LION-v4-8B-VL](https://huggingface.co/aisingapore/Qwen-SEA-LION-v4-8B-VL).
15
- It has been trained using [TRL](https://github.com/huggingface/trl).
16
 
17
- ## Quick start
18
 
19
- ```python
20
- from transformers import pipeline
21
 
22
- question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
23
- generator = pipeline("text-generation", model="LLJYY/SEALION-Test", device="cuda")
24
- output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
25
- print(output["generated_text"])
26
- ```
27
 
28
- ## Training procedure
29
 
30
-
31
 
 
 
 
 
 
 
32
 
33
- This model was trained with SFT.
 
34
 
35
- ### Framework versions
36
 
37
- - TRL: 0.26.0
38
- - Transformers: 4.57.3
39
- - Pytorch: 2.9.1
40
- - Datasets: 4.4.1
41
- - Tokenizers: 0.22.1
42
 
43
- ## Citations
 
 
44
 
45
-
46
-
47
- Cite TRL as:
48
-
49
- ```bibtex
50
- @misc{vonwerra2022trl,
51
- title = {{TRL: Transformer Reinforcement Learning}},
52
- author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
53
- year = 2020,
54
- journal = {GitHub repository},
55
- publisher = {GitHub},
56
- howpublished = {\url{https://github.com/huggingface/trl}}
57
- }
58
- ```
 
1
  ---
2
  base_model: aisingapore/Qwen-SEA-LION-v4-8B-VL
3
  library_name: transformers
4
+ model_name: SeaLION-TC-v1
5
  tags:
6
+ - function-calling
7
+ - tool-use
8
+ - agent
9
+ - sealion
10
+ - qlora
11
+ - bfcl-v4
12
+ license: apache-2.0
13
+ language:
14
+ - en
15
+ - zh
16
+ - th
17
+ - vi
18
+ - id
19
  ---
20
 
21
+ # Model Card for SeaLION-TC v1 (Tool Chain)
22
 
23
+ **SeaLION-TC v1** is a specialized QLoRA fine-tune of [aisingapore/Qwen-SEA-LION-v4-8B-VL](https://huggingface.co/aisingapore/Qwen-SEA-LION-v4-8B-VL), engineered specifically for **Agentic Workflow Orchestration** and **Function Calling**.
 
24
 
25
+ Unlike general-purpose chat models, this adapter was trained to enforce strict syntax compliance for tool usage while prioritizing safety (hallucination resistance). It is designed to act as a reliable "Edge Agent" for orchestrating multi-step tasks in regional contexts.
26
 
27
+ This model was built for HackRift 2025 at Singapore Institute of Technology
 
28
 
29
+ ## 🏆 Benchmark Performance (BFCL v4)
 
 
 
 
30
 
31
+ This model was evaluated on the **Berkeley Function Calling Leaderboard (BFCL v4)** against the base SeaLION Instruct model.
32
 
33
+ **Key Result:** We achieved a **+12% improvement in Safety (Irrelevance)** and a **+25% improvement in Real-World Multitasking (Live Parallel)** compared to the base model.
34
 
35
+ | Metric | SeaLION Base | **SeaLION-TC v1** | Delta | Analysis |
36
+ | :--- | :--- | :--- | :--- | :--- |
37
+ | **Irrelevance (Safety)** | 79.17% | **91.25%** | 🟢 **+12.08%** | significantly reduced hallucinated tool calls during casual conversation. |
38
+ | **Live Parallel** | 50.00% | **75.00%** | 🟢 **+25.00%** | Massive gain in handling simultaneous, multi-intent requests. |
39
+ | **Simple Python** | 95.00% | **93.50%** | 🔴 -1.50% | Negligible trade-off for increased safety. |
40
+ | **Simple JS** | 76.00% | **70.00%** | 🔴 -6.00% | **Known Limitation:** Non-Python syntax degraded slightly. |
41
 
42
+ The rest of the tests remain within margin of error or with slight improvements!
43
+ Full benchmark suite and comparison to come
44
 
45
+ ## ⚠️ Intended Use & Limitations
46
 
47
+ ### Best For:
48
+ * **Python-based Agentic Backends:** The model is highly optimized for Python function definitions.
49
+ * **RAG Orchestration:** Excellent at selecting relevant tools from long lists (`Multiple` score: 94.5%).
50
+ * **Edge Deployment:** Optimized for 4-bit quantization (GGUF) on consumer hardware (e.g., NVIDIA GeForce, AMD Ryzen AI).
 
51
 
52
+ ### Known Limitations:
53
+ * **The "Alignment Tax":** In exchange for higher safety and parallel reasoning, the model's ability to generate valid **Javascript** and **Java** tool calls has regressed by ~5-6% compared to the base model.
54
+ * **Vision Capabilities:** While based on a VLM, this fine-tune focused exclusively on text-based function calling. Vision-related tool usage has not been strictly benchmarked.
55