We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transformers==4.37.2 python 3
No response
examples
#huggingface trainer, to train the model from transformers import Trainer, TrainingArguments
model.to(device) model_name = f"{model_ckpt}-finetuned" batch_size = 2 training_args = TrainingArguments( output_dir= model_name, save_safetensors = False, per_device_train_batch_size=batch_size, per_device_eval_batch_size=batch_size, evaluation_strategy='epoch', logging_strategy='epoch', learning_rate=1e-5, num_train_epochs=10, weight_decay=0.01, gradient_accumulation_steps=2, max_grad_norm=1.0, optim='adamw_torch' )
trainer = Trainer( model= model, args=training_args, train_dataset=train_dataset, eval_dataset=test_dataset, compute_metrics=compute_metrics
)
trainer.train()
I was run perfectly fun before Nov 12th midnight, and stop working on Nov 13th.....
The text was updated successfully, but these errors were encountered:
same here, trying to figure out what hapened
Sorry, something went wrong.
same...
I can confirm that downgrading to 0.28.0 still works
No branches or pull requests
System Info
transformers==4.37.2 python 3
Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
#huggingface trainer, to train the model
from transformers import Trainer, TrainingArguments
model.to(device)
model_name = f"{model_ckpt}-finetuned"
batch_size = 2
training_args = TrainingArguments(
output_dir= model_name,
save_safetensors = False,
per_device_train_batch_size=batch_size,
per_device_eval_batch_size=batch_size,
evaluation_strategy='epoch',
logging_strategy='epoch',
learning_rate=1e-5,
num_train_epochs=10,
weight_decay=0.01,
gradient_accumulation_steps=2,
max_grad_norm=1.0,
optim='adamw_torch'
)
trainer = Trainer(
model= model,
args=training_args,
train_dataset=train_dataset,
eval_dataset=test_dataset,
compute_metrics=compute_metrics
)
trainer.train()
Expected behavior
I was run perfectly fun before Nov 12th midnight, and stop working on Nov 13th.....
The text was updated successfully, but these errors were encountered: