Warning
Python 3.9 is the verified working version; any version, newer or older, may not function properly.
The COINS model is trained using spaCy; as such, this section is akin to their docs#usage. If you have trouble with spaCy, please review their docs before creating an issue here! To train the model, simply:
- Install required dependencies
python3 -m pip install -r requirements.txt- Create a file for annotated data (more info at acoin)
echo "Please [set](COMMAND) a [timer](OPTION) for [15](NUMBER) [minutes](INPUT)" > annotations.txt- Run the training script
python3 main.pyThis will export the model in the root directory under the name COINS, this can then be passed to Ellie for use. You may also want to test the model, which can be done by running
python3 src/test.py