Yes, I mean like this. I have tried the following combination, but I think there is an error when using asafaya/bert-base-arabic
.
version: "2.0"
language: ar
pipeline:
- name: WhitespaceTokenizer
- name: CountVectorsFeaturizer
- name: CountVectorsFeaturizer
analyzer: char_wb
min_ngram: 1
max_ngram: 4
- name: LanguageModelFeaturizer
model_name: "bert"
model_weights: "rasa/LaBSE"
- name: DIETClassifier
epochs: 200
- name: FallbackClassifier
threshold: 0.7
- name: DucklingEntityExtractor
url: http://localhost:8000
dimensions:
- time
- number
- name: EntitySynonymMapper
I put the problem on another post, I did that before your reply and maybe it is a different question. In case you want to check, here it is: Problem when using transformer in NLU pipeline