transformers
a31d4a29
- Reraise ImportError when sentencepiece isn't installed.
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
5 years ago
Reraise ImportError when sentencepiece isn't installed. Else, the next line fails with a confusion exception because the spm variable isn't defined.
References
#2288 - Improve handling of optional imports
Author
aaugustin
Parents
c8b0c1e5
Loading