NeuralGym
🚀GUI for training spaCy models
Install / Use
/learn @d5555/NeuralGymREADME
NeuralGym v1.1
python app for training spaCy models<br/> Check out TagEditor for creating training data
Installation
Option 1: No installation required. Download zip archive files NGym.7z.001 and NGym.7z.002 into the same folder, and unzip NGym.7z.001.<br/> Launch ng.exe
Option 2: from cmd
git clone https://github.com/d5555/NeuralGym
pip install neuralgym/.
To run application open terminal (cmd) and type: python -m ngym or ngym or
python
>>>import ngym
How to use
- Create an output directory where the trained model will be saved.<br/>
- Select
trainanddevdata files in spaCy format. You can use TagEditor to create your training dataset. For demonstration purposes there are 2 dataset files,imdb_train.spacy(400 docs) andimdb_dev.spacy(100 docs) annotated with POS ,Dependencies, NER and Textcategories. - Select a source model (it can be any spaCy model compatible with spaCy 3.0+) for training from source. You can specify either a source model name, eg en_core_web_sm or select a folder with model. If you specify the model name without full path, the model should be placed into the application's main folder (including model's dist-info folder) or add path to the Python folder where spaCy models are installed by pushing button
Add sys path. Usually it is Python...\Lib\site-package. For example ... "C:\Python39\Lib\site-packages" <br/> To train from source check on Training optionsFrom sourcerespectively or uncheck them to start from blank model. <br/>Labels in the training data should match labels in the original model otherwise start from blank model. - Check on Use averages so the model to be saved with parameter averaging after training is done.
- Press Start to initialize training. You can disrupt training process at any time by clicking stop.
- After training is completed there will be 2 folders in the output directory, 'Best model' and 'Last model'.
- Button Reset allows to restore default settings in case of an error. Or delete 'config.cfg' in the main folder.

*If you want to contribute to a project and make it better, your help is very welcome.<br>gitprojects5@gmail.com
Related Skills
proje
Interactive vocabulary learning platform with smart flashcards and spaced repetition for effective language acquisition.
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
research_rules
Research & Verification Rules Quote Verification Protocol Primary Task "Make sure that the quote is relevant to the chapter and so you we want to make sure that we want to have it identifie
groundhog
398Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
