amy011872 commited on
Commit
7ed842f
1 Parent(s): c73b38d

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -74,7 +74,7 @@ class LawLookup:
74
 
75
  class EndpointHandler():
76
  def __init__(self, path=""):
77
- self.pipeline = pipeline(model="amy011872/LawToken-0.5B-a2", device=0, torch_dtype=torch.float16)
78
  self.model = self.pipeline.model
79
  self.tokenizer = self.pipeline.tokenizer
80
  self.law_lookup = LawLookup('ChLaw.json')
 
74
 
75
  class EndpointHandler():
76
  def __init__(self, path=""):
77
+ self.pipeline = pipeline(model="amy011872/LawToken-7B-a2", device=0, torch_dtype=torch.float16)
78
  self.model = self.pipeline.model
79
  self.tokenizer = self.pipeline.tokenizer
80
  self.law_lookup = LawLookup('ChLaw.json')