при попытке развертывания я столкнулся с такой проблемой, как ошибка пользовательской модели, необходимо установитьtrust_remote_code = «True». Кто-нибудь здесь поможет мне разобраться с этой проблемой
2024/08/02 22:48:58
File "/usr/local/lib/python3.10/dist-packages/transformers/models/auto/configuration_auto.py", line 1114, in from_pretrained
2024/08/02 22:48:58
trust_remote_code = resolve_trust_remote_code(
2024/08/02 22:48:58
File "/usr/local/lib/python3.10/dist-packages/transformers/dynamic_module_utils.py", line 611, in resolve_trust_remote_code
2024/08/02 22:48:58
raise ValueError(
2024/08/02 22:48:58
ValueError: The repository for /repository contains custom code which must be executed to correctly load the model. You can inspect the repository content at https://hf.co//repository.
2024/08/02 22:48:58
Please pass the argument `trust_remote_code=True` to allow custom code to be run
Подробнее здесь: https://stackoverflow.com/questions/788 ... sion-model
Невозможно выполнить развертывание в выделенной конечной точке вывода для модели phi3 Vision. ⇐ Python
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение