IlyaGusev commited on
Commit
3dff86a
1 Parent(s): 97209c3

New versions with longer context

Browse files
adapter_config.json CHANGED
@@ -9,7 +9,7 @@
9
  "merge_weights": false,
10
  "modules_to_save": null,
11
  "peft_type": "LORA",
12
- "r": 8,
13
  "target_modules": [
14
  "q_proj",
15
  "v_proj"
 
9
  "merge_weights": false,
10
  "modules_to_save": null,
11
  "peft_type": "LORA",
12
+ "r": 16,
13
  "target_modules": [
14
  "q_proj",
15
  "v_proj"
adapter_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9aff0d265b6996fbaa2fe3310cd67e1a29fa2515ae9fb2d5dd85d5a9c04c405a
3
- size 26271757
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03a3ca054813fcd99852f5dba7a606d28f780178cbc8930eb65eff7ae6ce1c42
3
+ size 52486477
generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 1,
3
+ "eos_token_id": 2,
4
+ "pad_token_id": 0,
5
+ "temperature": 1.0,
6
+ "top_p": 0.9,
7
+ "top_k": 30,
8
+ "do_sample": true,
9
+ "max_new_tokens": 512,
10
+ "num_beams": 3,
11
+ "repetition_penalty": 1.1,
12
+ "no_repeat_ngram_size": 6
13
+ }
training_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "trainer": {
3
+ "evaluation_strategy": "steps",
4
+ "per_device_train_batch_size": 4,
5
+ "per_device_eval_batch_size": 4,
6
+ "gradient_accumulation_steps": 32,
7
+ "eval_steps": 150,
8
+ "save_steps": 150,
9
+ "logging_steps": 5,
10
+ "learning_rate": 0.0003,
11
+ "num_train_epochs": 3,
12
+ "lr_scheduler_type": "cosine",
13
+ "warmup_steps": 100,
14
+ "fp16": true,
15
+ "bf16": false,
16
+ "torch_compile": false,
17
+ "optim": "adamw_torch"
18
+ },
19
+ "lora": {
20
+ "r": 16,
21
+ "lora_alpha": 16,
22
+ "lora_dropout": 0.05,
23
+ "bias": "none",
24
+ "target_modules": ["q_proj", "v_proj"],
25
+ "task_type": "CAUSAL_LM"
26
+ },
27
+ "load_in_8bit": true,
28
+ "only_target_loss": false,
29
+ "model_name": "models/llama-13b-hf",
30
+ "model_type": "causal",
31
+ "template_category": "causal_newlines",
32
+ "max_source_tokens_count": 512,
33
+ "max_target_tokens_count": 832
34
+ }