Commit History
-
Optimize the preprocessing and generation (#11)
Verified signature- harmonize the language codes list with NLLB (d0a2f64cdae2fae119a127dba13609cb1d0b7542) - raise errors when the source or target language is not chosen (5c565ab3ea2711194390b6c1b06a499b7da4534e) - adjust the generation parameters to avoid repetitions (d0ffdbfb40076436f5f40e7deffb7440f5c35e07) - add punctuation normalization and load the tokenizer only once (2a62da0ac954875090a26ab5dacfef37e9000aec) - use sentence splitters from stopes (3740b63b75a6c13c1e25911113565bbb51a584a6) Co-authored-by: David Dale <cointegrated@users.noreply.huggingface.co>a50a704
-
add and cache examples (#10)
Verified signature- add and cache examples (ceb80b558f42abc6be7c752889a23e717fe54899)6634f63
-
Update app.py
Verified signature61e0458
-
add banner to demo (#9)
Verified signature- add banner to demo (e4025d4c2b2f3e4b5d2e04df11f6eb5465151b7a)e73c7fc -
add disclaimer text (#7)
Verified signature- add disclaimer text (10a52bdcf23d686deda94844aaa5046ccea61350)29ba4e2 -
fixes for nltk and transformers updates (#6)
Verified signature- fixes for nltk and transformers updates (d5f8a9a2c51772f299cc8c6fb8a90ca77732c184) - Update app.py (7798d43d37bfc02159a6ad1b6a805d8cd8c2aea9)aac03a6
-
Update app.py
Verified signature86d577a
-
Remove low quality languages from target languages (#5)
Verified signature- Remove low quality languages from target languages (49900d0cf969370e83745811c86ce1d8ed17b1db)74a629f
-
add meta copy changes (#2)
Verified signature- add meta copy changes (2d53f725a97ec7f32da12c7cf251065e2c340143)be7ccc0 -
Add copy suggestions (#1)
Verified signature- Add copy suggestions (d3ad9e63cf790aaa6d197a4d7c34e07b1126151a)a47c01b
-
Refactor translation function to support paragraph translation
e72a9c0
-
Add nltk dependency and update translate function to handle multiple sentences
5e1003d -
Refactor code to improve performance and readability
3f23d73 -
Update MODEL_NAME in app.py
6bcde50 -
use src lang
5cb6981 -
sliding window
71ae380 -
Add import for regular expressions
620b306 -
Refactored text chunk splitting logic in translate function
eeaa3ab
-
Update instructions in translation demo
0badc10 -
Add translation instructions to the demo
bd312ad -
Update app.py with demo application description
7dc20b3 -
Update MODEL_NAME and description in app.py
1473813 -
Fix newline formatting in translate function
126fd42 -
Refactor translation logic to handle long chunks
e906778 -
Refactor translate function to split input text into smaller chunks
15ccfd9 -
Create app.py
Verified signature38742d7