Spaces:
Sleeping
Sleeping
jed-tiotuico
commited on
Commit
•
92ad22c
1
Parent(s):
4696f14
added stop token
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ sota_model_name = "unsloth/mistral-7b-instruct-v0.2-bnb-4bit"
|
|
16 |
# fine_tuned_model_name = "MBZUAI/LaMini-GPT-124M"
|
17 |
# sota_model_name = "MBZUAI/LaMini-GPT-124M"
|
18 |
|
19 |
-
alpaca_input_text_format = "
|
20 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
21 |
# if device is cpu try mps?
|
22 |
if device == "cpu":
|
@@ -348,7 +348,7 @@ st.write("Packages:")
|
|
348 |
st.write(f"pytorch: {torch.__version__}")
|
349 |
|
350 |
st.markdown("""
|
351 |
-
##
|
352 |
|
353 |
Small business owners, app developers, and freelance talent professionals need more time and money to compete for social media presence. Social media apps provide excellent reach on X, FaceBook, and Instagram, so customers sometimes request initial support from those. The correct response has always been to redirect them to the proper support funnels, which then we run a process of account validation, issue classification, and prioritization.
|
354 |
|
|
|
16 |
# fine_tuned_model_name = "MBZUAI/LaMini-GPT-124M"
|
17 |
# sota_model_name = "MBZUAI/LaMini-GPT-124M"
|
18 |
|
19 |
+
alpaca_input_text_format = "</s>### Instruction:\n{}\n\n### Response:\n"
|
20 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
21 |
# if device is cpu try mps?
|
22 |
if device == "cpu":
|
|
|
348 |
st.write(f"pytorch: {torch.__version__}")
|
349 |
|
350 |
st.markdown("""
|
351 |
+
## Overview
|
352 |
|
353 |
Small business owners, app developers, and freelance talent professionals need more time and money to compete for social media presence. Social media apps provide excellent reach on X, FaceBook, and Instagram, so customers sometimes request initial support from those. The correct response has always been to redirect them to the proper support funnels, which then we run a process of account validation, issue classification, and prioritization.
|
354 |
|