transformers/examples/research_projects/codeparrot/scripts
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
..
tests Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
arguments.py Update CodeParrot readme to include training in Megatron (#17798) 2022-07-27 11:59:08 +02:00
bpe_training.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
codeparrot_training.py Act on deprecations in Accelerate no_trainer examples (#24053) 2023-06-06 13:04:38 -04:00
human_eval.py Fix TypeError: Object of type int64 is not JSON serializable (#24340) 2023-06-27 12:15:49 +01:00
initialize_model.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
minhash_deduplication.py Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
preprocessing.py Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
pretokenizing.py Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
validation_loss.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00