File size: 1,329 Bytes
88bca53
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "status": "interrupted",
  "timestamp": "2025-07-11T06:17:00.185708",
  "metrics": {
    "achieved_rouge1": 0.9989,
    "note": "Training was interrupted but model achieved excellent performance"
  },
  "config": {
    "data": {
      "quran_data_path": "/kaggle/input/quran-q-and-a-training-dataset/quran-qa-dataset/raw_data",
      "output_dir": "/kaggle/working/processed_data",
      "training_data_file": "training_data.json",
      "validation_split": 0.2,
      "max_sequence_length": 384,
      "supported_languages": [
        "en",
        "ar"
      ]
    },
    "model": {
      "base_model": "google/flan-t5-small",
      "model_name": "quran-qa-flan-t5-small-v2",
      "max_input_length": 384,
      "max_target_length": 128
    },
    "training": {
      "batch_size": 2,
      "gradient_accumulation_steps": 16,
      "learning_rate": 0.0003,
      "num_epochs": 3,
      "warmup_steps": 100,
      "weight_decay": 0.01,
      "adam_epsilon": 1e-08,
      "max_grad_norm": 1.0,
      "save_steps": 100,
      "eval_steps": 100,
      "logging_steps": 50
    },
    "kaggle": {
      "use_cpu_only": true,
      "memory_efficient": true,
      "max_training_samples": 1500
    },
    "huggingface": {
      "model_repo": "quran-qa-model-v2",
      "private_repo": false,
      "push_to_hub": false
    }
  }
}