transformers/examples/research_projects
Yitong Huang 873d9bb3cc
Make torch xla available on GPU (#29334)
* add USE_TORCH_XLA env

* rename torch_tpu to torch_xla

* better is_torch_xla_available; fix some fsdp and performance issues

* fix format

* fix bug when pjrt_device is cpu

* fix bug

* fix the deprecation handling

---------

Co-authored-by: anw90 <ang868@gmail.com>
Co-authored-by: wangang.wa <wangang.wa@alibaba-inc.com>
2024-03-11 14:07:16 +00:00
..
adversarial Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
bert-loses-patience Update all references to canonical models (#29001) 2024-02-16 08:16:58 +01:00
bertabs Update all references to canonical models (#29001) 2024-02-16 08:16:58 +01:00
bertology Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
codeparrot Update all references to canonical models (#29001) 2024-02-16 08:16:58 +01:00
decision_transformer Bump cryptography from 41.0.2 to 42.0.0 in /examples/research_projects/decision_transformer (#28879) 2024-02-06 03:53:08 +01:00
deebert Update all references to canonical models (#29001) 2024-02-16 08:16:58 +01:00
distillation [Docs] Add language identifiers to fenced code blocks (#28955) 2024-02-12 10:48:31 -08:00
fsner Fix TypeError: Object of type int64 is not JSON serializable (#24340) 2023-06-27 12:15:49 +01:00
information-gain-filtration Update all references to canonical models (#29001) 2024-02-16 08:16:58 +01:00
jax-projects Update all references to canonical models (#29001) 2024-02-16 08:16:58 +01:00
layoutlmv3 Remove-auth-token (#27060) 2023-11-13 14:20:54 +01:00
longform-qa Update all references to canonical models (#29001) 2024-02-16 08:16:58 +01:00
luke Fix input data file extension in examples (#28741) 2024-01-29 10:06:31 +00:00
lxmert [`Styling`] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00
mlm_wwm Update all references to canonical models (#29001) 2024-02-16 08:16:58 +01:00
mm-imdb Update all references to canonical models (#29001) 2024-02-16 08:16:58 +01:00
movement-pruning Update all references to canonical models (#29001) 2024-02-16 08:16:58 +01:00
onnx/summarization Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
performer Update all references to canonical models (#29001) 2024-02-16 08:16:58 +01:00
pplm Update all references to canonical models (#29001) 2024-02-16 08:16:58 +01:00
quantization-qdqbert Make torch xla available on GPU (#29334) 2024-03-11 14:07:16 +00:00
rag [Docs] Add language identifiers to fenced code blocks (#28955) 2024-02-12 10:48:31 -08:00
rag-end2end-retriever Broken links fixed related to datasets docs (#27569) 2023-11-17 13:44:09 -08:00
robust-speech-event [Docs] Add language identifiers to fenced code blocks (#28955) 2024-02-12 10:48:31 -08:00
self-training-text-classification Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
seq2seq-distillation [Docs] Fix spelling and grammar mistakes (#28825) 2024-02-02 08:45:00 +01:00
tapex Broken links fixed related to datasets docs (#27569) 2023-11-17 13:44:09 -08:00
visual_bert [`Styling`] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00
vqgan-clip [Docs] Add language identifiers to fenced code blocks (#28955) 2024-02-12 10:48:31 -08:00
wav2vec2 [Docs] Add language identifiers to fenced code blocks (#28955) 2024-02-12 10:48:31 -08:00
xtreme-s Remove-auth-token (#27060) 2023-11-13 14:20:54 +01:00
zero-shot-distillation [Docs] Add language identifiers to fenced code blocks (#28955) 2024-02-12 10:48:31 -08:00
README.md [Docs] Add language identifiers to fenced code blocks (#28955) 2024-02-12 10:48:31 -08:00

README.md

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.