Loewolf commited on
Commit
d912d76
·
1 Parent(s): c668b14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -12,17 +12,13 @@ DEFAULT_MAX_NEW_TOKENS = 20
12
  MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
13
 
14
  DESCRIPTION = """\
15
- # Llama-2 7B Chat
16
- This Space demonstrates model [Llama-2-7b-chat](https://huggingface.co/meta-llama/Llama-2-7b-chat) by Meta, a Llama 2 model with 7B parameters fine-tuned for chat instructions. Feel free to play with it, or duplicate to run generations without a queue! If you want to run your own service, you can also [deploy the model on Inference Endpoints](https://huggingface.co/inference-endpoints).
17
- 🔎 For more details about the Llama 2 family of models and how to use them with `transformers`, take a look [at our blog post](https://huggingface.co/blog/llama2).
18
- 🔨 Looking for an even more powerful model? Check out the [13B version](https://huggingface.co/spaces/huggingface-projects/llama-2-13b-chat) or the large [70B model demo](https://huggingface.co/spaces/ysharma/Explore_llamav2_with_TGI).
19
  """
20
 
21
  LICENSE = """
22
  <p/>
23
  ---
24
- As a derivate work of [Llama-2-7b-chat](https://huggingface.co/meta-llama/Llama-2-7b-chat) by Meta,
25
- this demo is governed by the original [license](https://huggingface.co/spaces/huggingface-projects/llama-2-7b-chat/blob/main/LICENSE.txt) and [acceptable use policy](https://huggingface.co/spaces/huggingface-projects/llama-2-7b-chat/blob/main/USE_POLICY.md).
26
  """
27
 
28
  if not torch.cuda.is_available():
@@ -95,7 +91,7 @@ chat_interface = gr.ChatInterface(
95
  gr.Slider(
96
  label="Temperature",
97
  minimum=0.1,
98
- maximum=4.0,
99
  step=0.1,
100
  value=0.6,
101
  ),
 
12
  MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
13
 
14
  DESCRIPTION = """\
15
+ # Löwolf Chat
16
+
 
 
17
  """
18
 
19
  LICENSE = """
20
  <p/>
21
  ---
 
 
22
  """
23
 
24
  if not torch.cuda.is_available():
 
91
  gr.Slider(
92
  label="Temperature",
93
  minimum=0.1,
94
+ maximum=1.0,
95
  step=0.1,
96
  value=0.6,
97
  ),