test
Browse files- run.sh +2 -3
- run_mlm_flax_stream.py +1 -1
run.sh
CHANGED
@@ -1,6 +1,4 @@
|
|
1 |
-
|
2 |
python run_mlm_flax_stream.py \
|
3 |
-
--hub_model_id="NbAiLab/nb-roberta-base-scandi" \
|
4 |
--model_name_or_path="xlm-roberta-base" \
|
5 |
--config_name="./config.json" \
|
6 |
--tokenizer_name="./" \
|
@@ -18,6 +16,7 @@ python run_mlm_flax_stream.py \
|
|
18 |
--logging_steps="50" \
|
19 |
--save_steps="50" \
|
20 |
--eval_steps="50" \
|
21 |
-
|
22 |
--dtype="bfloat16" \
|
|
|
23 |
--push_to_hub
|
|
|
|
|
1 |
python run_mlm_flax_stream.py \
|
|
|
2 |
--model_name_or_path="xlm-roberta-base" \
|
3 |
--config_name="./config.json" \
|
4 |
--tokenizer_name="./" \
|
|
|
16 |
--logging_steps="50" \
|
17 |
--save_steps="50" \
|
18 |
--eval_steps="50" \
|
19 |
+
--output_dir="./" \
|
20 |
--dtype="bfloat16" \
|
21 |
+
--hub_model_id="NbAiLab/nb-roberta-base-scandi" \
|
22 |
--push_to_hub
|
run_mlm_flax_stream.py
CHANGED
@@ -655,7 +655,7 @@ if __name__ == "__main__":
|
|
655 |
)
|
656 |
print(f"Saving weights and logs of step {step+1}. \nThe result is saved to {training_args.output_folder} by worker {jax.process_index()}.")
|
657 |
except:
|
658 |
-
|
659 |
model.save_pretrained(
|
660 |
training_args.output_dir,
|
661 |
params=params
|
|
|
655 |
)
|
656 |
print(f"Saving weights and logs of step {step+1}. \nThe result is saved to {training_args.output_folder} by worker {jax.process_index()}.")
|
657 |
except:
|
658 |
+
breakpoint()
|
659 |
model.save_pretrained(
|
660 |
training_args.output_dir,
|
661 |
params=params
|