AIAnytime / AIAnytime/Chat-with-PDF-Chatbot

attribute erroe

Đang mở
#19 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
176
Fork
121
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

i have cloned the repo and tried to use it i get attribute error Traceback (most recent call last):
File "d:\SFTP\lambdademo\Chat-with-PDF-Chatbot\chatbot_app.py", line 25, in
base_model = AutoModelForSeq2SeqLM.from_pretrained(
File "C:\Users\JAYASHEELI\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\models\auto\auto_factory.py", line 467, in from_pretrained
return model_class.from_pretrained(
File "C:\Users\JAYASHEELI\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\modeling_utils.py", line 2777, in from_pretrained
) = cls._load_pretrained_model(
File "C:\Users\JAYASHEELI\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\modeling_utils.py", line 2865, in _load_pretrained_model
if device_map is not None and "disk" in device_map.values():
AttributeError: 'torch.device' object has no attribute 'values'

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.