gtn VS k2

Compare gtn vs k2 and see what are their differences.

gtn

Automatic differentiation with weighted finite-state transducers. (by gtn-org)

k2

FSA/FST algorithms, differentiable, with PyTorch compatibility. (by k2-fsa)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
gtn k2
2 2
112 1,047
0.0% 2.1%
1.8 7.1
about 2 years ago 23 days ago
C++ Cuda
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

gtn

Posts with mentions or reviews of gtn. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-08.

k2

Posts with mentions or reviews of k2. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-08.
  • Differentiable Finite State Machines
    4 projects | news.ycombinator.com | 8 Jun 2022
    This uses dense (soft/weighted) transitions from any state to any state, and then some regularization to guide it to more sparse solutions.

    In practice, the number of states can be huge (thousands, maybe millions), so representing this as a dense matrix (a 1Mx1M matrix is way too big) is not going to work. It must be sparse, and in practice (all FST you usually deal with) it is. So it's very much a waste to represent it as a dense matrix.

    That's why there are many specialized libraries to deal with FSTs. Also in combination with deep learning tools. See e.g. K2 (https://github.com/k2-fsa/k2).

  • What are some good speech recognition papers I can implement?
    3 projects | /r/MLQuestions | 1 Feb 2021
    k2

What are some alternatives?

When comparing gtn and k2 you can also consider the following projects:

TerpreT

espnet - End-to-End Speech Processing Toolkit

fairseq - Facebook AI Research Sequence-to-Sequence Toolkit written in Python.

gtn_applications - Applications using the GTN library and code to reproduce experiments in "Differentiable Weighted Finite-State Transducers"