Daemontatox commited on
Commit
0578403
·
verified ·
1 Parent(s): 94eaec5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,7 +15,7 @@ from transformers import (
15
  StoppingCriteriaList
16
  )
17
 
18
- MODEL_ID = "unsloth/QwQ-32B-unsloth-bnb-4bit"
19
 
20
  DEFAULT_SYSTEM_PROMPT = """
21
  Think step by step and explain your reasoning clearly. Break down the problem into logical components, verify each step, and ensure consistency before arriving at the final answer."
@@ -55,7 +55,7 @@ def initialize_model():
55
  model = AutoModelForCausalLM.from_pretrained(
56
  MODEL_ID,
57
  device_map="cuda",
58
- #quantization_config=quantization_config,
59
  torch_dtype=torch.bfloat16,
60
  trust_remote_code=True,
61
  attn_implementation="flash_attention_2"
 
15
  StoppingCriteriaList
16
  )
17
 
18
+ MODEL_ID = "featherless-ai/Qwerky-72B"
19
 
20
  DEFAULT_SYSTEM_PROMPT = """
21
  Think step by step and explain your reasoning clearly. Break down the problem into logical components, verify each step, and ensure consistency before arriving at the final answer."
 
55
  model = AutoModelForCausalLM.from_pretrained(
56
  MODEL_ID,
57
  device_map="cuda",
58
+ quantization_config=quantization_config,
59
  torch_dtype=torch.bfloat16,
60
  trust_remote_code=True,
61
  attn_implementation="flash_attention_2"