Skip to content

Commit

Permalink
Merge pull request #4869 from RasaHQ/convert-pipeline-doc
Browse files Browse the repository at this point in the history
Update choosing-a-pipeline.rst
  • Loading branch information
tmbo committed Dec 6, 2019
2 parents acedba4 + 4efb352 commit 0151e24
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,4 @@ events.db
env
venv
.dir-locals.el
.history
1 change: 1 addition & 0 deletions changelog/4869.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Document the pipeline for ``pretrained_embeddings_convert`` in the pre-configured pipelines section.
File renamed without changes.
21 changes: 21 additions & 0 deletions docs/nlu/choosing-a-pipeline.rst
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,27 @@ n-grams, preserving word boundaries. We empirically found the second featurizer
to be more powerful, but we decided to keep the first featurizer as well to make
featurization more robust.

.. _section_pretrained_embeddings_convert_pipeline:

pretrained_embeddings_convert
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

To use the ``pretrained_embeddings_convert`` template:

.. literalinclude:: ../../sample_configs/config_pretrained_embeddings_convert.yml
:language: yaml

To use the components and configure them separately:

.. code-block:: yaml
language: "en"
pipeline:
- name: "WhitespaceTokenizer"
- name: "ConveRTFeaturizer"
- name: "EmbeddingIntentClassifier"
.. _section_pretrained_embeddings_spacy_pipeline:

pretrained_embeddings_spacy
Expand Down

0 comments on commit 0151e24

Please sign in to comment.