Files
HuggingFace_transformer/examples/research_projects
Loubna Ben Allal b48ac1a094 Fix CodeParrot training script (#17291)
* average loss over batches and accumulated steps for tracking

* fix layernorm weight decay

* use AdamW from Pytorch instead of Transformers

* add shuffling of sequences inside the batches

* add shuffling of sequences inside the batches

* add logging dir and reformat code

* fix lr tracking

* remove Mistral scaling

* keep Mistral scaling

* reformat code

* fix error

* fix error

* use shuffling function from Pytorch

* remove argument for shuffling batch sequences as it isn't optional

* update package versions and install accelerate from source

* remove unused package

* Update loss average over accumulated steps

Co-authored-by: Leandro von Werra <lvwerra@users.noreply.github.com>

* Update loss average over accumulated steps

Co-authored-by: Leandro von Werra <lvwerra@users.noreply.github.com>

* use one shuffle buffer argument

* compute avg_loss in one line

Co-authored-by: Loubna ben allal <loubnabenallal@gmail.com>
Co-authored-by: Leandro von Werra <lvwerra@users.noreply.github.com>
2022-05-23 12:55:35 +02:00
..
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-18 10:46:40 -04:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
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.