finance-agent-eval / sft /full.log
SaiPavankumar22's picture
Upload training and evaluation artifacts
9e7d983 verified
Raw History Blame Contribute Delete
6.31 kB
✓ Initialized. View run at
https://modal.com/apps/devisettisaipavankumar/main/ap-jmwQaCladoKyF5yFtJrjuz
✓ Created objects.
├── 🔨 Created mount D:\All\finance agent\training\train_full.py
├── 🔨 Created mount data\splits\val.jsonl
├── 🔨 Created mount training\data.py
├── 🔨 Created mount data\splits\train.jsonl
├── 🔨 Created mount training\__init__.py
├── 🔨 Created mount eval\testset.jsonl
├── 🔨 Created mount eval\run_baseline.py
├── 🔨 Created mount eval\metrics.py
├── 🔨 Created mount eval\__init__.py
├── 🔨 Created mount D:\All\finance agent\app
└── 🔨 Created function run.
Fetching 2 files: 0%| | 0/2 [00:00<?, ?it/s]
Fetching 2 files: 50%|█████ | 1/2 [00:31<00:31, 31.89s/it]
Fetching 2 files: 100%|██████████| 2/2 [01:14<00:00, 38.03s/it]
Fetching 2 files: 100%|██████████| 2/2 [01:14<00:00, 37.11s/it]
Loading weights: 0%| | 0/290 [00:00<?, ?it/s]
Loading weights: 0%| | 1/290 [00:00<00:40, 7.12it/s]
Loading weights: 4%|▍ | 11/290 [00:00<00:05, 52.35it/s]
Loading weights: 14%|█▍ | 41/290 [00:00<00:01, 153.95it/s]
Loading weights: 24%|██▍ | 69/290 [00:00<00:01, 196.85it/s]
Loading weights: 34%|███▍ | 99/290 [00:00<00:00, 232.01it/s]
Loading weights: 44%|████▍ | 127/290 [00:00<00:00, 247.06it/s]
Loading weights: 54%|█████▍ | 157/290 [00:00<00:00, 258.68it/s]
Loading weights: 65%|██████▌ | 189/290 [00:00<00:00, 275.08it/s]
Loading weights: 76%|███████▌ | 221/290 [00:00<00:00, 283.45it/s]
Loading weights: 89%|████████▉ | 259/290 [00:01<00:00, 307.76it/s]
Loading weights: 100%|██████████| 290/290 [00:01<00:00, 302.28it/s]
Loading weights: 100%|██████████| 290/290 [00:01<00:00, 245.65it/s]
[transformers] `use_cache=True` is incompatible with gradient checkpointing. Setting `use_cache=False`.
/usr/local/lib/python3.12/site-packages/torch/_dynamo/eval_frame.py:1552: UserWarning: torch.utils.checkpoint: the use_reentrant parameter should be passed explicitly. In a future release, calling checkpoint without use_reentrant will raise an exception. use_reentrant=False is recommended, but if you need to preserve the current default behavior, you can pass use_reentrant=True. Refer to docs for more details on the differences between the two variants.
return fn(*args, **kwargs)
epoch 1 step 1/78 loss 2.2085
epoch 1 step 2/78 loss 2.1142
epoch 1 step 3/78 loss 1.6353
epoch 1 step 4/78 loss 0.7641
epoch 1 step 5/78 loss 0.3993
epoch 1 step 6/78 loss 0.1873
epoch 1 step 7/78 loss 0.1407
epoch 1 step 8/78 loss 0.1094
epoch 1 step 9/78 loss 0.0845
epoch 1 step 10/78 loss 0.0927
epoch 1 step 11/78 loss 0.0828
epoch 1 step 12/78 loss 0.0838
epoch 1 step 13/78 loss 0.0708
epoch 1 step 14/78 loss 0.0701
epoch 1 step 15/78 loss 0.0612
epoch 1 step 16/78 loss 0.0384
epoch 1 step 17/78 loss 0.0445
epoch 1 step 18/78 loss 0.0457
epoch 1 step 19/78 loss 0.0400
epoch 1 step 20/78 loss 0.0473
epoch 1 step 21/78 loss 0.0430
epoch 1 step 22/78 loss 0.0473
epoch 1 step 23/78 loss 0.0372
epoch 1 step 24/78 loss 0.0332
epoch 1 step 25/78 loss 0.0289
epoch 1 step 26/78 loss 0.0311
epoch 1 step 27/78 loss 0.0317
epoch 1 step 28/78 loss 0.0221
epoch 1 step 29/78 loss 0.0354
epoch 1 step 30/78 loss 0.0242
epoch 1 step 31/78 loss 0.0200
epoch 1 step 32/78 loss 0.0294
epoch 1 step 33/78 loss 0.0277
epoch 1 step 34/78 loss 0.0174
epoch 1 step 35/78 loss 0.0233
epoch 1 step 36/78 loss 0.0176
epoch 1 step 37/78 loss 0.0171
epoch 1 step 38/78 loss 0.0095
epoch 1 step 39/78 loss 0.0283
eval done; checkpointing back on, 4.4 GiB allocated
epoch 1 val {'epoch': 1, 'val_tool_selection_accuracy': 0.8235, 'val_argument_accuracy': 0.8824}
epoch 1 is best so far; adapter saved to /out/adapter-r16-e2-lr0.0001-best
epoch 2 step 40/78 loss 0.0087
epoch 2 step 41/78 loss 0.0175
epoch 2 step 42/78 loss 0.0125
epoch 2 step 43/78 loss 0.0088
epoch 2 step 44/78 loss 0.0191
epoch 2 step 45/78 loss 0.0167
epoch 2 step 46/78 loss 0.0069
epoch 2 step 47/78 loss 0.0135
epoch 2 step 48/78 loss 0.0190
epoch 2 step 49/78 loss 0.0151
epoch 2 step 50/78 loss 0.0083
epoch 2 step 51/78 loss 0.0067
epoch 2 step 52/78 loss 0.0099
epoch 2 step 53/78 loss 0.0122
epoch 2 step 54/78 loss 0.0065
epoch 2 step 55/78 loss 0.0188
epoch 2 step 56/78 loss 0.0042
epoch 2 step 57/78 loss 0.0063
epoch 2 step 58/78 loss 0.0067
epoch 2 step 59/78 loss 0.0090
epoch 2 step 60/78 loss 0.0111
epoch 2 step 61/78 loss 0.0108
epoch 2 step 62/78 loss 0.0146
epoch 2 step 63/78 loss 0.0074
epoch 2 step 64/78 loss 0.0102
epoch 2 step 65/78 loss 0.0109
epoch 2 step 66/78 loss 0.0077
epoch 2 step 67/78 loss 0.0094
epoch 2 step 68/78 loss 0.0064
epoch 2 step 69/78 loss 0.0116
epoch 2 step 70/78 loss 0.0102
epoch 2 step 71/78 loss 0.0102
epoch 2 step 72/78 loss 0.0111
epoch 2 step 73/78 loss 0.0067
epoch 2 step 74/78 loss 0.0097
epoch 2 step 75/78 loss 0.0049
epoch 2 step 76/78 loss 0.0075
epoch 2 step 77/78 loss 0.0075
epoch 2 step 78/78 loss 0.0112
eval done; checkpointing back on, 4.4 GiB allocated
epoch 2 val {'epoch': 2, 'val_tool_selection_accuracy': 0.7843, 'val_argument_accuracy': 0.8627}
eval done; checkpointing back on, 4.4 GiB allocated
eval done; checkpointing back on, 4.4 GiB allocated
eval done; checkpointing back on, 4.4 GiB allocated
eval done; checkpointing back on, 4.4 GiB allocated
results written to /out/full.json (30.7 GiB peak)
set model tool args schema abstain R
val base 0.0000 0.0784 0.0000 0.00
val tuned 0.8235 0.8824 1.0000 0.40
test base 0.0000 0.0933 0.0067 0.00
test tuned 0.8267 0.8733 0.9867 0.43
best epoch 1 of 2; adapter /out/adapter-r16-e2-lr0.0001
test set unchanged: True
Saved artifacts/sft/full.json
Stopping app - local entrypoint completed.
✓ App completed. View run at
https://modal.com/apps/devisettisaipavankumar/main/ap-jmwQaCladoKyF5yFtJrjuz