Skip to content

Commit 5c65c95

Browse files
author
hfhoffman1144
committed
formatting fixes
1 parent 08cd533 commit 5c65c95

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed

huggingface-transformers/auto_classes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import torch
21
from transformers import (
3-
AutoTokenizer,
4-
AutoModelForSequenceClassification,
52
AutoConfig,
3+
AutoModelForSequenceClassification,
4+
AutoTokenizer,
65
)
6+
import torch
77

88
model_name = "cardiffnlp/twitter-roberta-base-sentiment-latest"
99

huggingface-transformers/poetry.lock

Lines changed: 27 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

huggingface-transformers/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ wheel = "^0.43.0"
1717
polars = "^0.20.31"
1818
black = "^24.4.2"
1919
flake8 = "^7.0.0"
20+
ruff = "^0.4.8"
2021

2122

2223
[build-system]

0 commit comments

Comments
 (0)