Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ DESCRIPTION = """\
|
|
6 |
This space shows that we can teach LLMs to express how confident they are in their answers.
|
7 |
Since we can only access free CPUs, we use a tiny Llama ([TinyLlama-1.1B](https://huggingface.co/PY007/TinyLlama-1.1B-Chat-v0.3)) as the chatbot and an [NLI model](https://github.com/potsawee/selfcheckgpt) to get scores. <br/>
|
8 |
💯 There will be a score between 0 and 1 after each sentence, and a higher value means the sentence is more factual.<br/>
|
9 |
-
⏳ It takes
|
10 |
"""
|
11 |
|
12 |
def greet(query, history):
|
|
|
6 |
This space shows that we can teach LLMs to express how confident they are in their answers.
|
7 |
Since we can only access free CPUs, we use a tiny Llama ([TinyLlama-1.1B](https://huggingface.co/PY007/TinyLlama-1.1B-Chat-v0.3)) as the chatbot and an [NLI model](https://github.com/potsawee/selfcheckgpt) to get scores. <br/>
|
8 |
💯 There will be a score between 0 and 1 after each sentence, and a higher value means the sentence is more factual.<br/>
|
9 |
+
⏳ It takes 150-300s to process each query, and we limit the token numbers of answers for saving time.
|
10 |
"""
|
11 |
|
12 |
def greet(query, history):
|