rAIfle commited on
Commit
c49981d
1 Parent(s): dacc147

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -1
README.md CHANGED
@@ -1 +1,25 @@
1
- 1 epoch of grimulkan/LimaRP-augmented on LLaMA-8b via unsloth on colab.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 1 epoch of grimulkan/LimaRP-augmented on LLaMA-8b via unsloth on colab, using the llama-chat template.
2
+ ```trainer = SFTTrainer(
3
+ model = model,
4
+ tokenizer = tokenizer,
5
+ train_dataset = dataset,
6
+ dataset_text_field = "text",
7
+ max_seq_length = max_seq_length,
8
+ dataset_num_proc = 2,
9
+ packing = False, # Can make training 5x faster for short sequences.
10
+ args = TrainingArguments(
11
+ per_device_train_batch_size = 2,
12
+ gradient_accumulation_steps = 4,
13
+ warmup_steps = 5,
14
+ num_train_epochs=1,
15
+ learning_rate = 2e-4,
16
+ fp16 = not torch.cuda.is_bf16_supported(),
17
+ bf16 = torch.cuda.is_bf16_supported(),
18
+ logging_steps = 1,
19
+ optim = "adamw_8bit",
20
+ weight_decay = 0.01,
21
+ lr_scheduler_type = "linear",
22
+ seed = 3407,
23
+ output_dir = "outputs",
24
+ ),
25
+ )```