Locked History Actions

Diff for "DeepEvents"

Differences between revisions 2 and 3
Revision 2 as of 2019-09-21 11:21:49
Size: 392
Comment:
Revision 3 as of 2019-09-21 11:23:39
Size: 873
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
[[pl_spacy_model-0.0.1.tar|pl_spacy_model-0.0.1.tar.gz]] You can download the current distribution package from [[https://github.com/mwasiluk/ipi-deep-event-detection|GitHub repository]].
Line 11: Line 11:
Install package as any other python module:
python -m pip install ścieżka-do\pl_spacy_model-0.0.1.tar.gz
DeepEvents uses:
 * Keras and Tensorflow libraries,
 * Liner2 to read/write documents and feature extraction,
 * word2vec models for Polish.
Line 15: Line 17:
import spacy
nlp = spacy.load('pl_spacy_model')
src/event_detector.py

=== Help: ===
src/event_detector.py --help

=== Training the model: ===
python src/event_detector.py -t -c config/config.json -m models/model_multi_class -i batch:ccl ../sytuacje/2015-10-09-kpwr-1.2.7-events/index_events.txt

=== Evaluation (pipe mode): ===
python src/event_detector.py -c config/config.json -m models/model_m -i batch:ccl ../sytuacje/index_events_test1.txt out/out.txt

DeepEvents

Event identification in Polish, based on deep neural networks.

Author

Michał Wasiluk

Downloads

You can download the current distribution package from GitHub repository.

Documentation

DeepEvents uses:

  • Keras and Tensorflow libraries,
  • Liner2 to read/write documents and feature extraction,
  • word2vec models for Polish.

Running:

src/event_detector.py

Help:

src/event_detector.py --help

Training the model:

python src/event_detector.py -t -c config/config.json -m models/model_multi_class -i batch:ccl ../sytuacje/2015-10-09-kpwr-1.2.7-events/index_events.txt

Evaluation (pipe mode):

python src/event_detector.py -c config/config.json -m models/model_m -i batch:ccl ../sytuacje/index_events_test1.txt out/out.txt