Spaces:
Runtime error
Runtime error
sarath-shekkizhar
commited on
Commit
•
678de6e
1
Parent(s):
7930492
Update app.py
Browse files
app.py
CHANGED
@@ -11,15 +11,16 @@ MAX_MAX_NEW_TOKENS = 2048
|
|
11 |
DEFAULT_MAX_NEW_TOKENS = 1024
|
12 |
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
|
13 |
|
14 |
-
DESCRIPTION = "
|
|
|
|
|
|
|
15 |
|
16 |
|
17 |
LICENSE = """
|
18 |
<p/>
|
19 |
---
|
20 |
-
|
21 |
-
this demo is governed by the [license](https://huggingface.co/spaces/tenyx/TenyxChat-7B-v1/blob/main/LICENSE.txt).
|
22 |
-
"""
|
23 |
|
24 |
|
25 |
if not torch.cuda.is_available():
|
|
|
11 |
DEFAULT_MAX_NEW_TOKENS = 1024
|
12 |
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
|
13 |
|
14 |
+
DESCRIPTION = """
|
15 |
+
TenyxChat-7B-v1 is the first in the TenyxChat series, models trained to function as useful assistants.
|
16 |
+
The model is obtained via direct preference tuning using Tenyx's advanced fine-tuning technology. Model details available at [Hugging Face](https://huggingface.co/tenyx/TenyxChat-7B-v1).
|
17 |
+
"""
|
18 |
|
19 |
|
20 |
LICENSE = """
|
21 |
<p/>
|
22 |
---
|
23 |
+
This demo is governed by the license available at https://huggingface.co/spaces/tenyx/TenyxChat-7B-v1/blob/main/LICENSE.txt."""
|
|
|
|
|
24 |
|
25 |
|
26 |
if not torch.cuda.is_available():
|