davidberenstein1957 HF staff commited on
Commit
fa1a4d1
1 Parent(s): 271f7c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
20
 
21
  if torch.cuda.is_available():
22
  model_id = "BramVanroy/GEITje-7B-ultra-sft"
23
- model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16, device_map="auto")
24
  tokenizer = AutoTokenizer.from_pretrained(model_id)
25
 
26
 
 
20
 
21
  if torch.cuda.is_available():
22
  model_id = "BramVanroy/GEITje-7B-ultra-sft"
23
+ model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")
24
  tokenizer = AutoTokenizer.from_pretrained(model_id)
25
 
26