transformers/examples/contrib
Aymeric Augustin fa84ae26d6 Reformat source code with black.
This is the result of:

    $ black --line-length 119 examples templates transformers utils hubconf.py setup.py

There's a lot of fairly long lines in the project. As a consequence, I'm
picking the longest widely accepted line length, 119 characters.

This is also Thomas' preference, because it allows for explicit variable
names, to make the code easier to understand.
2019-12-21 17:52:29 +01:00
..
README.md clean up examples - updated to new keyword inputs - #1246 2019-09-18 10:01:27 +02:00
run_camembert.py Reformat source code with black. 2019-12-21 17:52:29 +01:00
run_openai_gpt.py Reformat source code with black. 2019-12-21 17:52:29 +01:00
run_swag.py Reformat source code with black. 2019-12-21 17:52:29 +01:00
run_transfo_xl.py Reformat source code with black. 2019-12-21 17:52:29 +01: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.