Code Monkey home page Code Monkey logo

Comments (5)

SergeiAlonichau avatar SergeiAlonichau commented on August 27, 2024 2

I have just checked in the xlnet model, which uses unigram lm segmentation based on sentence piece library. Our implementation already has a good parity and good performance but this is still work in progress. We plan to publish it by the end of April.

from blingfire.

SergeiAlonichau avatar SergeiAlonichau commented on August 27, 2024 2

It is done! We have published a new python package v 0.1.1 which has XLNET support in two ways:

  1. xlnet.bin has relevant NFKC normalization and segmentation
  2. xlnet_nonorm.bin does not have NFKC normalization (it assumes the text is already normalized) and only has segmentation

Both models have ~99.9% parity on input level comparing with the sentence piece library implementation, see corresponding readme.txt files in the BlingFire/ldbsrc/xlnet and BlingFire/ldbsrc/xlnet_nonorm directories.

from blingfire.

SergeiAlonichau avatar SergeiAlonichau commented on August 27, 2024

Please use this manual to create support for XLNet: https://github.com/Microsoft/BlingFire/wiki/How-to-add-a-new-BERT-tokenizer-model , I will be happy to help.

from blingfire.

LifeIsStrange avatar LifeIsStrange commented on August 27, 2024

@SergeiAlonichau
That would be an honor, but currently I have not enough knowledge in deep learning.
I plan to use tools like BlingFire after having studied NLP.
It would be better if someone more knowledgeable than me did this.

from blingfire.

ankane avatar ankane commented on August 27, 2024

Thanks @SergeiAlonichau! What do you think about tagging the latest release? This should make it easier to find/reference a specific release on GitHub.

from blingfire.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.