File size: 7,376 Bytes
b1367dd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
 "base": "cagataydev/loopl-4b",
 "root": "Qwen/Qwen3.5-4B",
 "family": "qwen3_5",
 "think": "qwen3_5",
 "round": 2,
 "lineage": [
  "Qwen/Qwen3.5-4B",
  "cagataydev/loopl-4b"
 ],
 "dataset": "cagataydev/tin-train",
 "method": "lora",
 "lr": 0.0001,
 "epochs": 1.0,
 "epochs_mode": "fixed",
 "epochs_trained": 1.0,
 "replay": true,
 "replay_from": null,
 "stitch": {
  "mode": "none",
  "stitched": 0
 },
 "rows": 36944,
 "tokens": 63481590,
 "max_length": 8192,
 "batch": 1,
 "grad_accum": 16,
 "lora": {
  "r": 64,
  "alpha": 128,
  "target_regex": ".*\\.language_model\\..*\\.(q_proj|k_proj|v_proj|o_proj|gate_proj|up_proj|down_proj|in_proj_qkvz|in_proj_ba|in_proj_qkv|in_proj_z|in_proj_b|in_proj_a|out_proj)"
 },
 "data": {
  "files": [
   "train.jsonl",
   "eval.jsonl"
  ],
  "revision": "b89e6bb347f960ee285a1fc0c36662bf83a9f769",
  "read": 29612,
  "invalid": 0,
  "duplicates": 413,
  "denylisted": 0,
  "pii_scrubbed": 0,
  "skipped_files": [],
  "train": 28439,
  "eval": 760,
  "source": "cagataydev/tin-train@b89e6bb347f960ee285a1fc0c36662bf83a9f769"
 },
 "render": {
  "rendered": 36944,
  "no_assistant": 0,
  "render_error": 0,
  "truncated": 13,
  "with_tools": 8505
 },
 "metrics": {
  "train_runtime": 19012.263,
  "train_samples_per_second": 1.943,
  "train_steps_per_second": 0.121,
  "total_flos": 1.535391112124713e+18,
  "train_loss": 0.5125363567991658,
  "epoch": 1.0,
  "eval_loss": 0.49309366941452026,
  "eval_model_preparation_time": 0.0287,
  "eval_runtime": 94.7465,
  "eval_samples_per_second": 10.016,
  "eval_steps_per_second": 10.016,
  "eval_entropy": 0.4815751454219182,
  "eval_mean_token_accuracy": 0.8677146879463478,
  "eval_num_tokens": 63481590.0
 },
 "scorecard": {
  "script": "1.3.0",
  "base": "cagataydev/loopl-4b",
  "root": "Qwen/Qwen3.5-4B",
  "family": "qwen3_5",
  "think": "qwen3_5",
  "dataset": "cagataydev/tin-train",
  "revision": "b89e6bb347f960ee285a1fc0c36662bf83a9f769",
  "method": "lora",
  "epochs": 1.0,
  "epochs_mode": "fixed",
  "epochs_heuristic": "1\u20132",
  "round": 2,
  "lineage": [
   "Qwen/Qwen3.5-4B",
   "cagataydev/loopl-4b"
  ],
  "stitched": 0,
  "train_conversations": 28439,
  "eval_conversations": 760,
  "eval_loss_base": 1.0184,
  "eval_loss_tuned": 0.4931,
  "eval_history": [
   {
    "epoch": 1,
    "eval_loss": 0.4931
   }
  ],
  "best_checkpoint": "/tmp/loopl-sft/ckpt/checkpoint-2309",
  "best_epoch": 1,
  "epochs_trained": 1.0,
  "train_loss": 0.5125,
  "probed": 36,
  "tool_turns": 24,
  "tool_name_match": 6,
  "tool_call_emitted": 14,
  "prose_turns": 12,
  "prose_kept_prose": 12,
  "malformed_calls": 0,
  "examples": [
   {
    "dialect": "native",
    "user": "Write a Tin program that calculates compound interest for a savings goal. Define a Goal type with principal, rate (as percentage), and years. Show the final amount formatted to two decimals.\n\nCheck it",
    "gold_tools": [
     "tin_run"
    ],
    "gold": "",
    "generated": "<tool_call>\n<function=tin_run>\n<parameter=source>\ntype Goal = {\n  /// Starting amount in dollars\n  principal: float,\n  /// Annual interest rate as a percentage\n  rate: float,\n  /// Number of years to compound\n  years: int\n}\n\nfn Goal.finalAmount(g: Goal): float {\n  let rate = g.rate / 100.0\n  let principal = g.principal\n  let years = float(g.years)\n  principal * (1.0 + rate).pow(years)\n}\n\nfn Goal.s"
   },
   {
    "dialect": "loopl",
    "user": "Write a Tin program that calculates compound interest for a savings goal. Define a Goal type with principal, rate (as percentage), and years. Show the final amount formatted to two decimals.\n\nCheck it",
    "gold_tools": [
     "tin_run"
    ],
    "gold": "",
    "generated": "<tool_call>\n{\"name\": \"tin_run\", \"arguments\": {\"source\":\"type Goal = { principal: float, rate: float, years: int }\\n\\nfn Goal.finalAmount(g: Goal): float {\\n  let r = g.rate / 100.0\\n  let factor = 1.0 + r\\n  let growth = factor.pow(float(g.years))\\n  g.principal * growth\\n}\\n\\nfn Goal.description(g: Goal): string {\\n  \\\"Start: ${g.principal.fixed(2)}\\\"\\n}\\n\\nfn main() {\\n  let savings = Goal { pri"
   },
   {
    "dialect": "native",
    "user": "Write a Tin program that models a library book with title, ISBN, year published, and whether it's available. Create three books and use `==` to check if two of them are identical (they should have dif",
    "gold_tools": [
     "tin_check"
    ],
    "gold": "",
    "generated": "<tool_call>\n<function=tin_run>\n<parameter=source>\ntype Book = { title: string, isbn: string, year: int, available: bool }\n\nfn main() {\n  let book1 = Book { title: \"Dune\", isbn: \"978-0441013879\", year: 1965, available: true }\n  let book2 = Book { title: \"Dune\", isbn: \"978-0441013886\", year: 1965, available: true }\n  let book3 = Book { title: \"Foundation\", isbn: \"978-0060850524\", year"
   },
   {
    "dialect": "loopl",
    "user": "Write a Tin program that models a library book with title, ISBN, year published, and whether it's available. Create three books and use `==` to check if two of them are identical (they should have dif",
    "gold_tools": [
     "tin_check"
    ],
    "gold": "",
    "generated": "<tool_call>\n{\"name\": \"tin_run\", \"arguments\": {\"source\":\"type Book = { title: string, isbn: string, year: int, available: bool }\\n\\nfn main() {\\n  let book1 = Book { title: \\\"Dune\\\", isbn: \\\"978-0441013879\\\", year: 1965, available: true }\\n  let book2 = Book { title: \\\"Dune\\\", isbn: \\\"978-0441013886\\\", year: 1965, available: false }\\n  let book3 = Book { title: \\\"Foundation\\\", isbn: \\\"978-006085052"
   },
   {
    "dialect": "native",
    "user": "How do I model a pH meter in Tin that takes readings? Each reading has a pH value and a timestamp in seconds. Write a function that receives a meter's readings array and returns a copy with only readi",
    "gold_tools": [
     "tin_check"
    ],
    "gold": "",
    "generated": "<tool_call>\n<function=tin_run>\n<parameter=source>\ntype Reading = { pH: float, time: int }\n\nfn filterReadings(readings: Reading[]): Reading[] {\n  var filtered: Reading[] = []\n  for r in readings {\n    if r.pH >= 6.5 && r.pH <= 7.5 {\n      filtered.push(r)\n    }\n  }\n  filtered\n}\n\nfn main() {\n  let meter = [\n    Reading { pH: 6.8, time: 0 },\n    Reading { pH: 7.2, time: 10 },\n    Reading { pH: 5.9, t"
   },
   {
    "dialect": "loopl",
    "user": "How do I model a pH meter in Tin that takes readings? Each reading has a pH value and a timestamp in seconds. Write a function that receives a meter's readings array and returns a copy with only readi",
    "gold_tools": [
     "tin_check"
    ],
    "gold": "",
    "generated": "<tool_call>\n{\"name\": \"tin_run\", \"arguments\": {\"source\":\"type Reading = { pH: float, time: int }\\n\\nfn filterReadings(readings: Reading[]): Reading[] {\\n  var filtered: Reading[] = []\\n  for r in readings {\\n    if r.pH >= 6.5 && r.pH <= 7.5 {\\n      filtered.push(r)\\n    }\\n  }\\n  filtered\\n}\\n\\nfn main() {\\n  let meter = [\\n    Reading { pH: 6.8, time: 0 },\\n    Reading { pH: 5.2, time: 10 },\\n  "
   }
  ],
  "tool_name_match_rate": 0.25
 },
 "wall_s": 19808,
 "versions": {
  "transformers": "5.23.0",
  "trl": "1.18.1",
  "peft": "0.21.3",
  "torch": "2.15.0+cu132"
 },
 "job_id": "6afd8f53e5cad0e4dc3e6f02",
 "script": "1.3.0"
}