Skip to content

Commit 2b74009

Browse files
committed
keras 3 backward compatibility
1 parent a233132 commit 2b74009

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/MEDS_DEV/models/cehrxgpt/mimiciv/model.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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" \

src/MEDS_DEV/models/cehrxgpt/omop/model.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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" \

0 commit comments

Comments
 (0)