Hunzla commited on
Commit
ed000ab
1 Parent(s): 79e0339

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -22,11 +22,12 @@ api_token = "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" # Replace with your actual
22
  model = AutoModelForCausalLM.from_pretrained(
23
  model_name,
24
  low_cpu_mem_usage=True,
25
- return_dict=True,
26
- torch_dtype=torch.float16,
27
  revision="main", # Or the desired revision
28
  token=api_token
29
  )
 
 
30
  print("loaded model")
31
 
32
  tokenizer = AutoTokenizer.from_pretrained(
 
22
  model = AutoModelForCausalLM.from_pretrained(
23
  model_name,
24
  low_cpu_mem_usage=True,
25
+
 
26
  revision="main", # Or the desired revision
27
  token=api_token
28
  )
29
+ # return_dict=True,
30
+ # torch_dtype=torch.float16,
31
  print("loaded model")
32
 
33
  tokenizer = AutoTokenizer.from_pretrained(