-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a default value for
write_frontend
to avoid errors with old con…
…figs. Also write/read LogitsOutputHead config files. PiperOrigin-RevId: 612630662
- Loading branch information
1 parent
f9a4eeb
commit 3746672
Showing
6 changed files
with
90 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"write_embeddings": true, | ||
"write_logits": false, | ||
"write_separated_audio": false, | ||
"write_raw_audio": false, | ||
"file_id_depth": 0, | ||
"model_key": "placeholder_model", | ||
"tensor_dtype": "float32", | ||
"model_config": { | ||
"sample_rate": 16000, | ||
"embedding_size": 128, | ||
"make_embeddings": true, | ||
"make_logits": false, | ||
"make_separated_audio": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"write_embeddings": true, | ||
"write_logits": false, | ||
"write_separated_audio": false, | ||
"write_raw_audio": false, | ||
"write_frontend": true, | ||
"file_id_depth": 0, | ||
"model_key": "placeholder_model", | ||
"tensor_dtype": "float32", | ||
"model_config": { | ||
"sample_rate": 16000, | ||
"embedding_size": 128, | ||
"make_embeddings": true, | ||
"make_logits": false, | ||
"make_separated_audio": false, | ||
"make_frontend": true | ||
} | ||
} |