How to use ConveRT Featurizer in Windows

Hi, I am not able to run configuration file with ConveRT Featurizer in Windows.

My Config File :

language: en

pipeline:
  - name: WhitespaceTokenizer
  - name: ConveRTFeaturizer
    model_url: https://github.com/connorbrinton/polyai-models/releases/download/v1.0/model.tar.gz
  - name: RegexFeaturizer
  - name: CountVectorsFeaturizer
  - name: CountVectorsFeaturizer
    analyzer: char_wb
    min_ngram: 1
    max_ngram: 4
  - name: DIETClassifier
    epochs: 100
  - name: EntitySynonymMapper
  - name: RegexEntityExtractor
  - name: ResponseSelector
    epochs: 100
  - name: FallbackClassifier
    threshold: 0.65

policies:
   - name: MemoizationPolicy
   - name: TEDPolicy
     max_history: 5
     epochs: 100
   - name: RulePolicy

Please share your error.

Also please properly format your code to make it readable by placing three backticks (```), not apostrophes (’’’), above and below your code

```
like this
```

I have done it for you this time but please do it in the future.

@ChrisRahme Thankyou… I will do it the next time…Please find the following error :

I can’t see anything.

Please always copy-paste errors and code instead of taking screenshots, and format them with the above method.

It will also help us copy the error and research it, or try it ourselves.

@ChrisRahme …Hi…Please find the following error :

Training model 'config1' failed.
Error: c:\users\10685557\onedrive - lti\desktop\code\collab bot\venv1\lib\site-packages\tensorflow_text\python\metrics\_text_similarity_metric_ops.so not found

Please share the outputs of:

  • rasa --version
  • python -V
  • pip -V

@ChrisRahme Please find the following outputs :

  1. rasa --version:
Rasa Version:               2.8.1
Minimum Compatible Version: 2.8.0
Rasa SDK Version:           2.8.1
Rasa X Version:             None
Python Version:             3.8.6
Operating System :          Windows-10-10.0.19041-SP0
  1. python -V:
Python 3.8.6
  1. pip -V:
pip 22.0.4 from c:\users\10685557\onedrive - lti\desktop\code\collab bot\venv1\lib\site-packages\pip (python 3.8)

Okay, please run pip install rasa==2.8.14 rasa-sdk==2.8.3

@ChrisRahme I am also getting the below error when I am using ConveRT Tokenizer and Featurizer. tensorflow.python.framework.errors_impl.NotFoundError: c:\users\ramendra.tyagi.conda\envs\irisva\lib\site-packages\tensorflow_text\python\metrics_text_similarity_metric_ops.so not found

Python: 3.7.4 rasa 2.3.1 rasa-sdk 2.3.1 tensorflow 2.3.4 tensorflow-addons 0.11.2 tensorflow-estimator 2.3.0 tensorflow-hub 0.10.0 tensorflow-probability 0.11.1 tensorflow-text 2.4.1