Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
1248f092
"examples/research_projects/jax-projects/README.md" did not exist on "032d56a4356eb44197abc4d7df0d2925a76ef652"
Commit
1248f092
authored
Mar 20, 2024
by
Arthur Zucker
Browse files
v4.40.0.dev.0
parent
11ef35e8
Changes
62
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
20 additions
and
20 deletions
+20
-20
examples/pytorch/speech-recognition/run_speech_recognition_ctc.py
.../pytorch/speech-recognition/run_speech_recognition_ctc.py
+1
-1
examples/pytorch/speech-recognition/run_speech_recognition_ctc_adapter.py
.../speech-recognition/run_speech_recognition_ctc_adapter.py
+1
-1
examples/pytorch/speech-recognition/run_speech_recognition_seq2seq.py
...orch/speech-recognition/run_speech_recognition_seq2seq.py
+1
-1
examples/pytorch/summarization/run_summarization.py
examples/pytorch/summarization/run_summarization.py
+1
-1
examples/pytorch/summarization/run_summarization_no_trainer.py
...les/pytorch/summarization/run_summarization_no_trainer.py
+1
-1
examples/pytorch/text-classification/run_classification.py
examples/pytorch/text-classification/run_classification.py
+1
-1
examples/pytorch/text-classification/run_glue.py
examples/pytorch/text-classification/run_glue.py
+1
-1
examples/pytorch/text-classification/run_glue_no_trainer.py
examples/pytorch/text-classification/run_glue_no_trainer.py
+1
-1
examples/pytorch/text-classification/run_xnli.py
examples/pytorch/text-classification/run_xnli.py
+1
-1
examples/pytorch/token-classification/run_ner.py
examples/pytorch/token-classification/run_ner.py
+1
-1
examples/pytorch/token-classification/run_ner_no_trainer.py
examples/pytorch/token-classification/run_ner_no_trainer.py
+1
-1
examples/pytorch/translation/run_translation.py
examples/pytorch/translation/run_translation.py
+1
-1
examples/pytorch/translation/run_translation_no_trainer.py
examples/pytorch/translation/run_translation_no_trainer.py
+1
-1
examples/tensorflow/contrastive-image-text/run_clip.py
examples/tensorflow/contrastive-image-text/run_clip.py
+1
-1
examples/tensorflow/image-classification/run_image_classification.py
...nsorflow/image-classification/run_image_classification.py
+1
-1
examples/tensorflow/multiple-choice/run_swag.py
examples/tensorflow/multiple-choice/run_swag.py
+1
-1
examples/tensorflow/question-answering/run_qa.py
examples/tensorflow/question-answering/run_qa.py
+1
-1
examples/tensorflow/summarization/run_summarization.py
examples/tensorflow/summarization/run_summarization.py
+1
-1
examples/tensorflow/text-classification/run_glue.py
examples/tensorflow/text-classification/run_glue.py
+1
-1
examples/tensorflow/translation/run_translation.py
examples/tensorflow/translation/run_translation.py
+1
-1
No files found.
examples/pytorch/speech-recognition/run_speech_recognition_ctc.py
View file @
1248f092
...
...
@@ -51,7 +51,7 @@ from transformers.utils.versions import require_version
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
check_min_version
(
"4.
39
.0.dev0"
)
check_min_version
(
"4.
40
.0.dev0"
)
require_version
(
"datasets>=1.18.0"
,
"To fix: pip install -r examples/pytorch/speech-recognition/requirements.txt"
)
...
...
examples/pytorch/speech-recognition/run_speech_recognition_ctc_adapter.py
View file @
1248f092
...
...
@@ -53,7 +53,7 @@ from transformers.utils.versions import require_version
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
check_min_version
(
"4.
39
.0.dev0"
)
check_min_version
(
"4.
40
.0.dev0"
)
require_version
(
"datasets>=1.18.0"
,
"To fix: pip install -r examples/pytorch/speech-recognition/requirements.txt"
)
...
...
examples/pytorch/speech-recognition/run_speech_recognition_seq2seq.py
View file @
1248f092
...
...
@@ -49,7 +49,7 @@ from transformers.utils.versions import require_version
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
check_min_version
(
"4.
39
.0.dev0"
)
check_min_version
(
"4.
40
.0.dev0"
)
require_version
(
"datasets>=1.18.0"
,
"To fix: pip install -r examples/pytorch/speech-recognition/requirements.txt"
)
...
...
examples/pytorch/summarization/run_summarization.py
View file @
1248f092
...
...
@@ -53,7 +53,7 @@ from transformers.utils.versions import require_version
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
check_min_version
(
"4.
39
.0.dev0"
)
check_min_version
(
"4.
40
.0.dev0"
)
require_version
(
"datasets>=1.8.0"
,
"To fix: pip install -r examples/pytorch/summarization/requirements.txt"
)
...
...
examples/pytorch/summarization/run_summarization_no_trainer.py
View file @
1248f092
...
...
@@ -56,7 +56,7 @@ from transformers.utils.versions import require_version
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
check_min_version
(
"4.
39
.0.dev0"
)
check_min_version
(
"4.
40
.0.dev0"
)
logger
=
get_logger
(
__name__
)
require_version
(
"datasets>=1.8.0"
,
"To fix: pip install -r examples/pytorch/summarization/requirements.txt"
)
...
...
examples/pytorch/text-classification/run_classification.py
View file @
1248f092
...
...
@@ -48,7 +48,7 @@ from transformers.utils.versions import require_version
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
check_min_version
(
"4.
39
.0.dev0"
)
check_min_version
(
"4.
40
.0.dev0"
)
require_version
(
"datasets>=1.8.0"
,
"To fix: pip install -r examples/pytorch/text-classification/requirements.txt"
)
...
...
examples/pytorch/text-classification/run_glue.py
View file @
1248f092
...
...
@@ -49,7 +49,7 @@ from transformers.utils.versions import require_version
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
check_min_version
(
"4.
39
.0.dev0"
)
check_min_version
(
"4.
40
.0.dev0"
)
require_version
(
"datasets>=1.8.0"
,
"To fix: pip install -r examples/pytorch/text-classification/requirements.txt"
)
...
...
examples/pytorch/text-classification/run_glue_no_trainer.py
View file @
1248f092
...
...
@@ -48,7 +48,7 @@ from transformers.utils.versions import require_version
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
check_min_version
(
"4.
39
.0.dev0"
)
check_min_version
(
"4.
40
.0.dev0"
)
logger
=
get_logger
(
__name__
)
...
...
examples/pytorch/text-classification/run_xnli.py
View file @
1248f092
...
...
@@ -49,7 +49,7 @@ from transformers.utils.versions import require_version
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
check_min_version
(
"4.
39
.0.dev0"
)
check_min_version
(
"4.
40
.0.dev0"
)
require_version
(
"datasets>=1.8.0"
,
"To fix: pip install -r examples/pytorch/text-classification/requirements.txt"
)
...
...
examples/pytorch/token-classification/run_ner.py
View file @
1248f092
...
...
@@ -50,7 +50,7 @@ from transformers.utils.versions import require_version
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
check_min_version
(
"4.
39
.0.dev0"
)
check_min_version
(
"4.
40
.0.dev0"
)
require_version
(
"datasets>=1.8.0"
,
"To fix: pip install -r examples/pytorch/token-classification/requirements.txt"
)
...
...
examples/pytorch/token-classification/run_ner_no_trainer.py
View file @
1248f092
...
...
@@ -56,7 +56,7 @@ from transformers.utils.versions import require_version
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
check_min_version
(
"4.
39
.0.dev0"
)
check_min_version
(
"4.
40
.0.dev0"
)
logger
=
get_logger
(
__name__
)
require_version
(
"datasets>=1.8.0"
,
"To fix: pip install -r examples/pytorch/token-classification/requirements.txt"
)
...
...
examples/pytorch/translation/run_translation.py
View file @
1248f092
...
...
@@ -53,7 +53,7 @@ from transformers.utils.versions import require_version
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
check_min_version
(
"4.
39
.0.dev0"
)
check_min_version
(
"4.
40
.0.dev0"
)
require_version
(
"datasets>=1.8.0"
,
"To fix: pip install -r examples/pytorch/translation/requirements.txt"
)
...
...
examples/pytorch/translation/run_translation_no_trainer.py
View file @
1248f092
...
...
@@ -57,7 +57,7 @@ from transformers.utils.versions import require_version
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
check_min_version
(
"4.
39
.0.dev0"
)
check_min_version
(
"4.
40
.0.dev0"
)
logger
=
get_logger
(
__name__
)
require_version
(
"datasets>=1.8.0"
,
"To fix: pip install -r examples/pytorch/translation/requirements.txt"
)
...
...
examples/tensorflow/contrastive-image-text/run_clip.py
View file @
1248f092
...
...
@@ -52,7 +52,7 @@ from transformers.utils.versions import require_version
logger
=
logging
.
getLogger
(
__name__
)
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
check_min_version
(
"4.
39
.0.dev0"
)
check_min_version
(
"4.
40
.0.dev0"
)
require_version
(
"datasets>=1.8.0"
,
"To fix: pip install -r examples/tensorflow/contrastive-image-text/requirements.txt"
...
...
examples/tensorflow/image-classification/run_image_classification.py
View file @
1248f092
...
...
@@ -56,7 +56,7 @@ from transformers.utils.versions import require_version
logger
=
logging
.
getLogger
(
__name__
)
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
check_min_version
(
"4.
39
.0.dev0"
)
check_min_version
(
"4.
40
.0.dev0"
)
require_version
(
"datasets>=1.8.0"
,
"To fix: pip install -r examples/pytorch/image-classification/requirements.txt"
)
...
...
examples/tensorflow/multiple-choice/run_swag.py
View file @
1248f092
...
...
@@ -51,7 +51,7 @@ from transformers.utils import PaddingStrategy, check_min_version, send_example_
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
check_min_version
(
"4.
39
.0.dev0"
)
check_min_version
(
"4.
40
.0.dev0"
)
logger
=
logging
.
getLogger
(
__name__
)
...
...
examples/tensorflow/question-answering/run_qa.py
View file @
1248f092
...
...
@@ -63,7 +63,7 @@ except (ModuleNotFoundError, ImportError):
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
check_min_version
(
"4.
39
.0.dev0"
)
check_min_version
(
"4.
40
.0.dev0"
)
logger
=
logging
.
getLogger
(
__name__
)
...
...
examples/tensorflow/summarization/run_summarization.py
View file @
1248f092
...
...
@@ -54,7 +54,7 @@ from transformers.utils.versions import require_version
# region Checking dependencies
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
check_min_version
(
"4.
39
.0.dev0"
)
check_min_version
(
"4.
40
.0.dev0"
)
require_version
(
"datasets>=1.8.0"
,
"To fix: pip install -r examples/pytorch/summarization/requirements.txt"
)
...
...
examples/tensorflow/text-classification/run_glue.py
View file @
1248f092
...
...
@@ -48,7 +48,7 @@ from transformers.utils import check_min_version, send_example_telemetry
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
check_min_version
(
"4.
39
.0.dev0"
)
check_min_version
(
"4.
40
.0.dev0"
)
task_to_keys
=
{
"cola"
:
(
"sentence"
,
None
),
...
...
examples/tensorflow/translation/run_translation.py
View file @
1248f092
...
...
@@ -57,7 +57,7 @@ from transformers.utils.versions import require_version
# region Dependencies and constants
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
check_min_version
(
"4.
39
.0.dev0"
)
check_min_version
(
"4.
40
.0.dev0"
)
require_version
(
"datasets>=1.8.0"
,
"To fix: pip install -r examples/pytorch/summarization/requirements.txt"
)
...
...
Prev
1
2
3
4
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment