language
language copied to clipboard
convert text to Tensorflow records
Is there any code available to convert text to Tensorflow records in a format that the REALM code understands ?
https://github.com/google-research/language/blob/master/language/realm/generate_retrieval_corpus.py