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

Downloads last month
2
Safetensors
Model size
129M params
Tensor type
F32
·
Inference Providers NEW
This model is not currently available via any of the supported third-party Inference Providers, and HF Inference API was unable to determine this model's library.

Collection including CISProject/News-Headline-Classifier-Notebook