[seq2seq] make it easier to run the scripts (#7274)
This commit is contained in:
2
examples/seq2seq/pack_dataset.py
Normal file → Executable file
2
examples/seq2seq/pack_dataset.py
Normal file → Executable file
@@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
"""Fill examples with bitext up to max_tokens without breaking up examples.
|
||||
[['I went', 'yo fui'],
|
||||
['to the store', 'a la tienda']
|
||||
|
||||
Reference in New Issue
Block a user