'textEmbed error about sentencepiece for Deberta

I get error when running deberta in the R-package text, when running:

textEmbed(“hello”, model = “microsoft/deberta-v3-base”)

error:

Error in py_call_impl(callable, dots$args, dots$keywords) : 
  ValueError: This tokenizer cannot be instantiated. Please make sure you have `sentencepiece` installed in order to use this tokenizer.


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source