Closed Chandu-4444 closed 2 years ago
Could you note in the source which parts were copied from textmodels?
Only src/Textual/models/customlayers.jl
has been copied from TextModels.jl. The training loop and all has to be modified to work with DataLoaders.jl, so I didn't copy that yet.
Can you base this on #245 with the new file structure?
Can you base this on #245 with the new file structure?
I didn't get that?
FastText
which is a new subpackage. This PR should also add files to FastText/src
instead of FastAI/src/Textual
so that it's easier to merge245 moves the text-related files to a folder
FastText
which is a new subpackage. This PR should also add files toFastText/src
instead ofFastAI/src/Textual
so that it's easier to merge
Sure! I'll pull the code and will do that after #245 has been merged.
I've copied the customlayers.jl from TextModels.jl package. I can say that these were working fine except the
reset!
function (that's the reason I've commented it out). Even though it is working fine, the pretrained were terrible and weren't different from random ones.