BusinessDev commited on
Commit
2eec429
1 Parent(s): fbb5b4f

Update train.py

Browse files
Files changed (1) hide show
  1. train.py +1 -1
train.py CHANGED
@@ -26,7 +26,7 @@ def prepare_text_dataset(data, chunk_size):
26
 
27
  def init():
28
  # Load the model and tokenizer
29
- model_name = "facebook/bart-base-multilingual" # Replace with your model name if different
30
  tokenizer = GPT2Tokenizer.from_pretrained(model_name)
31
  model = MBartForSequenceClassification.from_pretrained(model_name)
32
  chunk_size = 512
 
26
 
27
  def init():
28
  # Load the model and tokenizer
29
+ model_name = "language-ml-lab/AzerBert" # Replace with your model name if different
30
  tokenizer = GPT2Tokenizer.from_pretrained(model_name)
31
  model = MBartForSequenceClassification.from_pretrained(model_name)
32
  chunk_size = 512