Update README.md
Browse files
README.md
CHANGED
|
@@ -26,10 +26,14 @@ Mijn text classification model draagt bij aan een meer gepersonaliseerde en effi
|
|
| 26 |
## Prompt with Prodigy
|
| 27 |
Go to folder envs (home/anaconda3/envs) and open the terminal (Ctl+ALT+T)
|
| 28 |
run: source prodi-env/bin/activate where prodi-env is the folder of processing
|
|
|
|
| 29 |
run: prodigy textcat.manual meningen_dataset ./meningen.txt --label Positief,Negatief
|
|
|
|
| 30 |
run to create model : prodigy train /home/gebruiker/anaconda3/hack_model --textcat meningen_dataset --lang "nl" --label-stats --verbose
|
| 31 |
or to export data to spacy
|
|
|
|
| 32 |
Type: prodigy data-to-spacy /home/gebruiker/anaconda3/envs/corpus --textcat meningen_dataset --lang "nl" --eval-split 0.1
|
|
|
|
| 33 |
To use this data for training with spaCy, you can run:
|
| 34 |
python -m spacy train --output /home/gebruiker/anaconda3/meningen_model /home/gebruiker/anaconda3/envs/corpus/config.cfg --paths.train /home/gebruiker/anaconda3/envs/corpus/train.spacy --paths.dev /home/gebruiker/anaconda3/envs/corpus/dev.spacy
|
| 35 |
|
|
|
|
| 26 |
## Prompt with Prodigy
|
| 27 |
Go to folder envs (home/anaconda3/envs) and open the terminal (Ctl+ALT+T)
|
| 28 |
run: source prodi-env/bin/activate where prodi-env is the folder of processing
|
| 29 |
+
|
| 30 |
run: prodigy textcat.manual meningen_dataset ./meningen.txt --label Positief,Negatief
|
| 31 |
+
|
| 32 |
run to create model : prodigy train /home/gebruiker/anaconda3/hack_model --textcat meningen_dataset --lang "nl" --label-stats --verbose
|
| 33 |
or to export data to spacy
|
| 34 |
+
|
| 35 |
Type: prodigy data-to-spacy /home/gebruiker/anaconda3/envs/corpus --textcat meningen_dataset --lang "nl" --eval-split 0.1
|
| 36 |
+
|
| 37 |
To use this data for training with spaCy, you can run:
|
| 38 |
python -m spacy train --output /home/gebruiker/anaconda3/meningen_model /home/gebruiker/anaconda3/envs/corpus/config.cfg --paths.train /home/gebruiker/anaconda3/envs/corpus/train.spacy --paths.dev /home/gebruiker/anaconda3/envs/corpus/dev.spacy
|
| 39 |
|