transformers/tests/models/wav2vec2
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 Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
test_feature_extraction_wav2vec2.py Fix wav2vec2 is_batched check to include 2-D numpy arrays (#23223) 2023-05-22 12:57:45 -04:00
test_modeling_flax_wav2vec2.py Fix TypeError: Object of type int64 is not JSON serializable (#24340) 2023-06-27 12:15:49 +01:00
test_modeling_tf_wav2vec2.py Update tiny models for pipeline testing. (#24364) 2023-06-20 14:43:10 +02:00
test_modeling_wav2vec2.py Fix TypeError: Object of type int64 is not JSON serializable (#24340) 2023-06-27 12:15:49 +01:00
test_processor_wav2vec2.py [processor] Add 'model input names' property (#20117) 2022-11-10 19:29:20 +00:00
test_tokenization_wav2vec2.py [MMS] Scaling Speech Technology to 1,000+ Languages | Add attention adapter to Wav2Vec2 (#23813) 2023-06-02 10:30:24 +01:00