Skip to content

Commit

Permalink
🧪 Limit max input lengths to prevent crash in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
arxyzan committed Feb 5, 2024
1 parent 3eb23d5 commit fae959d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"path": "hezarai/xlsum-fa",
"config": {
"tokenizer_path": "hezarai/t5-base-fa",
"max_length": 32
}
},
"model": {
Expand Down Expand Up @@ -98,7 +99,7 @@
"dataset": {
"path": "hezarai/common-voice-13-fa",
"config": {
"labels_max_length": 64,
"labels_max_length": 32,
"tokenizer_path": "hezarai/whisper-small",
"feature_extractor_path": "hezarai/whisper-small"
}
Expand Down

0 comments on commit fae959d

Please sign in to comment.