Skip to content

Commit

Permalink
make typo module accept whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
omukazu committed Apr 13, 2024
1 parent 19da2f5 commit a104b51
Show file tree
Hide file tree
Showing 5 changed files with 202 additions and 223 deletions.
2 changes: 1 addition & 1 deletion configs/typo_module.debug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ compile: ${oc.env:COMPILE,false}
ignore_hparams_on_save: false

# constants
special_tokens: ["<k>", "<d>", "<_>", "<dummy>"]
special_tokens: ["<k>", "<d>", "<_>", "<dummy>", " "]
hparams_to_ignore_on_save:
- project
- work_dir
Expand Down
2 changes: 1 addition & 1 deletion configs/typo_module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ compile: ${oc.env:COMPILE,false}
ignore_hparams_on_save: false

# constants
special_tokens: ["<k>", "<d>", "<_>", "<dummy>"]
special_tokens: ["<k>", "<d>", "<_>", "<dummy>", " "]
hparams_to_ignore_on_save:
- project
- work_dir
Expand Down
Loading

0 comments on commit a104b51

Please sign in to comment.