Skip to content

Commit

Permalink
Release 0.17.6
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnatovFedor authored Sep 16, 2022
1 parent e463c13 commit 27ad09e
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 34 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ DeepPavlov is designed for
* Documentation [*docs.deeppavlov.ai*](http://docs.deeppavlov.ai/)
* Model List [*docs:features/*](http://docs.deeppavlov.ai/en/master/features/overview.html)
* Contribution Guide [*docs:contribution_guide/*](http://docs.deeppavlov.ai/en/master/devguides/contribution_guide.html)
* Issues [*github/issues/*](https://github.com/deeppavlovteam/DeepPavlov/issues)
* Issues [*github/issues/*](https://github.com/deeppavlov/DeepPavlov/issues)
* Forum [*forum.deeppavlov.ai*](https://forum.deeppavlov.ai/)
* Blogs [*medium.com/deeppavlov*](https://medium.com/deeppavlov)
* Tutorials [*examples/*](examples) and [extended colab tutorials](https://github.com/deeppavlovteam/dp_tutorials)
* Tutorials [*examples/*](examples) and [extended colab tutorials](https://github.com/deeppavlov/dp_tutorials)
* Docker Hub [*hub.docker.com/u/deeppavlov/*](https://hub.docker.com/u/deeppavlov/)
* Docker Images Documentation [*docs:docker-images/*](http://docs.deeppavlov.ai/en/master/intro/installation.html#docker-images)

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.5'
__version__ = '0.17.6'
__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
2 changes: 1 addition & 1 deletion deeppavlov/requirements/bert_dp.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
git+https://github.com/deeppavlovteam/bert.git@feat/multi_gpu
git+https://github.com/deeppavlov/bert.git@feat/multi_gpu
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
'torch', 'transformers', 'udapi', 'ufal_udpipe', 'whapi', 'xeger']

extlinks = {
'config': (f'https://github.com/deeppavlovteam/DeepPavlov/blob/{release}/deeppavlov/configs/%s', None)
'config': (f'https://github.com/deeppavlov/DeepPavlov/blob/{release}/deeppavlov/configs/%s', None)
}

# -- Options for intersphinx extension ---------------------------------------
Expand Down
10 changes: 5 additions & 5 deletions docs/devguides/contribution_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ you can receive an invitation to one of our events or an opportunity to become a
How to contribute:

#. Don't start the coding first.
You should do a quick search over `existing issues <https://github.com/deeppavlovteam/DeepPavlov/issues?q=is%3Aissue>`_
You should do a quick search over `existing issues <https://github.com/deeppavlov/DeepPavlov/issues?q=is%3Aissue>`_
for the project to see if your suggestion was already discussed or even resolved.
If nothing relevant was found, please create a new one and state what exactly you would like
to implement or fix.
You may proceed with coding once someone on our team accepts your offer.

#. `Fork <https://guides.github.com/activities/forking/>`_ the
`DeepPavlov repository <https://github.com/deeppavlovteam/DeepPavlov>`_
`DeepPavlov repository <https://github.com/deeppavlov/DeepPavlov>`_

#. Checkout the ``dev`` branch from
`the upstream <https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/configuring-a-remote-for-a-fork>`_
Expand All @@ -33,7 +33,7 @@ How to contribute:
git clone https://github.com/<OWNER>/<REPOSITORY>.git
cd <REPOSITORY>
git remote add upstream https://github.com/deeppavlovteam/DeepPavlov.git
git remote add upstream https://github.com/deeppavlov/DeepPavlov.git
git fetch upstream
git checkout -b dev --track upstream/dev
Expand Down Expand Up @@ -68,7 +68,7 @@ How to contribute:
#. We ask you to **add some tests**. This will help us maintain the
framework, and this will help users to understand the feature you introduce.
Examples of implemented tests are available in `tests/
<https://github.com/deeppavlovteam/DeepPavlov/tree/dev/tests>`_
<https://github.com/deeppavlov/DeepPavlov/tree/dev/tests>`_
directory.

#. Please, **update the documentation**, if you committed significant changes
Expand All @@ -85,7 +85,7 @@ How to contribute:
Follow the `semantic commit notation <https://seesparkbox.com/foundry/semantic_commit_messages>`_
for the name of the commit.

#. Create a new `pull request <https://github.com/deeppavlovteam/DeepPavlov/pulls>`_
#. Create a new `pull request <https://github.com/deeppavlov/DeepPavlov/pulls>`_
to get your feature branch merged into dev for others to use.
Don't forget to `reference <https://help.github.com/en/github/writing-on-github/autolinked-references-and-urls>`_
the GitHub issue associated with your task in the description.
Expand Down
8 changes: 4 additions & 4 deletions docs/features/models/intent_catcher.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ How Do I: Integrate Intent Catcher into DeepPavlov Deepy

To integrate your Intent Catcher-based intent classifier into your Multiskill AI Assistant built using DeepPavlov Conversational AI Stack, follow the following instructions:

1. Clone `Deepy repository <https://github.com/deeppavlovteam/assistant-base>`_
2. Replace ``docker-compose.yml`` in the root of the repository and ``pipeline_conf.json`` in the ``/agent/`` subdirectory with the corresponding files from the `deepy_adv <https://github.com/deeppavlovteam/assistant-base/tree/main/assistant_dists/deepy_adv>`_ **Deepy Distribution**
1. Clone `Deepy repository <https://github.com/deeppavlov/assistant-base>`_
2. Replace ``docker-compose.yml`` in the root of the repository and ``pipeline_conf.json`` in the ``/agent/`` subdirectory with the corresponding files from the `deepy_adv <https://github.com/deeppavlov/assistant-base/tree/main/assistant_dists/deepy_adv>`_ **Deepy Distribution**
3. Clone the `Tutorial Notebook <https://colab.research.google.com/drive/1l6Fhj3rEVup0N-n9Jy5z_iA3b1W53V6m?usp=sharing>`_
4. Change its ``intents`` based on your project needs with your custom **intents**
5. Train the Intent Catcher model in your copy of the Tutorial Notebook
6. Download and put saved data from your copy of the Tutorial Notebook into the `Intent Catcher <https://github.com/deeppavlovteam/assistant-base/tree/main/annotators/intent_catcher>`_
7. [Optional] Unless you need a Chit-Chat skill remove `it <https://github.com/deeppavlovteam/assistant-base/tree/main/skills/program-y>`_ from at both the ``/agent/pipeline_conf.json`` and from ``docker-compose.yml``
6. Download and put saved data from your copy of the Tutorial Notebook into the `Intent Catcher <https://github.com/deeppavlov/assistant-base/tree/main/annotators/intent_catcher>`_
7. [Optional] Unless you need a Chit-Chat skill remove `it <https://github.com/deeppavlov/assistant-base/tree/main/skills/program-y>`_ from at both the ``/agent/pipeline_conf.json`` and from ``docker-compose.yml``
8. Use ``docker-compose up --build`` command to build and run your DeepPavlov-based Multiskill AI Assistant

.. note::
Expand Down
2 changes: 1 addition & 1 deletion docs/features/models/kbqa.rst
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ Advanced: Using Entity Linking and Wiki Parser As Standalone Services For KBQA
------------------------------------------------------------------------------
Default configuration for KBQA was designed to use all of the supporting models together as a part of the KBQA pipeline. However, there might be a case when you want to work with some of these models in addition to KBQA.

For example, you might want to use Entity Linking as an annotator in your `Deepy-based <https://github.com/deeppavlovteam/assistant-base>`_ multiskill AI Assistant. Or, you might want to use Wiki Parser component to directly run SPARQL queries against your copy of Wikidata. To support these usecase, starting with this release you can also deploy supporting models as standalone components.
For example, you might want to use Entity Linking as an annotator in your `Deepy-based <https://github.com/deeppavlov/assistant-base>`_ multiskill AI Assistant. Or, you might want to use Wiki Parser component to directly run SPARQL queries against your copy of Wikidata. To support these usecase, starting with this release you can also deploy supporting models as standalone components.

Config :config:`kbqa_entity_linking <kbqa/kbqa_entity_linking.json>` can be used as service with the following command:

Expand Down
18 changes: 9 additions & 9 deletions docs/features/pretrained_vectors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ Downloads

The models can be downloaded and run by configuration file or tensorflow hub module from:

+--------------------------------------------------------------------+---------------------------------------------+------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Description | Dataset parameters | Perplexity | Configuration file and tensorflow hub module |
+====================================================================+=============================================+==================+=============================================================================================================================================================================================================================================+
| ELMo on `Russian Wikipedia <https://ru.wikipedia.org/>`__ | lines = 1M, tokens = 386M, size = 5GB | 43.692 | `config_file <https://github.com/deeppavlovteam/DeepPavlov/blob/master/deeppavlov/configs/embedder/elmo_ru_wiki.json>`__, `module_spec <http://files.deeppavlov.ai/deeppavlov_data/elmo_ru-wiki_600k_steps.tar.gz>`__ |
+--------------------------------------------------------------------+---------------------------------------------+------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| ELMo on `Russian WMT News <http://www.statmt.org/>`__ | lines = 63M, tokens = 946M, size = 12GB | 49.876 | `config_file <https://github.com/deeppavlovteam/DeepPavlov/blob/master/deeppavlov/configs/embedder/elmo_ru_news.json>`__, `module_spec <http://files.deeppavlov.ai/deeppavlov_data/elmo_ru-news_wmt11-16_1.5M_steps.tar.gz>`__ |
+--------------------------------------------------------------------+---------------------------------------------+------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| ELMo on `Russian Twitter <https://twitter.com/>`__ | lines = 104M, tokens = 810M, size = 8.5GB | 94.145 | `config_file <https://github.com/deeppavlovteam/DeepPavlov/blob/master/deeppavlov/configs/embedder/elmo_ru_twitter.json>`__, `module_spec <http://files.deeppavlov.ai/deeppavlov_data/elmo_ru-twitter_2013-01_2018-04_600k_steps.tar.gz>`__ |
+--------------------------------------------------------------------+---------------------------------------------+------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+--------------------------------------------------------------------+---------------------------------------------+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Description | Dataset parameters | Perplexity | Configuration file and tensorflow hub module |
+====================================================================+=============================================+==================+=========================================================================================================================================================================================================================================+
| ELMo on `Russian Wikipedia <https://ru.wikipedia.org/>`__ | lines = 1M, tokens = 386M, size = 5GB | 43.692 | `config_file <https://github.com/deeppavlov/DeepPavlov/blob/master/deeppavlov/configs/embedder/elmo_ru_wiki.json>`__, `module_spec <http://files.deeppavlov.ai/deeppavlov_data/elmo_ru-wiki_600k_steps.tar.gz>`__ |
+--------------------------------------------------------------------+---------------------------------------------+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| ELMo on `Russian WMT News <http://www.statmt.org/>`__ | lines = 63M, tokens = 946M, size = 12GB | 49.876 | `config_file <https://github.com/deeppavlov/DeepPavlov/blob/master/deeppavlov/configs/embedder/elmo_ru_news.json>`__, `module_spec <http://files.deeppavlov.ai/deeppavlov_data/elmo_ru-news_wmt11-16_1.5M_steps.tar.gz>`__ |
+--------------------------------------------------------------------+---------------------------------------------+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| ELMo on `Russian Twitter <https://twitter.com/>`__ | lines = 104M, tokens = 810M, size = 8.5GB | 94.145 | `config_file <https://github.com/deeppavlov/DeepPavlov/blob/master/deeppavlov/configs/embedder/elmo_ru_twitter.json>`__, `module_spec <http://files.deeppavlov.ai/deeppavlov_data/elmo_ru-twitter_2013-01_2018-04_600k_steps.tar.gz>`__ |
+--------------------------------------------------------------------+---------------------------------------------+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

fastText
--------
Expand Down
12 changes: 6 additions & 6 deletions docs/features/skills/go_bot.rst
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ Tutorials

We encourage you to explore the tutorials below to get better understanding of how to build basic and more advanced goal-oriented skills with these RASA DSLs:

* `Original Tutorial Notebook Featuring Simple and DSTC2-based Skills <https://github.com/deeppavlovteam/DeepPavlov/blob/master/examples/gobot_md_yaml_configs_tutorial.ipynb>`_
* `Original Tutorial Notebook Featuring Simple and DSTC2-based Skills <https://github.com/deeppavlov/DeepPavlov/blob/master/examples/gobot_md_yaml_configs_tutorial.ipynb>`_

* `Tutorial Notebook Featuring Harvesters Maintenance Go-Bot Skill from Deepy 3000 Demo <https://colab.research.google.com/drive/1BdTnDsytEABOU7RbNRQqIVE-rBHOv0kM?usp=sharing>`_

Expand All @@ -232,13 +232,13 @@ How Do I: Integrate Go-Bot-based Goal-Oriented Skill into DeepPavlov Deepy

To integrate your Go-Bot-based goal-oriented skill into your Multiskill AI Assistant built using DeepPavlov Conversational AI Stack, follow the following instructions:

1. Clone `Deepy repository <https://github.com/deeppavlovteam/assistant-base>`_
2. Replace ``docker-compose.yml`` in the root of the repository and ``pipeline_conf.json`` in the ``/agent/`` subdirectory with the corresponding files from the `deepy_gobot_base <https://github.com/deeppavlovteam/assistant-base/tree/main/assistant_dists/deepy_gobot_base>`_ **Deepy Distribution**
1. Clone `Deepy repository <https://github.com/deeppavlov/assistant-base>`_
2. Replace ``docker-compose.yml`` in the root of the repository and ``pipeline_conf.json`` in the ``/agent/`` subdirectory with the corresponding files from the `deepy_gobot_base <https://github.com/deeppavlov/assistant-base/tree/main/assistant_dists/deepy_gobot_base>`_ **Deepy Distribution**
3. Clone the second `Tutorial Notebook <https://colab.research.google.com/drive/1BdTnDsytEABOU7RbNRQqIVE-rBHOv0kM?usp=sharing>`_
4. Change its ``domain.yml``, ``nlu.md``, and ``stories.md`` based on your project needs with your custom **intents**, **slots**, **forms**, and write your own **stories**
5. Train the go-bot model in your copy of the Tutorial Notebook
6. Download and put saved data from your copy of the Tutorial Notebook into the `Harvesters Maintenance Go-Bot Skill <https://github.com/deeppavlovteam/assistant-base/tree/main/skills/harvesters_maintenance_gobot_skill>`_
7. [Optional] Unless you need a Chit-Chat skill remove `it <https://github.com/deeppavlovteam/assistant-base/tree/main/skills/program-y>`_ from at both the ``/agent/pipeline_conf.json`` and from ``docker-compose.yml``
6. Download and put saved data from your copy of the Tutorial Notebook into the `Harvesters Maintenance Go-Bot Skill <https://github.com/deeppavlov/assistant-base/tree/main/skills/harvesters_maintenance_gobot_skill>`_
7. [Optional] Unless you need a Chit-Chat skill remove `it <https://github.com/deeppavlov/assistant-base/tree/main/skills/program-y>`_ from at both the ``/agent/pipeline_conf.json`` and from ``docker-compose.yml``
8. Use ``docker-compose up --build`` command to build and run your DeepPavlov-based Multiskill AI Assistant

.. note::
Expand All @@ -252,7 +252,7 @@ Tutorials

Follow this tutorial to experiment with the Form-Filling functionality in Go-Bot-based goal-oriented skills built using RASA DSLs (v1):

* `Tutorial Notebook Featuring Basic Form-Filling <https://github.com/deeppavlovteam/DeepPavlov/blob/feature/gobot_naive_formfilling/examples/gobot_formfilling_tutorial.ipynb>`_
* `Tutorial Notebook Featuring Basic Form-Filling <https://github.com/deeppavlov/DeepPavlov/blob/feature/gobot_naive_formfilling/examples/gobot_formfilling_tutorial.ipynb>`_


DSTC2 Format Support
Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def read_requirements():
def readme():
with open(os.path.join(__location__, 'README.md'), encoding='utf8') as f:
text = f.read()
text = re.sub(r']\((?!https?://)', r'](https://github.com/deeppavlovteam/DeepPavlov/blob/master/', text)
text = re.sub(r'\ssrc="(?!https?://)', r' src="https://raw.githubusercontent.com/deeppavlovteam/DeepPavlov/master/', text)
text = re.sub(r']\((?!https?://)', r'](https://github.com/deeppavlov/DeepPavlov/blob/master/', text)
text = re.sub(r'\ssrc="(?!https?://)', r' src="https://raw.githubusercontent.com/deeppavlov/DeepPavlov/master/', text)
return text


Expand All @@ -56,8 +56,8 @@ def readme():
author=__author__,
author_email=__email__,
license=__license__,
url='https://github.com/deeppavlovteam/DeepPavlov',
download_url=f'https://github.com/deeppavlovteam/DeepPavlov/archive/{__version__}.tar.gz',
url='https://github.com/deeppavlov/DeepPavlov',
download_url=f'https://github.com/deeppavlov/DeepPavlov/archive/{__version__}.tar.gz',
keywords=__keywords__,
include_package_data=True,
extras_require={
Expand Down

0 comments on commit 27ad09e

Please sign in to comment.