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

Fix broken tokenizer imports #5

Merged
merged 1 commit into from
Jan 26, 2022

Conversation

todd-cook
Copy link
Contributor

  • Fixed broken tokenizer imports to match an updated CLTK release.
  • Updated the requirements.txt with a working CLTK version.

Fixes issue: [https://github.com//issues/3]

All other libraries installed as listed in the requirements file.
Verified with an install of PyTorch 1.10.0 and execution of the scripts:

python3 scripts/gen_berts.py --bertPath models/latin_bert/ --tokenizerPath models/subword_tokenizer_latin/latin.subword.encoder

python3 scripts/predict_word.py --bertPath ../../models/latin_bert/ --tokenizerPath ../../models/subword_tokenizer_latin/latin.subword.encoder -d data/emendation_filtered.txt > logs/infilling.log 2>&1

@diyclassics
Copy link
Collaborator

Ready to merge (with small change to README.md > Install with updated method for corpus download based on CLTK v1)

@diyclassics diyclassics merged commit c36aaf9 into dbamman:master Jan 26, 2022
@diyclassics
Copy link
Collaborator

Fixes #3

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

Successfully merging this pull request may close these issues.

2 participants