transformers/examples/research_projects
Arthur 651408a077
[Styling] stylify using ruff (#27144)
* try to stylify using ruff

* might need to remove these changes?

* use ruf format andruff check

* use isinstance instead of type comparision

* use # fmt: skip

* use # fmt: skip

* nits

* soem styling changes

* update ci job

* nits isinstance

* more files update

* nits

* more nits

* small nits

* check and format

* revert wrong changes

* actually use formatter instead of checker

* nits

* well docbuilder is overwriting this commit

* revert notebook changes

* try to nuke docbuilder

* style

* fix feature exrtaction test

* remve `indent-width = 4`

* fixup

* more nits

* update the ruff version that we use

* style

* nuke docbuilder styling

* leve the print for detected changes

* nits

* Remove file I/O

Co-authored-by: charliermarsh
 <charlie.r.marsh@gmail.com>

* style

* nits

* revert notebook changes

* Add # fmt skip when possible

* Add # fmt skip when possible

* Fix

* More `  # fmt: skip` usage

* More `  # fmt: skip` usage

* More `  # fmt: skip` usage

* NIts

* more fixes

* fix tapas

* Another way to skip

* Recommended way

* Fix two more fiels

* Remove asynch
Remove asynch

---------

Co-authored-by: charliermarsh <charlie.r.marsh@gmail.com>
2023-11-16 17:43:19 +01:00
..
adversarial Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
bert-loses-patience Add many missing spaces in adjacent strings (#26751) 2023-10-12 10:28:40 +02:00
bertabs Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
bertology Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
codeparrot Set usedforsecurity=False in hashlib methods (FIPS compliance) (#27483) 2023-11-16 14:29:53 +00:00
decision_transformer Bump werkzeug from 2.2.3 to 3.0.1 in /examples/research_projects/decision_transformer (#27072) 2023-10-26 08:56:28 +02:00
deebert [Styling] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00
distillation Add many missing spaces in adjacent strings (#26751) 2023-10-12 10:28:40 +02:00
fsner Fix TypeError: Object of type int64 is not JSON serializable (#24340) 2023-06-27 12:15:49 +01:00
information-gain-filtration Add many missing spaces in adjacent strings (#26751) 2023-10-12 10:28:40 +02:00
jax-projects Remove-auth-token (#27060) 2023-11-13 14:20:54 +01:00
layoutlmv3 Remove-auth-token (#27060) 2023-11-13 14:20:54 +01:00
longform-qa [Styling] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00
luke Add many missing spaces in adjacent strings (#26751) 2023-10-12 10:28:40 +02:00
lxmert [Styling] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00
mlm_wwm Remove-auth-token (#27060) 2023-11-13 14:20:54 +01:00
mm-imdb Add many missing spaces in adjacent strings (#26751) 2023-10-12 10:28:40 +02:00
movement-pruning [Styling] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00
onnx/summarization Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
performer Add many missing spaces in adjacent strings (#26751) 2023-10-12 10:28:40 +02:00
pplm Add many missing spaces in adjacent strings (#26751) 2023-10-12 10:28:40 +02:00
quantization-qdqbert [Styling] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00
rag Add many missing spaces in adjacent strings (#26751) 2023-10-12 10:28:40 +02:00
rag-end2end-retriever Add many missing spaces in adjacent strings (#26751) 2023-10-12 10:28:40 +02:00
robust-speech-event Remove-auth-token (#27060) 2023-11-13 14:20:54 +01:00
self-training-text-classification Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
seq2seq-distillation Add many missing spaces in adjacent strings (#26751) 2023-10-12 10:28:40 +02:00
tapex Remove-auth-token (#27060) 2023-11-13 14:20:54 +01:00
visual_bert [Styling] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00
vqgan-clip Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
wav2vec2 Add many missing spaces in adjacent strings (#26751) 2023-10-12 10:28:40 +02:00
xtreme-s Remove-auth-token (#27060) 2023-11-13 14:20:54 +01:00
zero-shot-distillation Add many missing spaces in adjacent strings (#26751) 2023-10-12 10:28:40 +02:00
README.md Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00

Research projects

This folder contains various research projects using 🤗 Transformers. They are not maintained and require a specific version of 🤗 Transformers that is indicated in the requirements file of each folder. Updating them to the most recent version of the library will require some work.

To use any of them, just run the command

pip install -r requirements.txt

inside the folder of your choice.

If you need help with any of those, contact the author(s), indicated at the top of the README of each folder.