File size: 318 Bytes
0fd282e |
1 2 3 4 5 6 7 8 9 10 |
# singularity exec --nv nemo2302 bash convert_hf_to_nemo.sh
OUTPUT_FOLDER=ul2-base-nl36-finnish
mkdir -p $OUTPUT_FOLDER
python hf_t5_v1_1_to_nemo.py \
--hf_model_name Finnish-NLP/ul2-base-nl36-finnish \
--nemo_state_dict $OUTPUT_FOLDER/nemo_state_dict.pt \
--nemo_file_path $OUTPUT_FOLDER/nemo_file.nemo
|