transformers/examples/research_projects
Ahmed Moubtahij 39b2ff69d6
Token healing (#30081)
* token healing impl + trie with extensions

* make fixup

* prefix-robust space tokenization

* examples readme and requirements

* make fixup

* allow input prompt and model

* redundant defaults

* Specialized Trie

* make fixup

* updated tests with new inherited Tree

* input ids to auto device_map

* rm unused import

* Update src/transformers/generation/utils.py

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>

* naming convention

* Revert "naming convention"

This reverts commit dd39d9c5b7a969e2d8a8d2a8e54f121b82dc44f0.

* naming convention

* last -hopefully- changes

---------

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
2024-06-03 10:53:15 +02:00
..
adversarial update ruff version (#30932) 2024-05-22 06:40:15 +02:00
bert-loses-patience update ruff version (#30932) 2024-05-22 06:40:15 +02:00
bertabs update ruff version (#30932) 2024-05-22 06:40:15 +02:00
bertology update ruff version (#30932) 2024-05-22 06:40:15 +02:00
codeparrot Bump torch from 1.11.0 to 1.13.1 in /examples/research_projects/codeparrot (#21170) 2024-05-01 16:40:19 +01:00
decision_transformer Bump requests from 2.31.0 to 2.32.0 in /examples/research_projects/decision_transformer (#30925) 2024-05-21 09:41:29 +01:00
deebert Update all references to canonical models (#29001) 2024-02-16 08:16:58 +01:00
distillation update ruff version (#30932) 2024-05-22 06:40:15 +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 Update all references to canonical models (#29001) 2024-02-16 08:16:58 +01:00
jax-projects update ruff version (#30932) 2024-05-22 06:40:15 +02:00
layoutlmv3 🚨🚨🚨Deprecate evaluation_strategy to eval_strategy🚨🚨🚨 (#30190) 2024-04-18 12:49:43 -04: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 Bump requests from 2.31.0 to 2.32.2 in /examples/research_projects/lxmert (#30956) 2024-05-22 11:27:41 +01:00
mlm_wwm Update all references to canonical models (#29001) 2024-02-16 08:16:58 +01:00
mm-imdb update ruff version (#30932) 2024-05-22 06:40:15 +02:00
movement-pruning update ruff version (#30932) 2024-05-22 06:40:15 +02:00
onnx/summarization update ruff version (#30932) 2024-05-22 06:40:15 +02:00
performer update ruff version (#30932) 2024-05-22 06:40:15 +02:00
pplm Update all references to canonical models (#29001) 2024-02-16 08:16:58 +01:00
quantization-qdqbert update ruff version (#30932) 2024-05-22 06:40:15 +02:00
rag update ruff version (#30932) 2024-05-22 06:40:15 +02:00
rag-end2end-retriever update ruff version (#30932) 2024-05-22 06:40:15 +02:00
robust-speech-event update ruff version (#30932) 2024-05-22 06:40:15 +02:00
self-training-text-classification 🚨🚨🚨Deprecate evaluation_strategy to eval_strategy🚨🚨🚨 (#30190) 2024-04-18 12:49:43 -04:00
seq2seq-distillation [Docs] Fix spelling and grammar mistakes (#28825) 2024-02-02 08:45:00 +01:00
tapex 🚨🚨🚨Deprecate evaluation_strategy to eval_strategy🚨🚨🚨 (#30190) 2024-04-18 12:49:43 -04:00
token-healing Token healing (#30081) 2024-06-03 10:53:15 +02:00
visual_bert Bump requests from 2.31.0 to 2.32.2 in /examples/research_projects/visual_bert (#30983) 2024-05-23 12:38:00 +01:00
vqgan-clip [Docs] Add language identifiers to fenced code blocks (#28955) 2024-02-12 10:48:31 -08:00
wav2vec2 🚨🚨🚨Deprecate evaluation_strategy to eval_strategy🚨🚨🚨 (#30190) 2024-04-18 12:49:43 -04:00
xtreme-s update ruff version (#30932) 2024-05-22 06:40:15 +02: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

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.