BacktranslationDataset doesn't work with multiple workers
See original GitHub issueif num_workers > 0, there will be an error:
AttributeError: Can't pickle local object 'SemisupervisedTranslationTask.build_model.<locals>.backtranslate_fn'
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Data Augmentation in NLP Using Back Translation With ...
Temporary translation: translate each of the original training labeled data into a different language. In our case, it will be from English to...
Read more >Back-Translation for Cross-Cultural Research - SAGE Journals
Abstract. Two aspects of translation were investigated: (1) factors that affect translation quality, and (2) how equivalence between source and target versions ...
Read more >dataset - Python Google Translate API error - Stack Overflow
My problem might come from the fact that I am using multi-threading : 100 workers for translating the whole dataset. If they work...
Read more >Increasing Lilt's Machine Translation Throughput - Lilt Labs
- Split large documents into chunks and process the chunks in parallel using multiple workers. - Return partial results during processing, so ...
Read more >Machine Translation: Data Cleaning | Defined.ai Blog
Learn how to clean data for machine translation from Defined.ai. In this definitive guide, you will learn about dirty data and data-cleaning ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for reporting! I will need to find some workaround of it. For now we can only use one worker if we want to use
BacktranslationDataset
This is still an issue