File size: 1,170 Bytes
f607b84
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "model_name": "unsloth/Phi-3.5-mini-instruct",
  "max_seq_length": 2048,
  "dtype": null,
  "load_in_4bit": false,
  "lora_params": {
    "r": 16,
    "target_modules": [
      "q_proj",
      "k_proj",
      "v_proj",
      "o_proj",
      "gate_proj",
      "up_proj",
      "down_proj"
    ],
    "lora_alpha": 16,
    "lora_dropout": 0,
    "bias": "none",
    "use_gradient_checkpointing": "unsloth",
    "random_state": 3407,
    "use_rslora": false
  },
  "training_args": {
    "per_device_train_batch_size": 4,
    "gradient_accumulation_steps": 4,
    "warmup_steps": 5,
    "num_train_epochs": 1,
    "learning_rate": 0.0002,
    "fp16": true,
    "bf16": false,
    "logging_steps": 1,
    "optim": "adamw_8bit",
    "weight_decay": 0.01,
    "lr_scheduler_type": "linear",
    "seed": 3407,
    "output_dir": "outputs",
    "report_to": "none"
  },
  "data_config": {
    "path": "/content/mental-health.json",
    "text_field": "text",
    "num_proc": 2,
    "packing": false,
    "conversation_format": "phi-3",
    "train_on_responses_only": false
  },
  "inference_config": {
    "temperature": 1.5,
    "min_p": 0.1,
    "max_new_tokens": 150
  }
}