File tree
974 files changed
+59929
-9141
lines changed- .circleci
- .github/workflows
- docker
- transformers-all-latest-gpu
- transformers-doc-builder
- transformers-pytorch-deepspeed-latest-gpu
- transformers-pytorch-gpu
- docs/source
- en
- main_classes
- model_doc
- tasks
- hi
- ja
- internal
- main_classes
- ko
- tasks
- ms
- te
- zh
- examples
- flax
- image-captioning
- language-modeling
- question-answering
- speech-recognition
- summarization
- text-classification
- token-classification
- vision
- legacy
- multiple_choice
- pytorch-lightning
- question-answering
- seq2seq
- pytorch
- audio-classification
- contrastive-image-text
- image-classification
- image-pretraining
- language-modeling
- multiple-choice
- question-answering
- semantic-segmentation
- speech-recognition
- summarization
- text-classification
- token-classification
- translation
- research_projects
- bert-loses-patience
- decision_transformer
- deebert
- distillation
- information-gain-filtration
- jax-projects
- dataset-streaming
- hybrid_clip
- model_parallel
- luke
- lxmert
- mlm_wwm
- mm-imdb
- movement-pruning
- performer
- pplm
- quantization-qdqbert
- rag-end2end-retriever
- rag
- robust-speech-event
- seq2seq-distillation
- tapex
- visual_bert
- wav2vec2
- xtreme-s
- zero-shot-distillation
- tensorflow
- contrastive-image-text
- image-classification
- language-modeling
- multiple-choice
- question-answering
- summarization
- text-classification
- token-classification
- translation
- scripts
- src/transformers
- commands
- data
- generation
- integrations
- models
- albert
- align
- altclip
- audio_spectrogram_transformer
- autoformer
- auto
- bark
- barthez
- bartpho
- bart
- beit
- bert_generation
- bertweet
- bert
- big_bird
- bigbird_pegasus
- biogpt
- bit
- blenderbot_small
- blenderbot
- blip_2
- blip
- bloom
- bridgetower
- bros
- byt5
- camembert
- canine
- chinese_clip
- clap
- clipseg
- clip
- code_llama
- codegen
- conditional_detr
- convbert
- convnextv2
- convnext
- cpmant
- ctrl
- data2vec
- deberta_v2
- deberta
- decision_transformer
- deformable_detr
- deit
- deprecated
- mctct
- open_llama
- retribert
- trajectory_transformer
- van
- deta
- detr
- dinat
- dinov2
- distilbert
- donut
- dpr
- dpt
- efficientnet
- electra
- encodec
- encoder_decoder
- ernie_m
- ernie
- esm
- falcon
- flaubert
- flava
- fnet
- focalnet
- fsmt
- funnel
- fuyu
- git
- glpn
- gpt2
- gpt_bigcode
- gpt_neox_japanese
- gpt_neox
- gpt_neo
- gpt_sw3
- gptj
- gptsan_japanese
- graphormer
- groupvit
- hubert
- idefics
- imagegpt
- informer
- instructblip
- kosmos2
- layoutlmv2
- layoutlmv3
- layoutlm
- layoutxlm
- led
- levit
- lilt
- llama
- longformer
- longt5
- luke
- lxmert
- m2m_100
- marian
- markuplm
- mask2former
- maskformer
- mbart50
- mbart
- megatron_bert
- mgp_str
- mistral
- mobilebert
- mobilenet_v1
- mobilenet_v2
- mobilevitv2
- mobilevit
- mpnet
- mpt
- mra
- mt5
- musicgen
- mvp
- nat
- nezha
- nllb_moe
- nllb
- nougat
- nystromformer
- oneformer
- openai
- opt
- owlv2
- owlvit
- pegasus_x
- pegasus
- perceiver
- persimmon
- phobert
- pix2struct
- plbart
- poolformer
- pop2piano
- prophetnet
- pvt
- qdqbert
- realm
- reformer
- regnet
- rembert
- resnet
- roberta_prelayernorm
- roberta
- roc_bert
- roformer
- rwkv
- sam
- seamless_m4t
- segformer
- sew_d
- sew
- speech_encoder_decoder
- speech_to_text_2
- speech_to_text
- speecht5
- splinter
- squeezebert
- swiftformer
- swin2sr
- swinv2
- swin
- switch_transformers
- t5
- table_transformer
- tapas
- time_series_transformer
- timesformer
- transfo_xl
- trocr
- tvlt
- umt5
- unispeech_sat
- unispeech
- upernet
- videomae
- vilt
- vision_encoder_decoder
- vision_text_dual_encoder
- visual_bert
- vit_hybrid
- vit_mae
- vit_msn
- vitdet
- vitmatte
- vits
- vit
- vivit
- wav2vec2_conformer
- wav2vec2_phoneme
- wav2vec2
- wavlm
- whisper
- x_clip
- xglm
- xlm_prophetnet
- xlm_roberta_xl
- xlm_roberta
- xlm
- xlnet
- xmod
- yolos
- yoso
- pipelines
- tools
- utils
- templates
- adding_a_new_example_script/{{cookiecutter.directory_name}}
- adding_a_new_model/cookiecutter-template-{{cookiecutter.modelname}}
- tests
- bettertransformer
- extended
- fsdp
- generation
- models
- align
- altclip
- audio_spectrogram_transformer
- autoformer
- bark
- bart
- beit
- big_bird
- biogpt
- blenderbot_small
- blip_2
- blip
- bloom
- camembert
- canine
- chinese_clip
- clap
- clipseg
- clip
- code_llama
- codegen
- deit
- dinov2
- dpt
- encodec
- encoder_decoder
- falcon
- flava
- fnet
- fuyu
- git
- gpt2
- groupvit
- herbert
- hubert
- idefics
- imagegpt
- informer
- instructblip
- kosmos2
- layoutlm
- lilt
- llama
- longformer
- luke
- marian
- markuplm
- mbart
- mistral
- mobilebert
- mra
- musicgen
- nllb
- opt
- owlv2
- owlvit
- pegasus
- perceiver
- persimmon
- pix2struct
- plbart
- reformer
- roberta_prelayernorm
- roberta
- roc_bert
- roformer
- sam
- seamless_m4t
- speech_to_text
- speecht5
- swin2sr
- t5
- time_series_transformer
- tvlt
- umt5
- vilt
- visual_bert
- vitmatte
- vits
- wav2vec2_conformer
- wav2vec2_with_lm
- wav2vec2
- whisper
- x_clip
- peft_integration
- pipelines
- quantization
- bnb
- gptq
- repo_utils
- sagemaker/scripts/pytorch
- tokenization
- trainer
- utils
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
974 files changed
+59929
-9141
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| 212 | + | |
212 | 213 | | |
213 | 214 | | |
214 | 215 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
| |||
311 | 313 | | |
312 | 314 | | |
313 | 315 | | |
314 | | - | |
| 316 | + | |
315 | 317 | | |
316 | 318 | | |
317 | 319 | | |
| |||
347 | 349 | | |
348 | 350 | | |
349 | 351 | | |
| 352 | + | |
350 | 353 | | |
351 | 354 | | |
352 | 355 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | 24 | | |
52 | 25 | | |
53 | | - | |
54 | 26 | | |
55 | 27 | | |
56 | 28 | | |
| |||
276 | 248 | | |
277 | 249 | | |
278 | 250 | | |
279 | | - | |
280 | | - | |
281 | 251 | | |
282 | 252 | | |
283 | 253 | | |
| |||
288 | 258 | | |
289 | 259 | | |
290 | 260 | | |
291 | | - | |
292 | | - | |
293 | 261 | | |
294 | 262 | | |
295 | 263 | | |
| |||
303 | 271 | | |
304 | 272 | | |
305 | 273 | | |
306 | | - | |
307 | | - | |
308 | 274 | | |
309 | 275 | | |
310 | 276 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | 35 | | |
63 | 36 | | |
64 | | - | |
65 | 37 | | |
66 | 38 | | |
67 | 39 | | |
| |||
319 | 291 | | |
320 | 292 | | |
321 | 293 | | |
322 | | - | |
323 | | - | |
324 | 294 | | |
325 | 295 | | |
326 | 296 | | |
| |||
331 | 301 | | |
332 | 302 | | |
333 | 303 | | |
334 | | - | |
335 | | - | |
336 | 304 | | |
337 | 305 | | |
338 | 306 | | |
| |||
351 | 319 | | |
352 | 320 | | |
353 | 321 | | |
354 | | - | |
355 | | - | |
356 | 322 | | |
357 | 323 | | |
358 | 324 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
19 | 9 | | |
20 | 10 | | |
21 | 11 | | |
| |||
45 | 35 | | |
46 | 36 | | |
47 | 37 | | |
48 | | - | |
49 | | - | |
| 38 | + | |
50 | 39 | | |
51 | 40 | | |
52 | 41 | | |
| |||
65 | 54 | | |
66 | 55 | | |
67 | 56 | | |
68 | | - | |
69 | | - | |
| 57 | + | |
70 | 58 | | |
71 | 59 | | |
72 | 60 | | |
| |||
164 | 152 | | |
165 | 153 | | |
166 | 154 | | |
167 | | - | |
168 | | - | |
| 155 | + | |
169 | 156 | | |
170 | 157 | | |
171 | 158 | | |
| |||
321 | 308 | | |
322 | 309 | | |
323 | 310 | | |
324 | | - | |
| 311 | + | |
325 | 312 | | |
326 | 313 | | |
327 | 314 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 30 | | |
58 | 31 | | |
59 | | - | |
60 | 32 | | |
61 | 33 | | |
62 | 34 | | |
| |||
521 | 493 | | |
522 | 494 | | |
523 | 495 | | |
524 | | - | |
525 | | - | |
526 | 496 | | |
527 | 497 | | |
528 | 498 | | |
| |||
534 | 504 | | |
535 | 505 | | |
536 | 506 | | |
537 | | - | |
538 | 507 | | |
539 | | - | |
540 | 508 | | |
541 | 509 | | |
542 | 510 | | |
| |||
589 | 557 | | |
590 | 558 | | |
591 | 559 | | |
592 | | - | |
593 | | - | |
594 | 560 | | |
595 | 561 | | |
596 | 562 | | |
| |||
0 commit comments