File size: 827 Bytes
34a4bae f3e9a7f e0568fb 9e5bba0 79362db e0568fb e6b7fc7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
---
{}
---
To test, first download the word2vec pretrained model and unzip
https://drive.google.com/file/d/0B7XkCwpI5KDYNlNUTTlSS21pQmM/edit?usp=sharing
Put it under certain path
Then run eval_py.ipynb in the repo.
Remember to replace the path to test data and word2vec pretrained model.
Find access token in the token.txt
If you can't import model from huggingface directly, you can try the train+test notebook.
First, download the whole directory and put the config.json and safetensor under *./exp/fox_nbc/checkpoints/best/*.
Then, run every cell except the trainning part. Make sure the evaluation cell can load the checkpoint from the directory.
An example of project directory looks like this:
https://cdn-uploads.huggingface.co/production/uploads/673ab29d3c897b60a54ea67f/GbN3U6bSUhya5FeQn-TjO.png
|