spaCy/examples
Sofie Van Landeghem 7f5715a081
Various fixes to NEL functionality, Example class etc (#5460)
* setting KB in the EL constructor, similar to how the model is passed on

* removing wikipedia example files - moved to projects

* throw an error when nlp.update is called with 2 positional arguments

* rewriting the config logic in create pipe to accomodate for other objects (e.g. KB) in the config

* update config files with new parameters

* avoid training pipeline components that don't have a model (like sentencizer)

* various small fixes + UX improvements

* small fixes

* set thinc to 8.0.0a9 everywhere

* remove outdated comment
2020-05-20 11:41:12 +02:00
..
experiments Various fixes to NEL functionality, Example class etc (#5460) 2020-05-20 11:41:12 +02:00
information_extraction Remove max_length parameter 2020-03-24 10:22:12 +01:00
keras_parikh_entailment Fix unicode strings in examples [ci skip] 2019-10-18 18:47:59 +02:00
notebooks 💫 Replace ujson, msgpack and dill/pickle/cloudpickle with srsly (#3003) 2018-12-03 01:28:22 +01:00
pipeline Update spaCy for thinc 8.0.0 (#4920) 2020-01-29 17:06:46 +01:00
training Various fixes to NEL functionality, Example class etc (#5460) 2020-05-20 11:41:12 +02:00
deep_learning_keras.py Update spaCy for thinc 8.0.0 (#4920) 2020-01-29 17:06:46 +01:00
load_from_docbin.py Generalize handling of tokenizer special cases (#4259) 2019-11-13 21:24:35 +01:00
README.md Get docs ready for v2.0.0 2017-11-07 12:00:43 +01:00
streamlit_spacy.py fix showing dep arcs in streamlit script 2020-03-19 10:30:20 +01:00
vectors_fast_text.py Auto-format examples 2018-12-02 04:26:26 +01:00
vectors_tensorboard.py Restore tqdm imports (#4804) 2019-12-16 13:12:19 +01:00

spaCy examples

The examples are Python scripts with well-behaved command line interfaces. For more detailed usage guides, see the documentation.

To see the available arguments, you can use the --help or -h flag:

$ python examples/training/train_ner.py --help

While we try to keep the examples up to date, they are not currently exercised by the test suite, as some of them require significant data downloads or take time to train. If you find that an example is no longer running, please tell us! We know there's nothing worse than trying to figure out what you're doing wrong, and it turns out your code was never the problem.