Commit
•
9de206e
1
Parent(s):
f9bf00f
Model path
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ from langchain.chains import RetrievalQA
|
|
11 |
from constants import CHROMA_SETTINGS
|
12 |
|
13 |
#model and tokenizer loading
|
14 |
-
checkpoint = "LaMini-T5-738M"
|
15 |
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
|
16 |
base_model = AutoModelForSeq2SeqLM.from_pretrained(checkpoint, device_map='auto', torch_dtype=torch.float32)
|
17 |
|
|
|
11 |
from constants import CHROMA_SETTINGS
|
12 |
|
13 |
#model and tokenizer loading
|
14 |
+
checkpoint = "MBZUAI/LaMini-T5-738M"
|
15 |
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
|
16 |
base_model = AutoModelForSeq2SeqLM.from_pretrained(checkpoint, device_map='auto', torch_dtype=torch.float32)
|
17 |
|