transformers/examples/research_projects
Shamane Siri 9ec0f01b6c
RAG-2nd2end-revamp (#11893)
* initial

* code quality test

* code quality

* added test functions in test_modeling_rag.py and test_retrieval_rag.py to test end2end retreiver

* minor change in test_modeling_rag

* fixed tests

* Update examples/research_projects/rag-end2end-retriever/README.md

typo corrected as suggested by lhoestq

Co-authored-by: Quentin Lhoest <42851186+lhoestq@users.noreply.github.com>

* Update examples/research_projects/rag-end2end-retriever/finetune_rag.py

type change suggested by lhoestq

Co-authored-by: Quentin Lhoest <42851186+lhoestq@users.noreply.github.com>

* Update src/transformers/models/rag/retrieval_rag.py

Adding this change as mentioned by lhoestq.

Co-authored-by: Quentin Lhoest <42851186+lhoestq@users.noreply.github.com>

* completed the minor changes suggested by the reviewers

Co-authored-by: Quentin Lhoest <42851186+lhoestq@users.noreply.github.com>
2021-06-01 07:32:26 +01:00
..
adversarial Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
bert-loses-patience make style (#11442) 2021-04-26 13:50:34 +02:00
bertabs make style (#11442) 2021-04-26 13:50:34 +02:00
bertology make style (#11442) 2021-04-26 13:50:34 +02:00
deebert make style (#11442) 2021-04-26 13:50:34 +02:00
distillation Variable Correction for Consistency in Distillation Example (#11444) 2021-04-26 13:30:48 -04:00
longform-qa Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
lxmert [vulnerability] dep fix (#10954) 2021-03-29 17:25:47 -04:00
mlm_wwm Fit chinese wwm to new datasets (#9887) 2021-02-01 03:37:59 -05:00
mm-imdb [Examples] Fix invalid links after reorg (#11650) 2021-05-10 11:16:48 +05:30
movement-pruning [Examples] Fix invalid links after reorg (#11650) 2021-05-10 11:16:48 +05:30
performer Adding performer fine-tuning research exampke (#9239) 2020-12-21 21:19:41 +01:00
pplm Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
rag Update requirements.txt (#11634) 2021-05-10 11:19:52 +05:30
rag-end2end-retriever RAG-2nd2end-revamp (#11893) 2021-06-01 07:32:26 +01:00
seq2seq-distillation Close open files to suppress ResourceWarning (#11240) 2021-04-14 10:31:04 -04:00
wav2vec2 remove defaults to None if optional (#11703) 2021-05-12 09:11:10 -04:00
zero-shot-distillation Update README.md (#11489) 2021-04-30 04:29: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.