Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,16 +1,15 @@
|
|
1 |
import streamlit as st
|
2 |
-
|
3 |
-
from transformers import LlamaTokenizer, LlamaForCausalLM
|
4 |
|
5 |
# Load your model here
|
6 |
# tokenizer = AutoTokenizer.from_pretrained("qbwmwsap/amber-model-mine")
|
7 |
# model = AutoModelForCausalLM.from_pretrained("qbwmwsap/amber-model-mine")
|
8 |
|
9 |
# Load original amber model
|
10 |
-
tokenizer =
|
11 |
-
model =
|
12 |
|
13 |
-
st.title('Amber-Model-
|
14 |
|
15 |
text = st.text_input('Enter some text')
|
16 |
|
|
|
1 |
import streamlit as st
|
2 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
|
3 |
|
4 |
# Load your model here
|
5 |
# tokenizer = AutoTokenizer.from_pretrained("qbwmwsap/amber-model-mine")
|
6 |
# model = AutoModelForCausalLM.from_pretrained("qbwmwsap/amber-model-mine")
|
7 |
|
8 |
# Load original amber model
|
9 |
+
tokenizer = AutoTokenizer.from_pretrained("LLM360/Amber")
|
10 |
+
model = AutoModelForCausalLM.from_pretrained("LLM360/Amber")
|
11 |
|
12 |
+
st.title('Amber-Model-Remastered')
|
13 |
|
14 |
text = st.text_input('Enter some text')
|
15 |
|