Britania commited on
Commit
9cc281f
·
verified ·
1 Parent(s): 6dc1533

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -21,7 +21,7 @@ def model_inference(model, tokenizer, text, max_new_tokens, temperature, top_p=0
21
  class EndpointHandler():
22
  def __init__(self, path=""):
23
  # Carga el modelo y el tokenizer
24
- self.my_model_name = "Britania/AthelticRoutinesModel"
25
  self.fine_tuned_model = AutoModelForCausalLM.from_pretrained(
26
  self.my_model_name,
27
  trust_remote_code=True,
 
21
  class EndpointHandler():
22
  def __init__(self, path=""):
23
  # Carga el modelo y el tokenizer
24
+ self.my_model_name = "Britania/m2"
25
  self.fine_tuned_model = AutoModelForCausalLM.from_pretrained(
26
  self.my_model_name,
27
  trust_remote_code=True,