Melissa Roemmele commited on
Commit
e232f5c
·
1 Parent(s): 747e725

Updated handler.py

Browse files
Files changed (1) hide show
  1. handler.py +2 -2
handler.py CHANGED
@@ -4,8 +4,8 @@ from typing import Dict, List, Any
4
 
5
 
6
  class EndpointHandler():
7
- def __init__(self, path="tiiuae/falcon-40b"):
8
- self.model = AutoModelForCausalLM.from_pretrained(path,
9
  torch_dtype=torch.bfloat16,
10
  device_map="auto",
11
  load_in_8bit=True,
 
4
 
5
 
6
  class EndpointHandler():
7
+ def __init__(self, path=""):
8
+ self.model = AutoModelForCausalLM.from_pretrained("tiiuae/falcon-40b",
9
  torch_dtype=torch.bfloat16,
10
  device_map="auto",
11
  load_in_8bit=True,