userdotcs commited on
Commit
e1719ca
·
verified ·
1 Parent(s): 033a68b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -7,6 +7,7 @@ from peft import PeftModel
7
  base_model_name = "unsloth/gpt-oss-20b"
8
  adapter_model_name = "userdotcs/gpt-oss-20b-turkish-correction-adapter"
9
  device = "cuda" if torch.cuda.is_available() else "cpu"
 
10
 
11
  print("Model yükleniyor...")
12
  tokenizer = AutoTokenizer.from_pretrained(base_model_name)
 
7
  base_model_name = "unsloth/gpt-oss-20b"
8
  adapter_model_name = "userdotcs/gpt-oss-20b-turkish-correction-adapter"
9
  device = "cuda" if torch.cuda.is_available() else "cpu"
10
+ print(device)
11
 
12
  print("Model yükleniyor...")
13
  tokenizer = AutoTokenizer.from_pretrained(base_model_name)