Giter Site home page Giter Site logo

bpe-scala's Introduction

BPE on Scala

This repository provides an implementation of Byte-Pair Encoding on Scala.

Usage from sbt shell

run --help
run build -i data.ru -v data.vocab
run encode -i data.sample -v data.vocab -o data.out
run decode -i data.out -v data.vocab -o data.out2

bpe-scala's People

Contributors

aidarvaleev1998 avatar

Watchers

James Cloos avatar  avatar

bpe-scala's Issues

Delivery Feedback

  1. Where is README.md with project description and purpose?
  2. Rename the project in your build.sbt, aidarvaleev1998 is not an okay name for a project.
  3. Rename the package of the project.
  4. If your program is a console app, you shouldn't hardcode path to the input file.
  5. Разделяй загрузку конфигурации и остальную логику, не лоадь в мейне
  6. Файла нет + добавить аутпут в гитигнор наверно
  7. Зачем запускать стрим, а по его завершении материализовывать ещё один стрим
  8. Где тесты
  9. В tokenize вместо передачи строки с регуляркой нужно её сначала предкомпилить вне функции, чтобы она не компилилась на каждый вызов метода.
  10. Запуски актор-системы и стримов по хорошему должны быть отдельно от определения этих стримов
  11. Когда файл не обнаружился, прила почему-то не завершилась. Завершай актор-систему всегда, а не только при успехе

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.