Git Product home page Git Product logo

bytesteady's Introduction

ServiceNow completed its acquisition of Element AI on January 8, 2021. All references to Element AI in the materials that are part of this project should refer to ServiceNow.

byteSteady

A fast classification and tagging tool using byte-level n-gram embeddings

Reference

Please read our [paper] for details on byteSteady.

@article{zhang2021bytesteady,
  title={byteSteady: Fast Classification Using Byte-Level n-Gram Embeddings},
  author={Zhang, Xiang and Drouin, Alexandre and Li, Raymond},
  journal={arXiv preprint arXiv:2106.13302},
  year={2021}
}

Dependencies

  1. GNU/Linux (byteswap.h from glibc used in CityHash)
  2. C++17 compiler (::std::variant, ::std::filesystem, etc)
  3. Thunder (tensor math)
  4. Google googletest (unit tests)
  5. Google gflags (command-line option parsing)
  6. Google glog (logging and error handling)

Compile

Make sure all the dependencies are installed, and then simply make.

There will be a few outputs:

  • bytesteady/bytesteady: the byteSteady executable
  • bytesteady/libbytesteady.so: the byteSteady dynamic library
  • bytesteady/*_test: unit tests of different modules for byteSteady

Command-line options

byteSteady is built with Google gflags to support command-line flag parsing. The definition of all available flags can be found in bytesteady/flags.cpp. You can also query these flags by

$ bytesteady/bytesteady -helpon bytesteady/flags

The -helpon is provided by Google gflags to show help for flags only defined in some source code file. For full help information, including flags from the other parts of the program (such as Google glog), simply use -help.

Gene classification dataset

The gene classification dataset used in the paper can be downloaded at https://zenodo.org/record/5181235#.YWc4bG3MJb8.

bytesteady's People

Contributors

aldro61 avatar danieltremblay avatar zhangxiangxiao 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.