Ventsislav Muchinov commited on
Commit
7f3d401
1 Parent(s): e8081aa

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,7 +12,7 @@ DEFAULT_MAX_NEW_TOKENS = 1024
12
  MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
13
  ACCESS_TOKEN = os.getenv("HF_TOKEN", "")
14
 
15
- model_id = "meta-llama/Meta-Llama-3-8B-Instruct"
16
  model = AutoModelForCausalLM.from_pretrained(
17
  model_id,
18
  torch_dtype=torch.float16,
@@ -101,7 +101,7 @@ chat_interface = gr.Interface(
101
  value=0.01,
102
  ),
103
  ],
104
- title="Model testing - Meta-Llama-3-8B-Instruct",
105
  description="Provide system settings and a prompt to interact with the model.",
106
  )
107
 
 
12
  MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
13
  ACCESS_TOKEN = os.getenv("HF_TOKEN", "")
14
 
15
+ model_id = "Qwen/Qwen2.5-0.5B-Instruct"
16
  model = AutoModelForCausalLM.from_pretrained(
17
  model_id,
18
  torch_dtype=torch.float16,
 
101
  value=0.01,
102
  ),
103
  ],
104
+ title="Model testing - Qwen-0.5B-Instruct",
105
  description="Provide system settings and a prompt to interact with the model.",
106
  )
107