transformers/examples/contrib
Patrick von Platen aa925a52fa
[Tests, GPU, SLOW] fix a bunch of GPU hardcoded tests in Pytorch (#4468)
* fix gpu slow tests in pytorch

* change model to device syntax
2020-05-19 21:35:04 +02:00
..
mm-imdb BIG Reorganize examples (#4213) 2020-05-07 13:48:44 -04:00
README.md GPU text generation: mMoved the encoded_prompt to correct device 2020-01-06 15:11:12 +01:00
run_camembert.py GPU text generation: mMoved the encoded_prompt to correct device 2020-01-06 15:11:12 +01:00
run_openai_gpt.py One last reorder of {scheduler,optimizer}.step() 2020-03-20 18:05:50 -04:00
run_swag.py fix n_gpu count when no_cuda flag is activated (#3077) 2020-03-02 10:20:21 -05:00
run_transfo_xl.py [Tests, GPU, SLOW] fix a bunch of GPU hardcoded tests in Pytorch (#4468) 2020-05-19 21:35:04 +02:00

Community contributed examples

This folder contains examples which are not actively maintained (mostly contributed by the community).

Using these examples together with a recent version of the library usually requires to make small (sometimes big) adaptations to get the scripts working.