File size: 735 Bytes
f0adc7d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
python run_clm_mp.py \
    	--model_name_or_path /mnt/disks/flaxdisk/norwegian-gptneo-red/ \
  	--tokenizer_name gpt2 \
   	--dataset_name wikitext --dataset_config_name wikitext-2-raw-v1 \
	#--train_file /mnt/disks/flaxdisk/corpus/social_train.json \
       	#--validation_file /mnt/disks/flaxdisk/corpus/social_validation.json \
     	--do_train \
       	--do_eval  \
     	--block_size 1024 \
   	--num_train_epochs 5 \
   	--learning_rate 4e-6 \
	--per_device_train_batch_size 3 \
       	--per_device_eval_batch_size 3 \
    	--overwrite_output_dir \
	--output_dir /mnt/disks/flaxdisk/output/ \
	--cache_dir /mnt/disks/flaxdisk/cache/ \
       	--dtype bfloat16 \
   	--logging_steps 97 \
       	--eval_steps 96\
	--push_to_hub