Skip to content

Commit

Permalink
add convert pipeline details
Browse files Browse the repository at this point in the history
  • Loading branch information
rgstephens committed Nov 27, 2019
1 parent 9307818 commit 1c0bbab
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -85,3 +85,4 @@ events.db
env
venv
.dir-locals.el
.history
21 changes: 21 additions & 0 deletions docs/nlu/choosing-a-pipeline.rst
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 1c0bbab

Please sign in to comment.