Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
|
|
| 32 |
|
| 33 |
# Debugging: GPU check passed, loading model
|
| 34 |
if torch.cuda.is_available():
|
| 35 |
-
model_id = "
|
| 36 |
try:
|
| 37 |
print("Loading model...")
|
| 38 |
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16, device_map="auto", token=HF_TOKEN)
|
|
|
|
| 32 |
|
| 33 |
# Debugging: GPU check passed, loading model
|
| 34 |
if torch.cuda.is_available():
|
| 35 |
+
model_id = "BGLAW/bggpt-Instruct-bglawinsv1UNS_merged"
|
| 36 |
try:
|
| 37 |
print("Loading model...")
|
| 38 |
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16, device_map="auto", token=HF_TOKEN)
|