Text Generation
PEFT
Safetensors
Muhammad7865253 commited on
Commit
deb8e2a
1 Parent(s): 484c706

Update model_config.json

Browse files
Files changed (1) hide show
  1. model_config.json +13 -8
model_config.json CHANGED
@@ -19,7 +19,8 @@
19
  "bias": "none",
20
  "use_gradient_checkpointing": "unsloth",
21
  "random_state": 3407,
22
- "use_rslora": false
 
23
  },
24
  "training_args": {
25
  "per_device_train_batch_size": 4,
@@ -27,8 +28,8 @@
27
  "warmup_steps": 5,
28
  "num_train_epochs": 1,
29
  "learning_rate": 0.0002,
30
- "fp16": true,
31
- "bf16": false,
32
  "logging_steps": 1,
33
  "optim": "adamw_8bit",
34
  "weight_decay": 0.01,
@@ -41,17 +42,21 @@
41
  "dataset_name": "marmikpandya/mental-health",
42
  "dataset_split": "train",
43
  "dataset_rows": null,
44
- "conversation_format": null,
 
 
 
 
45
  "max_seq_length": 2048,
46
  "train_on_responses_only": false
47
  },
48
  "inference_config": {
49
- "temperature": null,
50
- "min_p": null,
51
- "max_new_tokens": null
52
  },
53
  "alpaca_prompt": {
54
  "template": "If you are a licensed psychologist, please provide this patient with a helpful response to their concern.\n\n### Instruction:\n{}\n\n### Input:\n{}\n\n### Response:\n{}",
55
  "eos_token": true
56
  }
57
- }
 
19
  "bias": "none",
20
  "use_gradient_checkpointing": "unsloth",
21
  "random_state": 3407,
22
+ "use_rslora": false,
23
+ "loftq_config": null
24
  },
25
  "training_args": {
26
  "per_device_train_batch_size": 4,
 
28
  "warmup_steps": 5,
29
  "num_train_epochs": 1,
30
  "learning_rate": 0.0002,
31
+ "fp16": false,
32
+ "bf16": true,
33
  "logging_steps": 1,
34
  "optim": "adamw_8bit",
35
  "weight_decay": 0.01,
 
42
  "dataset_name": "marmikpandya/mental-health",
43
  "dataset_split": "train",
44
  "dataset_rows": null,
45
+ "conversation_format": {
46
+ "instruction": "Provide an instruction to the model, e.g., 'Provide advice on coping with stress.'",
47
+ "input": "Include user details or context, e.g., 'I've been feeling overwhelmed with work and personal responsibilities.'",
48
+ "response": "The model's response based on the instruction and input."
49
+ },
50
  "max_seq_length": 2048,
51
  "train_on_responses_only": false
52
  },
53
  "inference_config": {
54
+ "temperature": 1.0,
55
+ "min_p": 0.9,
56
+ "max_new_tokens": 512
57
  },
58
  "alpaca_prompt": {
59
  "template": "If you are a licensed psychologist, please provide this patient with a helpful response to their concern.\n\n### Instruction:\n{}\n\n### Input:\n{}\n\n### Response:\n{}",
60
  "eos_token": true
61
  }
62
+ }