The GoogleNews word vector file format does not include frequency information. But, it seems, it is sorted approximately in more frequent and less frequent orders.
And, it load_word2vec_format()offers an optional parameter limitthat only reads many vectors from a given file.
So, the following should do something you requested:
goognews_wordecs = KeyedVectors.load_word2vec_format(`GoogleNews-vectors-negative300.bin.gz`, binary=True, limit=200000)
source
share