Skip to content

upgrading fastText version #18

Description

@dcsan

it seems that node-fasttext cannot use the models file that we generate from fastText binary itself.

I think there was a big change in the model format a few months ago, but it seems you are using a recent version of FT, but I'm not quite sure how to check the version.

technically they have only had one release
https://github.com/facebookresearch/fastText/releases

not sure where this is defined:

FASTTEXT_VERSION = 12;

so I guess I have to check commit hashes against your version of the submodule?
https://github.com/facebookresearch/fastText/commits/master

I see the same commit that you're using from back in dec 2017?

your repo
image

ft repo
image

so to update... I'm not 100% clear what to do 🙀

  • fork your repo
  • somehow update the sub-repo to change which version of FT pointing to
  • send you a PR
  • maybe publish a separate NPM module in case you don't have time to

do you see any problems with this or other steps I need to do?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions