Skip to content
New issue

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

Bump transformers version #26

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"ray",
'numpy',
'urlextract',
"transformers<=4.21.2", # push-to-model is not working for latest version
"huggingface-hub<=0.9.1",
"transformers==4.37.2",
"huggingface-hub",
'sentence_transformers',
'torch',
'datasets'
Expand Down
2 changes: 1 addition & 1 deletion tweetnlp/text_classification/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import torch
import numpy as np
from huggingface_hub import create_repo
from datasets import load_metric
from datasets import load_dataset
from datasets.dataset_dict import DatasetDict
from transformers import TrainingArguments, Trainer
from ray import tune
Expand Down