textgenrnn icon indicating copy to clipboard operation
textgenrnn copied to clipboard

How could I use a pre trained model

Open yoosif0 opened this issue 6 years ago • 8 comments

I have pretrained models from FastText and from Aravec which is another source. The file formats are different from "hdf5". For example there is "bin" and "vec". How could I use these pre trained models

yoosif0 avatar Jul 18 '18 03:07 yoosif0

Bumping this, developers should be active. I'm wanting to use a pre-trained model also.

halesyy avatar Aug 02 '18 08:08 halesyy

Doubling!

elmortem avatar Aug 12 '18 19:08 elmortem

@youssefsharief meanwhile can you share the pretrained model here for others to experiment on.

ishandutta2007 avatar Nov 23 '18 15:11 ishandutta2007

@ishandutta2007

Aravec: https://github.com/bakrianoo/aravec Go to N-Grams Models and Unigrams Models sections

For FastText, google FastText pre-trained model

yoosif0 avatar Nov 23 '18 16:11 yoosif0

But why are you asking that here, you should ask in those projects. Doesn't those projects have sample evaluate scripts ? If it doesn't you should ask their creators to add.

ishandutta2007 avatar Nov 23 '18 16:11 ishandutta2007

@ishandutta2007 What are sample evaluate scripts?

yoosif0 avatar Nov 23 '18 17:11 yoosif0

@youssefsharief Just like textgen.generate() of this repo, every model creator should know how to run/evaluate his models. @minimaxir has not created those models, how would he know how to run those, please ask creator of those models on those repos how to run/evaluate them, not here.

ishandutta2007 avatar Nov 23 '18 17:11 ishandutta2007

Bumping. I'd like to see gentextrnn be able to save hdf5 files so I can reuse them later.

YodasWs avatar May 30 '19 16:05 YodasWs