Span-ASTE
Span-ASTE copied to clipboard
Optional: Set up NLTK packages这个是什么意思呀,可以帮忙讲解一下吗
Optional: Set up NLTK packages
if [[ -f punkt.zip ]]; then mkdir -p /home/admin/nltk_data/tokenizers cp punkt.zip /home/admin/nltk_data/tokenizers fi if [[ -f wordnet.zip ]]; then mkdir -p /home/admin/nltk_data/corpora cp wordnet.zip /home/admin/nltk_data/corpora fi 不明白这个什么意思,研一学生求求了
Hi, the purpose of these commands is to use pre-downloaded NLTK packages if they are available, because they may be slow to download in some countries.
However, it is optional because NLTK will automatically download them from the official server if the files are not available.
嗨,这些命令的目的是使用预下载的NLTK 包(如果可用),因为它们在某些国家/地区下载速度可能很慢。
但是,它是可选的,因为如果文件不可用,NLTK 将自动从官方服务器下载它们。
hi, File "span_model.py", line 16, in
Hi, what is the command that you ran, is it following the model training steps here?
https://github.com/chiayewken/Span-ASTE#model-training
我直接执行的span_model/models/span_model.py 这句话,我哭了,研一学生想要运行代码好难呀,哭了 https://github.com/chiayewken/Span-ASTE#model-training 这个链接里面的步骤也不是很明白,可以加一个联系方式吗?
Hi, after you have run the installation steps, you can run the training command below:
python aste/wrapper.py run_train_many \
--save_dir_template "outputs/14lap/seed_{}" \
--random_seeds [0,1,2,3,4] \
--path_train data/triplet_data/14lap/train.txt \
--path_dev data/triplet_data/14lap/dev.txt