Error initializing graph component for node run_LanguageModelFeaturizer2

I was trying to build my rasa Dockerfile See below:

FROM python:3.10.0-bullseye

USER root

WORKDIR /app
ENV HOME=/app
COPY . .

RUN pip install -r ./requirements.txt

RUN rasa train
USER 1001

ENTRYPOINT [ "rasa" ]

CMD ["run", "--cors", "*"]

But it display the following error

 => ERROR [5/5] RUN rasa train                                                                                    17.1s
------
 > [5/5] RUN rasa train:
4.963 /usr/local/lib/python3.10/site-packages/rasa/core/tracker_store.py:1044: MovedIn20Warning: Deprecated API features detected! These feature(s) are not compatible with SQLAlchemy 2.0. To prevent incompatible upgrades prior to updating applications, ensure requirements files are pinned to "sqlalchemy<2.0". Set environment variable SQLALCHEMY_WARN_20=1 to show all deprecation warnings.  Set environment variable SQLALCHEMY_SILENCE_UBER_WARNING=1 to silence this message. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)
4.963   Base: DeclarativeMeta = declarative_base()
5.064 /usr/local/lib/python3.10/site-packages/rasa/shared/utils/validation.py:134: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
5.064   import pkg_resources
5.094 /usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py:2868: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('mpl_toolkits')`.
5.094 Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
5.094   declare_namespace(pkg)
5.101 /usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py:2868: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('ruamel')`.
5.101 Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
5.101   declare_namespace(pkg)
5.259 2024-01-24 15:20:51 INFO     rasa.cli.train  - Started validating domain and training data...
11.76 2024-01-24 15:20:58 INFO     rasa.validator  - Validating intents...
11.76 /usr/local/lib/python3.10/site-packages/rasa/shared/utils/io.py:99: UserWarning: The intent 'mood_great' is not used in any story or rule.
11.76 /usr/local/lib/python3.10/site-packages/rasa/shared/utils/io.py:99: UserWarning: The intent 'mood_unhappy' is not used in any story or rule.
11.76 /usr/local/lib/python3.10/site-packages/rasa/shared/utils/io.py:99: UserWarning: The intent 'supply_email' is not used in any story or rule.
11.76 2024-01-24 15:20:58 INFO     rasa.validator  - Validating uniqueness of intents and stories...
11.76 /usr/local/lib/python3.10/site-packages/rasa/shared/utils/io.py:99: UserWarning: The example 'buenas noches' was found labeled with multiple different intents in the training data. Each annotated message should only appear with one intent. You should fix that conflict The example is labeled with: goodbye, greet.
11.76 2024-01-24 15:20:58 INFO     rasa.validator  - Validating utterances...
11.76 /usr/local/lib/python3.10/site-packages/rasa/shared/utils/io.py:99: UserWarning: The utterance 'utter_product_provided' is not used in any story or rule.
11.76 /usr/local/lib/python3.10/site-packages/rasa/shared/utils/io.py:99: UserWarning: The utterance 'utter_cheer_up' is not used in any story or rule.
11.76 /usr/local/lib/python3.10/site-packages/rasa/shared/utils/io.py:99: UserWarning: The utterance 'utter_default' is not used in any story or rule.
11.76 /usr/local/lib/python3.10/site-packages/rasa/shared/utils/io.py:99: UserWarning: The utterance 'utter_ask_for_email' is not used in any story or rule.
11.76 /usr/local/lib/python3.10/site-packages/rasa/shared/utils/io.py:99: UserWarning: The utterance 'utter_acknowledge_provided_info' is not used in any story or rule.
11.77 /usr/local/lib/python3.10/site-packages/rasa/shared/utils/io.py:99: UserWarning: The utterance 'utter_happy' is not used in any story or rule.
11.77 2024-01-24 15:20:58 INFO     rasa.validator  - Story structure validation...
Processed story blocks: 100%|██████████| 5/5 [00:00<00:00, 239.37it/s, # trackers=1]
11.79 2024-01-24 15:20:58 INFO     rasa.core.training.story_conflict  - Considering all preceding turns for conflict analysis.
11.80 2024-01-24 15:20:58 INFO     rasa.validator  - No story structure conflicts found.
13.67 /usr/local/lib/python3.10/site-packages/rasa/shared/utils/io.py:99: UserWarning: Intent 'type_product' has only 1 training examples! Minimum is 2, training may fail.
13.67 /usr/local/lib/python3.10/site-packages/rasa/shared/utils/io.py:99: UserWarning: Entity entity 'category' has only 1 training examples! The minimum is 2, because of this the training may fail.
13.68 /usr/local/lib/python3.10/site-packages/rasa/shared/utils/io.py:99: UserWarning: Entity entity 'mood' has only 1 training examples! The minimum is 2, because of this the training may fail.
13.68 /usr/local/lib/python3.10/site-packages/rasa/shared/utils/io.py:99: UserWarning: Entity entity 'product_selected' has only 1 training examples! The minimum is 2, because of this the training may fail.
13.68 2024-01-24 15:21:01 INFO     rasa.engine.training.hooks  - Starting to train component 'CountVectorsFeaturizer'.
14.43 2024-01-24 15:21:01 INFO     rasa.nlu.featurizers.sparse_featurizer.count_vectors_featurizer  - 172 vocabulary items were created for text attribute.
14.44 2024-01-24 15:21:01 INFO     rasa.engine.training.hooks  - Finished training component 'CountVectorsFeaturizer'.
15.42 Traceback (most recent call last):
15.42   File "/usr/local/lib/python3.10/site-packages/rasa/engine/graph.py", line 403, in _load_component
15.42     self._component: GraphComponent = constructor(  # type: ignore[no-redef]
15.42   File "/usr/local/lib/python3.10/site-packages/rasa/engine/graph.py", line 221, in load
15.42     return cls.create(config, model_storage, resource, execution_context)
15.42   File "/usr/local/lib/python3.10/site-packages/rasa/nlu/featurizers/dense_featurizer/lm_featurizer.py", line 100, in create
15.42     return cls(config, execution_context)
15.43   File "/usr/local/lib/python3.10/site-packages/rasa/nlu/featurizers/dense_featurizer/lm_featurizer.py", line 67, in __init__
15.43     self._load_model_instance()
15.43   File "/usr/local/lib/python3.10/site-packages/rasa/nlu/featurizers/dense_featurizer/lm_featurizer.py", line 152, in _load_model_instance
15.43     self.tokenizer = model_tokenizer_dict[self.model_name].from_pretrained(
15.43   File "/usr/local/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 1804, in from_pretrained
15.43     return cls._from_pretrained(
15.43   File "/usr/local/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 1853, in _from_pretrained
15.43     init_kwargs = json.load(tokenizer_config_handle)
15.43   File "/usr/local/lib/python3.10/json/__init__.py", line 293, in load
15.43     return loads(fp.read(),
15.43   File "/usr/local/lib/python3.10/json/__init__.py", line 346, in loads
15.43     return _default_decoder.decode(s)
15.43   File "/usr/local/lib/python3.10/json/decoder.py", line 337, in decode
15.43     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
15.43   File "/usr/local/lib/python3.10/json/decoder.py", line 355, in raw_decode
15.43     raise JSONDecodeError("Expecting value", s, err.value) from None
15.43 json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
15.43
15.43 The above exception was the direct cause of the following exception:
15.43
15.43 Traceback (most recent call last):
15.43   File "/usr/local/bin/rasa", line 8, in <module>
15.43     sys.exit(main())
15.43   File "/usr/local/lib/python3.10/site-packages/rasa/__main__.py", line 133, in main
15.43     cmdline_arguments.func(cmdline_arguments)
15.43   File "/usr/local/lib/python3.10/site-packages/rasa/cli/train.py", line 61, in <lambda>
15.43     train_parser.set_defaults(func=lambda args: run_training(args, can_exit=True))
15.43   File "/usr/local/lib/python3.10/site-packages/rasa/cli/train.py", line 101, in run_training
15.43     training_result = train_all(
15.43   File "/usr/local/lib/python3.10/site-packages/rasa/api.py", line 105, in train
15.43     return train(
15.43   File "/usr/local/lib/python3.10/site-packages/rasa/model_training.py", line 207, in train
15.43     return _train_graph(
15.43   File "/usr/local/lib/python3.10/site-packages/rasa/model_training.py", line 286, in _train_graph
15.43     trainer.train(
15.43   File "/usr/local/lib/python3.10/site-packages/rasa/engine/training/graph_trainer.py", line 105, in train
15.43     graph_runner.run(inputs={PLACEHOLDER_IMPORTER: importer})
15.43   File "/usr/local/lib/python3.10/site-packages/rasa/engine/runner/dask.py", line 101, in run
15.44     dask_result = dask.get(run_graph, run_targets)
15.44   File "/usr/local/lib/python3.10/site-packages/dask/local.py", line 557, in get_sync
15.44     return get_async(
15.44   File "/usr/local/lib/python3.10/site-packages/dask/local.py", line 500, in get_async
15.44     for key, res_info, failed in queue_get(queue).result():
15.44   File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
15.44     return self.__get_result()
15.44   File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
15.44     raise self._exception
15.44   File "/usr/local/lib/python3.10/site-packages/dask/local.py", line 542, in submit
15.44     fut.set_result(fn(*args, **kwargs))
15.44   File "/usr/local/lib/python3.10/site-packages/dask/local.py", line 238, in batch_execute_tasks
15.44     return [execute_task(*a) for a in it]
15.44   File "/usr/local/lib/python3.10/site-packages/dask/local.py", line 238, in <listcomp>
15.44     return [execute_task(*a) for a in it]
15.44   File "/usr/local/lib/python3.10/site-packages/dask/local.py", line 229, in execute_task
15.44     result = pack_exception(e, dumps)
15.44   File "/usr/local/lib/python3.10/site-packages/dask/local.py", line 224, in execute_task
15.44     result = _execute_task(task, data)
15.44   File "/usr/local/lib/python3.10/site-packages/dask/core.py", line 119, in _execute_task
15.44     return func(*(_execute_task(a, cache) for a in args))
15.44   File "/usr/local/lib/python3.10/site-packages/rasa/engine/graph.py", line 483, in __call__
15.44     self._load_component(**constructor_kwargs)
15.44   File "/usr/local/lib/python3.10/site-packages/rasa/engine/graph.py", line 416, in _load_component
15.44     raise GraphComponentException(
15.44 rasa.engine.exceptions.GraphComponentException: Error initializing graph component for node run_LanguageModelFeaturizer2.
------
Dockerfile:12
--------------------
  10 |
  11 |
  12 | >>> RUN rasa train
  13 |     USER 1001
  14 |
--------------------
ERROR: failed to solve: process "/bin/sh -c rasa train" did not complete successfully: exit code: 1

My requirements.txt content

rasa==3.6.15
rasa-sdk==3.6.2
requests==2.31.0
transformers==4.26.0

And config.yml content

# The config recipe.
# https://rasa.com/docs/rasa/model-configuration/
recipe: default.v1

# The assistant project unique identifier
# This default value must be replaced with a unique assistant name within your deployment
assistant_id: 20240104-111410-factorial-skunk

# Configuration for Rasa NLU.
# https://rasa.com/docs/rasa/nlu/components/
language: es
  
pipeline: 
  - name: WhitespaceTokenizer
  - name: CountVectorsFeaturizer
  - name: LanguageModelFeaturizer
    model_weights: "dccuchile/bert-base-spanish-wwm-cased"
    model_name: "bert"
    cache_dir: null
  - name: DIETClassifier
    random_seed: 42
    number_of_transformer_layers: 4
    transformer_size: 256
    drop_rate: 0.2
    weight_sparsity: 0.7
    batch_size: [64, 256]
    embedding_dimension: 30
  - name: EntitySynonymMapper
  - name: ResponseSelector
    epochs: 100
    constrain_similarities: true
    model_confidence: softmax


# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
policies:
  - name: MemoizationPolicy
  - name: TEDPolicy
    max_history: 5
    epochs: 100
    constrain_similarities: true
    model_confidence: softmax
  - name: RulePolicy
    restrict_rules: False
    core_fallback_threshold: 0.3
    core_fallback_action_name: "action_default_fallback"
    enable_fallback_prediction: True