Skip to content

Commit

Permalink
Merge pull request openai#7 from SingularityXStudios/fix-lafand-mt-ex…
Browse files Browse the repository at this point in the history
…emple

Fix lafand mt exemple
  • Loading branch information
andrew-openai committed Mar 14, 2023
2 parents b32520d + 4dc7773 commit 19bfdba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/lafand-mt.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
" os.makedirs(os.path.join(data_path, pair), exist_ok=True)\n",
" for dev_test in ['dev', 'test']:\n",
" raw_tsv_file = f'https://raw.githubusercontent.com/masakhane-io/lafand-mt/main/data/tsv_files/{pair}/{dev_test}.tsv'\n",
" with open(os.path.join(data_path, pair, f\"{dev_test}.tsv\"), \"w\") as f:\n",
" with open(os.path.join(data_path, pair, f\"{dev_test}.tsv\"), \"w\", encoding=\"utf-8\") as f:\n",
" f.write(requests.get(raw_tsv_file).text)"
]
},
Expand Down

0 comments on commit 19bfdba

Please sign in to comment.