transformers/templates
Bowen Bao a28325e25e
Replace python random with torch.rand to enable dynamo.export (#24434)
* Replace python random with torch.rand to enable dynamo.export

* revert changes to flax model code

* Remove unused random import

* Fix torch template

* Move torch.manual_seed(0) to right location
2023-06-23 08:17:21 -04:00
..
adding_a_missing_tokenization_test Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
adding_a_new_example_script transformers-cli login => huggingface-cli login (#18490) 2022-08-06 09:42:55 +02:00
adding_a_new_model Replace python random with torch.rand to enable dynamo.export (#24434) 2023-06-23 08:17:21 -04:00