Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,7 +79,7 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
| 79 |
#t=T.from_pretrained("peterpeter8585/syai4.3")
|
| 80 |
#pipe=pipeline(model=m,tokenizer=t,task="text-generation")
|
| 81 |
from langchain_community.llms import GPT4ALL
|
| 82 |
-
llm=GPT4ALL(model="./")
|
| 83 |
from langchain.retrievers import WikipediaRetriever as Wiki
|
| 84 |
import gradio as gr
|
| 85 |
chatbot = gr.Chatbot(
|
|
|
|
| 79 |
#t=T.from_pretrained("peterpeter8585/syai4.3")
|
| 80 |
#pipe=pipeline(model=m,tokenizer=t,task="text-generation")
|
| 81 |
from langchain_community.llms import GPT4ALL
|
| 82 |
+
llm=GPT4ALL(model="./llama-3-open-ko-8b-instruct-preview-q5_k_m.gguf")
|
| 83 |
from langchain.retrievers import WikipediaRetriever as Wiki
|
| 84 |
import gradio as gr
|
| 85 |
chatbot = gr.Chatbot(
|