Spaces:
Runtime error
Runtime error
Update rag.py
Browse files
rag.py
CHANGED
@@ -64,7 +64,7 @@ class ChatPDF:
|
|
64 |
#
|
65 |
# https://huggingface.co/stabilityai/stablelm-3b-4e1t?library=true
|
66 |
tokenizer = AutoTokenizer.from_pretrained("stabilityai/stablelm-3b-4e1t")
|
67 |
-
model = AutoModelForCausalLM.from_pretrained("stabilityai/stablelm-3b-4e1t")
|
68 |
|
69 |
|
70 |
self.text_splitter = RecursiveCharacterTextSplitter(chunk_size=1024, chunk_overlap=100)
|
|
|
64 |
#
|
65 |
# https://huggingface.co/stabilityai/stablelm-3b-4e1t?library=true
|
66 |
tokenizer = AutoTokenizer.from_pretrained("stabilityai/stablelm-3b-4e1t")
|
67 |
+
self.model = AutoModelForCausalLM.from_pretrained("stabilityai/stablelm-3b-4e1t")
|
68 |
|
69 |
|
70 |
self.text_splitter = RecursiveCharacterTextSplitter(chunk_size=1024, chunk_overlap=100)
|