Open Freshman-Fan opened 2 years ago
or you can copy the command out of the "bash" file to run? For example,
python3 xxx
But I doubt that Google Colab can host for a long time to train
My file path on Google Colab looks like this
/content/gdrive/MyDrive/Deductive-MWP-main/scripts/run_math23k.bash
Now I want to reproduce the code, what do I type?
Or can you show me how to run your code directly on Github and reproduce the training process?
Usually, you should be able to directly run this in the terminal (in your server).
bash scripts/run_math23k.sh
Would be good if you can let me know the errors after you run the command
bash scripts/run_math23k.sh
In google colab, probably things will be different, I might try to make it more detailed to you later
Thanks, I just started Github, I don't even know how to run code, where to click, I've been using Google Colab to train data all the time.
When I run it on Collab, it returns this
Running mawps with bert model chinese-bert-wwm-ext and var update mode gru
scripts/run_math23k.bash: line 18: logs/math23k_chinese-bert-wwm-ext_gru_500.log: No such file or directory
Running mawps with bert model chinese-roberta-wwm-ext and var update mode gru
...
Do you have any ideas?
Probably mkdir logs
to make a log folder
Hello,
Thank you for the code.But I ran into some problems,I don't know how to run your code.
I wanted to reproduce your training results, but I packed up the entire file and uploaded it to Google Colab and didn't know how to run it, like you said bash scripts/run_math23k.sh, but error name 'bash' is not defined. I am a newcomer and do not understand the code, can you help me solve and successfully reproduce?