UBC-NLP / araT5

AraT5: Text-to-Text Transformers for Arabic Language Understanding
84 stars 18 forks source link

Error while trying the sample code. #2

Closed abdullah-saal closed 2 years ago

abdullah-saal commented 2 years ago

Hello, Thanks for the models. I was trying to run the provided sample code in the README, but I got the following error:

[ValueError: Couldn't instantiate the backend tokenizer from one of: 
(1) a `tokenizers` library serialization file, 
(2) a slow tokenizer instance to convert or 
(3) an equivalent slow tokenizer class to instantiate and convert. 
You need to have sentencepiece installed to convert a slow tokenizer to a fast one.]()

any ideas what is the issue?

abdullah-saal commented 2 years ago

Closing, just needed to install the required libraries.

NoraAlt commented 1 year ago

Could you please share what libraries should be installed? I faced same error.