File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
src/MEDS_DEV/models/cehrxgpt Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ commands:
1515 mkdir -p "{output_dir}/cehrgpt_pretrained/dataset_prepared"
1616 meds_reader_convert "{dataset_dir}" "{output_dir}/cehrgpt_pretrained/meds_reader" --num_threads 8
1717
18+ pip install tf-keras
19+
1820 export CUDA_VISIBLE_DEVICES="0"; python -u -m cehrgpt.runners.hf_cehrgpt_pretrain_runner \
1921 --model_name_or_path "{output_dir}/cehrgpt_pretrained" \
2022 --tokenizer_name_or_path "{output_dir}/cehrgpt_pretrained" \
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ commands:
1515 mkdir -p "{output_dir}/cehrgpt_pretrained/dataset_prepared"
1616 meds_reader_convert "{dataset_dir}" "{output_dir}/cehrgpt_pretrained/meds_reader" --num_threads 8
1717
18+ pip install tf-keras
19+
1820 export CUDA_VISIBLE_DEVICES="0"; python -u -m cehrgpt.runners.hf_cehrgpt_pretrain_runner \
1921 --model_name_or_path "{output_dir}/cehrgpt_pretrained" \
2022 --tokenizer_name_or_path "{output_dir}/cehrgpt_pretrained" \
You can’t perform that action at this time.
0 commit comments