suwesh commited on
Commit
3c4359a
·
verified ·
1 Parent(s): 4ba67c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ For more information on `huggingface_hub` Inference API support, please check th
13
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
14
 
15
  modelpath = "Salesforce/xLAM-1b-fc-r"
16
- model = AutoModelForCausalLM.from_pretrained(modelpath, device_map="auto", torch_dtype="auto", trust_remote_code=True)
17
  tokenizer = AutoTokenizer.from_pretrained(modelpath)
18
 
19
 
 
13
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
14
 
15
  modelpath = "Salesforce/xLAM-1b-fc-r"
16
+ model = AutoModelForCausalLM.from_pretrained(modelpath, torch_dtype="auto", trust_remote_code=True)
17
  tokenizer = AutoTokenizer.from_pretrained(modelpath)
18
 
19