"Need to install Sacremoses" in HF Hub
Hi, I have deployed a model on the Huggingface Hub a long time ago  :inokufu/flaubert-base-uncased-xnli-sts · Hugging Face.It is not working anymore on the Hosted inference API part (on the right hand side of the page). I am facing this issue : “You need to install sacremoses to use FlaubertTokenizer. Seesacremoses · PyPIfor installation.”I just have to install sacremoses locally, or change my transformers version, but I don’t understand why it is not working on the HF Hub directly. I see that the Hosted Inference API is working for flaubert/flaubert_base_uncased model, without any updates on the repo.What should I do to fix this issue ?Many thanks by advance for your help.
2023-04-24T19:42:33Z
hi@guilfb,here’s a PR adding the requirement to the API inference,Update requirements.txt by radames · Pull Request #240 · huggingface/api-inference-community · GitHubshould fix the probelm
2023-04-24T21:10:17Z
@guilfbit’s fixed nowimage644×895 66.9 KB
2023-04-25T07:59:15Z
Hi@radames,Thank you very much, what a great news!It fixes the problem thanks a lot