transformers/examples/research_projects
LSinev 02b176c4ce
Fix torch version comparisons (#18460)
Comparisons like
version.parse(torch.__version__) > version.parse("1.6")
are True for torch==1.6.0+cu101 or torch==1.6.0+cpu

version.parse(version.parse(torch.__version__).base_version) are preferred (and available in pytorch_utils.py
2022-08-03 13:37:18 -04:00
..
adversarial Black preview (#17217) 2022-05-12 16:25:55 -04:00
bert-loses-patience Black preview (#17217) 2022-05-12 16:25:55 -04:00
bertabs Black preview (#17217) 2022-05-12 16:25:55 -04:00
bertology Black preview (#17217) 2022-05-12 16:25:55 -04:00
codeparrot Fix codeparrot deduplication - ignore whitespaces (#18023) 2022-07-28 15:58:26 +02:00
decision_transformer Bump cookiecutter in /examples/research_projects/decision_transformer (#17645) 2022-06-10 04:27:51 -04:00
deebert Black preview (#17217) 2022-05-12 16:25:55 -04:00
distillation Fix some typos. (#17560) 2022-07-11 05:00:13 -04:00
fsner Black preview (#17217) 2022-05-12 16:25:55 -04:00
information-gain-filtration Fix style 2022-05-18 10:46:40 -04:00
jax-projects Fix RESOURCE_EXHAUSTED error when dealing with large datasets in Flax example scripts (#18069) 2022-07-11 15:59:08 +02:00
layoutlmv3 Add LayoutLMv3 (#17060) 2022-05-24 09:53:45 +02:00
longform-qa Black preview (#17217) 2022-05-12 16:25:55 -04:00
luke Black preview (#17217) 2022-05-12 16:25:55 -04:00
lxmert Bump mistune from 0.8.4 to 2.0.3 in /examples/research_projects/lxmert (#18370) 2022-08-01 04:46:57 -04:00
mlm_wwm Black preview (#17217) 2022-05-12 16:25:55 -04:00
mm-imdb Black preview (#17217) 2022-05-12 16:25:55 -04:00
movement-pruning Black preview (#17217) 2022-05-12 16:25:55 -04:00
onnx/summarization Black preview (#17217) 2022-05-12 16:25:55 -04:00
performer Fix RESOURCE_EXHAUSTED error when dealing with large datasets in Flax example scripts (#18069) 2022-07-11 15:59:08 +02:00
pplm Black preview (#17217) 2022-05-12 16:25:55 -04:00
quantization-qdqbert Fix all is_torch_tpu_available issues (#17936) 2022-06-29 11:03:33 -04:00
rag Black preview (#17217) 2022-05-12 16:25:55 -04:00
rag-end2end-retriever Rag end2end new (#17650) 2022-06-14 14:56:32 +02:00
robust-speech-event Replace as_target context managers by direct calls (#18325) 2022-07-29 08:09:09 -04:00
self-training-text-classification Black preview (#17217) 2022-05-12 16:25:55 -04:00
seq2seq-distillation Black preview (#17217) 2022-05-12 16:25:55 -04:00
tapex Replace as_target context managers by direct calls (#18325) 2022-07-29 08:09:09 -04:00
visual_bert Bump mistune in /examples/research_projects/visual_bert (#18371) 2022-08-01 04:46:31 -04:00
wav2vec2 Fix torch version comparisons (#18460) 2022-08-03 13:37:18 -04:00
xtreme-s Replace as_target context managers by direct calls (#18325) 2022-07-29 08:09:09 -04:00
zero-shot-distillation Updates the default branch from master to main (#16326) 2022-03-23 03:46:59 -04: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.