Failed to deploy on Inference Endpoints.

#24
by yongyi169 - opened

When I deploy on Inference Endpoints. I got this error message:

import DenoisingAutoEncoderDataset File "/usr/local/lib/python3.10/dist-packages/sentence_transformers/datasets/DenoisingAutoEncoderDataset.py", line 5, in from transformers.utils.import_utils import is_nltk_available, NLTK_IMPORT_ERROR ImportError: cannot import name 'is_nltk_available' from 'transformers.utils.import_utils' (/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py)

截屏2024-03-28 14.25.49.png

Sign up or log in to comment