Giter Club home page Giter Club logo

gotokenizers's Introduction

GoTokenizers

Go Report Card Maintainability BCH compliance codecov

GoTokenizers is a Go module implementing some of the most used state-of-the-art natural language tokenizers.

This is a work-in-progress port from the original Hugging Face's tokenizers, written in Rust.

The project's goal is the creation of a similar tokenization library entirely written in Go - that is, without requiring foreign language integrations. Without having any competitive performance ambition, we simply aim to provide a good alternative for the Go community.

Warning: the development is currently in its very early stage. We are progressively porting to Go the original Rust code, which in turn is under active development. We want to quickly reach a stable complete port of the library, so we are adopting a mostly quantitative approach. That means that we are consciously sacrificing code elegance and performance, keeping instead a stricter parallelism between the original Rust code and the newly written Go code.

Only on a second phase, once we have a first complete library port, we expect to focus on cleaning, refactoring, testing, and maybe even re-engineering some components. Eventually, we will evaluate further expansions, and a possible integration or combination with the spago library. However, as you can guess, it's too soon to tell!

License

GoTokenizers is licensed under the BSD 2-Clause "Simplified" License.

This project is strongly based on Hugging Face Tokenizers, which is licensed under the Apache License 2.0.

gotokenizers's People

Contributors

marco-nicola avatar matteo-grella avatar

Watchers

 avatar

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.