transformers/examples/research_projects/fsner/src/fsner
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
..
__init__.py Add FSNER example in research_projects (#13712) 2021-09-23 17:04:15 -04:00
model.py Update FSNER code in examples->research_projects->fsner (#13864) 2021-10-05 22:47:11 -04:00
tokenizer_utils.py Fix TypeError: Object of type int64 is not JSON serializable (#24340) 2023-06-27 12:15:49 +01:00