transformers/examples/research_projects
Xiaoli Wang 239ace152b
Fix TypeError: Object of type int64 is not JSON serializable (#24340)
* Fix TypeError: Object of type int64 is not JSON serializable

* Convert numpy.float64 and numpy.int64 to float and int for json serialization

* Black reformatted examples/pytorch/token-classification/run_ner_no_trainer.py

* * make style
2023-06-27 12:15:49 +01:00
..
adversarial Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
bert-loses-patience Fix some docs what layerdrop does (#23691) 2023-05-23 14:50:40 -04:00
bertabs Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
bertology Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
codeparrot Fix TypeError: Object of type int64 is not JSON serializable (#24340) 2023-06-27 12:15:49 +01:00
decision_transformer Bump cryptography from 39.0.1 to 41.0.0 in /examples/research_projects/decision_transformer (#23964) 2023-06-02 16:23:44 -04:00
deebert Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
distillation Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01: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 quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
jax-projects Fix TypeError: Object of type int64 is not JSON serializable (#24340) 2023-06-27 12:15:49 +01:00
layoutlmv3 Fix quality due to ruff release 2023-03-22 20:45:08 -04:00
longform-qa Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
luke Fix TypeError: Object of type int64 is not JSON serializable (#24340) 2023-06-27 12:15:49 +01:00
lxmert Fix TypeError: Object of type int64 is not JSON serializable (#24340) 2023-06-27 12:15:49 +01:00
mlm_wwm Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
mm-imdb Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
movement-pruning Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
onnx/summarization Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
performer Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
pplm Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
quantization-qdqbert Avoid invalid escape sequences, use raw strings (#22936) 2023-04-25 09:17:56 -04:00
rag Fix quality due to ruff release 2023-03-22 20:45:08 -04:00
rag-end2end-retriever Fix quality due to ruff release 2023-03-22 20:45:08 -04:00
robust-speech-event Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
self-training-text-classification Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
seq2seq-distillation Fix quality due to ruff release 2023-03-22 20:45:08 -04:00
tapex Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
visual_bert Fix TypeError: Object of type int64 is not JSON serializable (#24340) 2023-06-27 12:15:49 +01:00
vqgan-clip Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
wav2vec2 Avoid invalid escape sequences, use raw strings (#22936) 2023-04-25 09:17:56 -04:00
xtreme-s Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
zero-shot-distillation Fix quality due to ruff release 2023-03-22 20:45:08 -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.