So I have multiple text files(around 40). and each file has around 2000 articles (average of 500 words each). And each document is a single line in the text file.
So because of the memory limitations I wanted to use dynamic loading of these text files for training. (Perhaps a iterator class?)
so how do I proceed?
So I have multiple text files(around 40). and each file has around 2000 articles (average of 500 words each). And each document is a single line in the text file.
So because of the memory limitations I wanted to use dynamic loading of these text files for training. (Perhaps a iterator class?)
so how do I proceed?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.