Gagan Bhatia commited on
Commit
dd1727d
1 Parent(s): cbf3592

Update model.py

Browse files
Files changed (1) hide show
  1. src/models/model.py +1 -0
src/models/model.py CHANGED
@@ -256,6 +256,7 @@ class Summarization:
256
  :param model_type:
257
  """
258
  if model_type == "t5":
 
259
 
260
  def train(
261
  self,
 
256
  :param model_type:
257
  """
258
  if model_type == "t5":
259
+ self.tokenizer = T5Tokenizer.from_pretrained(f"{model_name}")
260
 
261
  def train(
262
  self,