Text Generation
Transformers
Safetensors
Finnish
llama
finnish
conversational
text-generation-inference
aapot commited on
Commit
c32a512
1 Parent(s): 5a63fc6

use spm tokenizer

Browse files
Files changed (1) hide show
  1. pretrain_llama_3b.sh +3 -1
pretrain_llama_3b.sh CHANGED
@@ -20,7 +20,7 @@ python3 -m EasyLM.models.llama.llama_train \
20
  --update_llama_config='' \
21
  --load_dataset_state='' \
22
  --load_checkpoint='' \
23
- --tokenizer.pretrained_model_name_or_path='./' \
24
  --optimizer.type='lion' \
25
  --optimizer.lion_optimizer.weight_decay=1.0 \
26
  --optimizer.lion_optimizer.lr_schedule_type='warmup_constant' \
@@ -31,6 +31,8 @@ python3 -m EasyLM.models.llama.llama_train \
31
  --optimizer.lion_optimizer.bf16_momentum=True \
32
  --train_dataset.type='huggingface' \
33
  --train_dataset.text_processor.fields='text' \
 
 
34
  --train_dataset.huggingface_dataset.path='/researchdisk/lm_training_dataset_first_stage' \
35
  --train_dataset.huggingface_dataset.split='train' \
36
  --train_dataset.huggingface_dataset.seq_length=2048 \
 
20
  --update_llama_config='' \
21
  --load_dataset_state='' \
22
  --load_checkpoint='' \
23
+ --tokenizer.vocab_file='tokenizer.model' \
24
  --optimizer.type='lion' \
25
  --optimizer.lion_optimizer.weight_decay=1.0 \
26
  --optimizer.lion_optimizer.lr_schedule_type='warmup_constant' \
 
31
  --optimizer.lion_optimizer.bf16_momentum=True \
32
  --train_dataset.type='huggingface' \
33
  --train_dataset.text_processor.fields='text' \
34
+ --train_dataset.text_processor.add_eos_token=True \
35
+ --train_dataset.text_processor.add_bos_token=True \
36
  --train_dataset.huggingface_dataset.path='/researchdisk/lm_training_dataset_first_stage' \
37
  --train_dataset.huggingface_dataset.split='train' \
38
  --train_dataset.huggingface_dataset.seq_length=2048 \