Update app.py
Browse filesllama3.2:latest
app.py
CHANGED
@@ -140,11 +140,10 @@ def main() -> None:
|
|
140 |
|
141 |
prompt = ChatPromptTemplate.from_template(prompt)
|
142 |
|
143 |
-
## from llama3.2:latest to unsloth/Llama-3.2-3B
|
144 |
-
model = ChatOllama(model="
|
|
|
145 |
|
146 |
-
test_llm = model
|
147 |
-
test_llm.invoke("Why is the sky blue?")
|
148 |
|
149 |
rag_chain = (
|
150 |
{"context": retriever|format_docs, "question": RunnablePassthrough()}
|
|
|
140 |
|
141 |
prompt = ChatPromptTemplate.from_template(prompt)
|
142 |
|
143 |
+
## from llama3.2:latest to unsloth/Llama-3.2-3B mistralai/Mistral-Nemo-Instruct-2407
|
144 |
+
model = ChatOllama(model="llama3.2:latest")
|
145 |
+
|
146 |
|
|
|
|
|
147 |
|
148 |
rag_chain = (
|
149 |
{"context": retriever|format_docs, "question": RunnablePassthrough()}
|