Spaces:
Runtime error
Runtime error
Added Llama 3.1 access
Browse filesUpdated added Llama 3.1
app.py
CHANGED
@@ -26,6 +26,7 @@ client = OpenAI(
|
|
26 |
|
27 |
#Create supported models
|
28 |
model_links ={
|
|
|
29 |
"Meta-Llama-3-8B":"meta-llama/Meta-Llama-3-8B-Instruct",
|
30 |
"Mistral-7B":"mistralai/Mistral-7B-Instruct-v0.2",
|
31 |
"Gemma-7B":"google/gemma-1.1-7b-it",
|
@@ -68,6 +69,10 @@ model_info ={
|
|
68 |
{'description':"""The Llama (3) model is a **Large Language Model (LLM)** that's able to have question and answer interactions.\n \
|
69 |
\nIt was created by the [**Meta's AI**](https://llama.meta.com/) team and has over **8 billion parameters.** \n""",
|
70 |
'logo':'Llama_logo.png'},
|
|
|
|
|
|
|
|
|
71 |
}
|
72 |
|
73 |
|
@@ -119,7 +124,7 @@ st.sidebar.markdown(model_info[selected_model]['description'])
|
|
119 |
st.sidebar.image(model_info[selected_model]['logo'])
|
120 |
st.sidebar.markdown("*Generated content may be inaccurate or false.*")
|
121 |
st.sidebar.markdown("\nLearn how to build this chatbot [here](https://ngebodh.github.io/projects/2024-03-05/).")
|
122 |
-
st.sidebar.markdown("\nRun into issues? Try
|
123 |
|
124 |
|
125 |
|
|
|
26 |
|
27 |
#Create supported models
|
28 |
model_links ={
|
29 |
+
"Meta-Llama-3.1-8B":"meta-llama/Meta-Llama-3.1-8B-Instruct",
|
30 |
"Meta-Llama-3-8B":"meta-llama/Meta-Llama-3-8B-Instruct",
|
31 |
"Mistral-7B":"mistralai/Mistral-7B-Instruct-v0.2",
|
32 |
"Gemma-7B":"google/gemma-1.1-7b-it",
|
|
|
69 |
{'description':"""The Llama (3) model is a **Large Language Model (LLM)** that's able to have question and answer interactions.\n \
|
70 |
\nIt was created by the [**Meta's AI**](https://llama.meta.com/) team and has over **8 billion parameters.** \n""",
|
71 |
'logo':'Llama_logo.png'},
|
72 |
+
"Meta-Llama-3.1-8B":
|
73 |
+
{'description':"""The Llama (3.1) model is a **Large Language Model (LLM)** that's able to have question and answer interactions.\n \
|
74 |
+
\nIt was created by the [**Meta's AI**](https://llama.meta.com/) team and has over **8 billion parameters.** \n""",
|
75 |
+
'logo':'Llama_logo.png'},
|
76 |
}
|
77 |
|
78 |
|
|
|
124 |
st.sidebar.image(model_info[selected_model]['logo'])
|
125 |
st.sidebar.markdown("*Generated content may be inaccurate or false.*")
|
126 |
st.sidebar.markdown("\nLearn how to build this chatbot [here](https://ngebodh.github.io/projects/2024-03-05/).")
|
127 |
+
st.sidebar.markdown("\nRun into issues? Try coming back in a bit GPU access might be limted/ something is down.")
|
128 |
|
129 |
|
130 |
|