Spaces:
Runtime error
Runtime error
DrBenjamin
commited on
Commit
•
8091023
1
Parent(s):
b56c332
added files
Browse files- images/OpenAssistant.png +0 -0
- pages/💁 Open_Assistant.py +14 -0
- pages/🦙_Alpaca.py +2 -0
images/OpenAssistant.png
ADDED
pages/💁 Open_Assistant.py
CHANGED
@@ -9,6 +9,20 @@ from text_generation import Client, InferenceAPIClient
|
|
9 |
from text_generation import InferenceAPIClient
|
10 |
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
st.header('💁 Open Assistant LLM')
|
13 |
st.write('This is the first iteration English supervised-fine-tuning (SFT) model of the Open-Assistant project. It is based on a Pythia 12B that was fine-tuned on ~22k human demonstrations of assistant conversations collected through the https://open-assistant.io/ human feedback web app before March 7, 2023.')
|
14 |
st.write('Question: :green[Why is the sky blue?]')
|
|
|
9 |
from text_generation import InferenceAPIClient
|
10 |
|
11 |
|
12 |
+
|
13 |
+
|
14 |
+
#### Streamlit initial setup
|
15 |
+
st.set_page_config(
|
16 |
+
page_title = "💁 Open_Assistant",
|
17 |
+
page_icon = "images/OpenAssistant.png",
|
18 |
+
layout = "centered",
|
19 |
+
initial_sidebar_state = "expanded"
|
20 |
+
)
|
21 |
+
|
22 |
+
|
23 |
+
|
24 |
+
|
25 |
+
#### Main program
|
26 |
st.header('💁 Open Assistant LLM')
|
27 |
st.write('This is the first iteration English supervised-fine-tuning (SFT) model of the Open-Assistant project. It is based on a Pythia 12B that was fine-tuned on ~22k human demonstrations of assistant conversations collected through the https://open-assistant.io/ human feedback web app before March 7, 2023.')
|
28 |
st.write('Question: :green[Why is the sky blue?]')
|
pages/🦙_Alpaca.py
CHANGED
@@ -2,6 +2,8 @@
|
|
2 |
##### Alpaca Model
|
3 |
##### https://github.com/seemanne/llamacpypy
|
4 |
##### https://github.com/shaunabanana/llama.py
|
|
|
|
|
5 |
##### Please reach out to [email protected] for any questions
|
6 |
#### Loading needed Python libraries
|
7 |
import streamlit as st
|
|
|
2 |
##### Alpaca Model
|
3 |
##### https://github.com/seemanne/llamacpypy
|
4 |
##### https://github.com/shaunabanana/llama.py
|
5 |
+
##### https://github.com/thomasantony/llamacpp-python
|
6 |
+
##### https://github.com/abetlen/llama-cpp-python
|
7 |
##### Please reach out to [email protected] for any questions
|
8 |
#### Loading needed Python libraries
|
9 |
import streamlit as st
|