nroggendorff commited on
Commit
2b656bf
·
verified ·
1 Parent(s): e87a7f4

Update train.py

Browse files
Files changed (1) hide show
  1. train.py +3 -3
train.py CHANGED
@@ -8,10 +8,10 @@ from datasets import load_dataset, DatasetDict, Dataset
8
  from tokenizers import ByteLevelBPETokenizer
9
 
10
  MAX_SEQ_LENGTH = 2048
11
- BATCH_SIZE = 4
12
  EPOCHS = 2
13
- LEARNING_RATE = 5e-5
14
- FACTOR = 1024
15
  VOCAB_SIZE = 32000
16
  INPUT_DATASET = "HuggingFaceTB/smollm-corpus"
17
  INSTRUCT_DATASET = "nroggendorff/openhermes"
 
8
  from tokenizers import ByteLevelBPETokenizer
9
 
10
  MAX_SEQ_LENGTH = 2048
11
+ BATCH_SIZE = 1
12
  EPOCHS = 2
13
+ LEARNING_RATE = 1e-4
14
+ FACTOR = int(2 ** 10.5)
15
  VOCAB_SIZE = 32000
16
  INPUT_DATASET = "HuggingFaceTB/smollm-corpus"
17
  INSTRUCT_DATASET = "nroggendorff/openhermes"