Skip to content

Commit

Permalink
remove: elmo (#1533)
Browse files Browse the repository at this point in the history
* Remove elmo and elmo classifiers

* Delete elmo tests

* Fix docs

* docs: returned metric and dataset name for elmo

* Add Python code sample for ELMo

* fix: docs build

* docs: removed elmo model from README.md

* docs: removed team

* docs: added 3.8 and 3.9 support info

* refactor: jinja2 requirement moved from common requirements to docs

Co-authored-by: Fedor Ignatov <ignatov.fedor@gmail.com>
  • Loading branch information
vaskonov and IgnatovFedor committed Mar 29, 2022
1 parent 74b8611 commit d932c9b
Show file tree
Hide file tree
Showing 23 changed files with 41 additions and 843 deletions.
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![License Apache 2.0](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/deepmipt/DeepPavlov/blob/master/LICENSE)
![Python 3.6, 3.7](https://img.shields.io/badge/python-3.6%20%7C%203.7-green.svg)
![Python 3.6, 3.7, 3.8, 3.9](https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9-green.svg)
[![Downloads](https://pepy.tech/badge/deeppavlov)](https://pepy.tech/project/deeppavlov)
<img align="right" height="27%" width="27%" src="docs/_static/deeppavlov_logo.png"/>

Expand Down Expand Up @@ -37,7 +37,7 @@ Please leave us [your feedback](https://forms.gle/i64fowQmiVhMMC7f9) on how we c

[Morphological tagging](http://docs.deeppavlov.ai/en/master/features/models/morphotagger.html) | [Syntactic parsing](http://docs.deeppavlov.ai/en/master/features/models/syntaxparser.html)

[Automatic Spelling Correction](http://docs.deeppavlov.ai/en/master/features/models/spelling_correction.html) | [ELMo training and fine-tuning](http://docs.deeppavlov.ai/en/master/apiref/models/elmo.html)
[Automatic Spelling Correction](http://docs.deeppavlov.ai/en/master/features/models/spelling_correction.html)

[Entity Linking](http://docs.deeppavlov.ai/en/master/features/models/entity_linking.html) | [Multitask BERT](http://docs.deeppavlov.ai/en/master/features/models/multitask_bert.html)

Expand Down Expand Up @@ -69,7 +69,7 @@ Please leave us [your feedback](https://forms.gle/i64fowQmiVhMMC7f9) on how we c

## Installation

0. We support `Linux` and `Windows` platforms, `Python 3.6` and `Python 3.7`
0. We support `Linux` platform, `Python 3.6`, `3.7`, `3.8` and `3.9`
* **`Python 3.5` is not supported!**
* **installation for `Windows` requires `Git`(for example, [git](https://git-scm.com/download/win)) and `Visual Studio 2015/2017` with `C++` build tools installed!**

Expand Down Expand Up @@ -303,10 +303,7 @@ into the `"class_name"` field.

DeepPavlov is Apache 2.0 - licensed.

## The Team

DeepPavlov is built and maintained by [Neural Networks and Deep Learning Lab](https://www.facebook.com/deepmipt/)
at [MIPT](https://mipt.ru/english/).
##

<p align="center">
<img src="docs/_static/ipavlov_footer.png" width="50%" height="50%"/>
Expand Down
2 changes: 1 addition & 1 deletion deeppavlov/_meta.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.17.2'
__version__ = '1.0.0rc0'
__author__ = 'Neural Networks and Deep Learning lab, MIPT'
__description__ = 'An open source library for building end-to-end dialog systems and training chatbots.'
__keywords__ = ['NLP', 'NER', 'SQUAD', 'Intents', 'Chatbot']
Expand Down
170 changes: 0 additions & 170 deletions deeppavlov/configs/classifiers/rusentiment_elmo_twitter_cnn.json

This file was deleted.

36 changes: 0 additions & 36 deletions deeppavlov/configs/embedder/elmo_en_1billion.json

This file was deleted.

42 changes: 0 additions & 42 deletions deeppavlov/configs/embedder/elmo_ru_news.json

This file was deleted.

42 changes: 0 additions & 42 deletions deeppavlov/configs/embedder/elmo_ru_twitter.json

This file was deleted.

42 changes: 0 additions & 42 deletions deeppavlov/configs/embedder/elmo_ru_wiki.json

This file was deleted.

3 changes: 0 additions & 3 deletions deeppavlov/core/common/registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"dstc2_ner_iterator": "deeppavlov.dataset_iterators.dstc2_ner_iterator:Dstc2NerDatasetIterator",
"dstc2_reader": "deeppavlov.dataset_readers.dstc2_reader:DSTC2DatasetReader",
"dstc_slotfilling": "deeppavlov.models.slotfill.slotfill:DstcSlotFillingNetwork",
"elmo_embedder": "deeppavlov.models.embedders.elmo_embedder:ELMoEmbedder",
"emb_mat_assembler": "deeppavlov.models.preprocessors.assemble_embeddings_matrix:EmbeddingsMatrixAssembler",
"entity_detection_parser": "deeppavlov.models.kbqa.entity_detection_parser:EntityDetectionParser",
"entity_linker": "deeppavlov.models.kbqa.entity_linking:EntityLinker",
Expand Down Expand Up @@ -87,10 +86,8 @@
"multitask_iterator": "deeppavlov.dataset_iterators.multitask_iterator:MultiTaskIterator",
"multitask_reader": "deeppavlov.dataset_readers.multitask_reader:MultiTaskReader",
"ner": "deeppavlov.models.ner.network:NerNetwork",
"ner_bio_converter": "deeppavlov.models.ner.bio:BIOMarkupRestorer",
"ner_chunker": "deeppavlov.models.kbqa.entity_linking:NerChunker",
"ner_preprocessor": "deeppavlov.models.preprocessors.ner_preprocessor:NerPreprocessor",
"ner_svm": "deeppavlov.models.ner.svm:SVMTagger",
"ner_vocab": "deeppavlov.models.preprocessors.ner_preprocessor:NerVocab",
"nltk_moses_tokenizer": "deeppavlov.models.tokenizers.nltk_moses_tokenizer:NLTKMosesTokenizer",
"nltk_tokenizer": "deeppavlov.models.tokenizers.nltk_tokenizer:NLTKTokenizer",
Expand Down
Loading

0 comments on commit d932c9b

Please sign in to comment.