Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

didn't find glove.840B.300d.txt, bert-base-uncased.tar.gz and vocab.txt in the code;In the file acd_and_sc_train_templates_pytorch.py,the module allennlp was not found #1

Open
7749546 opened this issue Sep 27, 2021 · 3 comments

Comments

@7749546
Copy link

7749546 commented Sep 27, 2021

Hello, I don't know how to do with the Instructions in the README file, and the module allennlp was not found. Can you give me some suggestions?

@l294265421
Copy link
Owner

Hello, I don't know how to do with the Instructions in the README file, and the module allennlp was not found. Can you give me some suggestions?

  1. You can download glove.840B.300d.txt, bert-base-uncased.tar.gz and vocab.txt using the urls in Instructions Section in the README file:
    glove.840B.300d.txt http://nlp.stanford.edu/data/wordvecs/glove.840B.300d.zip (unzip glove.840B.300d.zip to obtain glove.840B.300d.txt)
    bert-base-uncased.tar.gz https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-uncased.tar.gz
    vocab.txt https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-uncased-vocab.txt
  2. Using the following command to install allennlp:
    pip install allennlp==0.9.0

@7749546
Copy link
Author

7749546 commented Sep 27, 2021 via email

@7749546
Copy link
Author

7749546 commented Sep 28, 2021

Hello, I don't know how to do with the Instructions in the README file, and the module allennlp was not found. Can you give me some suggestions?

1. You can download glove.840B.300d.txt, bert-base-uncased.tar.gz and vocab.txt using the urls in Instructions Section in the README file:
   glove.840B.300d.txt http://nlp.stanford.edu/data/wordvecs/glove.840B.300d.zip (unzip glove.840B.300d.zip  to obtain glove.840B.300d.txt)
   bert-base-uncased.tar.gz https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-uncased.tar.gz
   vocab.txt https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-uncased-vocab.txt

2. Using the following command to install allennlp:
   pip install allennlp==0.9.0

Thank you very much!I don't know which directory should I put the files in. How do I know my own corresponding absolute path. And the link of vocab.txt can be opened but not be downloaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants