MuntasirHossain
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,6 @@ import os
|
|
3 |
import requests
|
4 |
from llama_cpp import Llama
|
5 |
|
6 |
-
|
7 |
llm_name = "MuntasirHossain/Meta-Llama-3-8B-OpenOrca-GGUF"
|
8 |
llm_path = os.path.basename(llm_name)
|
9 |
|
@@ -91,7 +90,7 @@ def generate(prompt, history, max_new_tokens=512): # temperature=0.95, top_p=0.9
|
|
91 |
|
92 |
chatbot = gr.Chatbot(height=500)
|
93 |
with gr.Blocks(theme=gr.themes.Default(primary_hue="sky")) as demo:
|
94 |
-
gr.HTML("<center><h1>Fine-tuned Meta-Llama-3-8B</h1><center>")
|
95 |
gr.Markdown("<b>This AI agent is using the MuntasirHossain/Meta-Llama-3-8B-OpenOrca-GGUF model for text-generation.</b>")
|
96 |
gr.ChatInterface(
|
97 |
generate,
|
|
|
3 |
import requests
|
4 |
from llama_cpp import Llama
|
5 |
|
|
|
6 |
llm_name = "MuntasirHossain/Meta-Llama-3-8B-OpenOrca-GGUF"
|
7 |
llm_path = os.path.basename(llm_name)
|
8 |
|
|
|
90 |
|
91 |
chatbot = gr.Chatbot(height=500)
|
92 |
with gr.Blocks(theme=gr.themes.Default(primary_hue="sky")) as demo:
|
93 |
+
gr.HTML("<center><h1>Fine-tuned Meta-Llama-3-8B Chatbot</h1><center>")
|
94 |
gr.Markdown("<b>This AI agent is using the MuntasirHossain/Meta-Llama-3-8B-OpenOrca-GGUF model for text-generation.</b>")
|
95 |
gr.ChatInterface(
|
96 |
generate,
|