Views
No views yet
| Metric | Value |
|---|---|
| Total Samples | 314 |
| Successful Samples | 314 |
| Failed Samples | 0 |
| Success Rate | 100.00% |
| Exact Match Accuracy | 1.59% |
| Character-level Accuracy | 86.38% |
| Token-level Jaccard Similarity | 50.44% |
| Training Loss | Epoch | Step | Validation Loss | Mem Active(gib) | Mem Allocated(gib) | Mem Reserved(gib) |
|---|---|---|---|---|---|---|
| No log | 0 | 0 | 3.3372 | 17.59 | 17.59 | 17.66 |
| 0.2428 | 1.0 | 369 | 0.3075 | 20.69 | 20.69 | 21.27 |
| 0.2057 | 2.0 | 738 | 0.2660 | 20.79 | 20.79 | 21.46 |

0.12.21base_model: Qwen/Qwen2.5-VL-7B-Instruct
2processor_type: AutoProcessor
3
4# these 3 lines are needed for now to handle vision chat templates w images
5skip_prepare_dataset: true
6remove_unused_columns: false
7sample_packing: false
8
9chat_template: qwen2_vl
10datasets:
11 - path: sanskrit_multimodal_train.json
12 type: chat_template
13 field_messages: messages
14dataset_prepared_path: last_run_prepared
15val_set_size: 0.01
16output_dir: ./outputs/out-qwen2-5-vl
17
18adapter: lora
19lora_model_dir:
20
21sequence_len: 2048
22pad_to_sequence_len: false
23
24lora_r: 32
25lora_alpha: 16
26lora_dropout: 0.05
27lora_target_modules: 'model.language_model.layers.[\d]+.(mlp|cross_attn|self_attn).(up|down|gate|q|k|v|o)_proj'
28
29wandb_project: Sanskrit-OCR
30wandb_entity:
31wandb_watch:
32wandb_name: qwen2-5-vl-sanskrit-ocr
33wandb_log_model:
34
35gradient_accumulation_steps: 4
36micro_batch_size: 2
37num_epochs: 3
38optimizer: adamw_bnb_8bit
39lr_scheduler: cosine
40learning_rate: 0.0002
41
42bf16: true
43fp16:
44tf32: true
45
46gradient_checkpointing: true
47logging_steps: 1
48flash_attention: true
49eager_attention:
50
51warmup_ratio: 0.1
52evals_per_epoch: 1
53saves_per_epoch: 1
54weight_decay: 0.0
55
56# Automatically upload checkpoint and final model to HF
57hub_model_id: diabolic6045/qwen2-5-vl-sanskrit-ocr-lora
58# save_first_step: true # uncomment this to validate checkpoint saving works with your config