Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -22,8 +22,9 @@ The following Colab notebooks are available:
|
|
22 |
|
23 |
You might also be interested in checking out Apple's [CoreNet Github page](https://github.com/apple/corenet?tab=readme-ov-file).
|
24 |
|
25 |
-
If you duplicate this space, make sure
|
26 |
-
because this model uses it as a tokenizer.
|
|
|
27 |
|
28 |
# Note: Use this model for only for completing sentences and instruction following.
|
29 |
"""
|
@@ -141,7 +142,7 @@ chat_interface = gr.ChatInterface(
|
|
141 |
examples=[
|
142 |
["A recipe for a chocolate cake:"],
|
143 |
["Can you explain briefly to me what is the Python programming language?"],
|
144 |
-
["
|
145 |
["Question: What is the capital of France?\nAnswer:"],
|
146 |
["Question: I am very tired, what should I do?\nAnswer:"],
|
147 |
],
|
|
|
22 |
|
23 |
You might also be interested in checking out Apple's [CoreNet Github page](https://github.com/apple/corenet?tab=readme-ov-file).
|
24 |
|
25 |
+
If you duplicate this space, make sure that:
|
26 |
+
1. You have access to [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) because this model uses it as a tokenizer.
|
27 |
+
2. You have set a HF_TOKEN secret with a "read" token so this space could access Llama-2-7b-hf on your behalf
|
28 |
|
29 |
# Note: Use this model for only for completing sentences and instruction following.
|
30 |
"""
|
|
|
142 |
examples=[
|
143 |
["A recipe for a chocolate cake:"],
|
144 |
["Can you explain briefly to me what is the Python programming language?"],
|
145 |
+
["Once upon a time there was a little"],
|
146 |
["Question: What is the capital of France?\nAnswer:"],
|
147 |
["Question: I am very tired, what should I do?\nAnswer:"],
|
148 |
],
|