Skip to content

Commit

Permalink
Bump transformers version
Browse files Browse the repository at this point in the history
  • Loading branch information
mvrozanti committed Sep 15, 2024
1 parent 68b08c8 commit 4ef71c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 4ef71c8

Please sign in to comment.