Skip to content

Commit

Permalink
😝 Add test config save_pretrained.
Browse files Browse the repository at this point in the history
  • Loading branch information
dathudeptrai committed May 15, 2021
1 parent 82acd37 commit 77f6ac5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 55 deletions.
54 changes: 0 additions & 54 deletions tacotron2/config.yml

This file was deleted.

1 change: 0 additions & 1 deletion tacotron2/processor.json

This file was deleted.

3 changes: 3 additions & 0 deletions test/test_auto.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,6 @@ def test_auto_processor(mapper_path):
def test_auto_model(config_path):
config = AutoConfig.from_pretrained(pretrained_path=config_path)
model = TFAutoModel.from_pretrained(config=config, pretrained_path=None)

# test save_pretrained
config.save_pretrained("./")

0 comments on commit 77f6ac5

Please sign in to comment.