JBHF commited on
Commit
189ffdf
1 Parent(s): e65901c

Update rag.py

Browse files
Files changed (1) hide show
  1. rag.py +1 -1
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)