k2 VS gtn

Compare k2 vs gtn and see what are their differences.

k2

FSA/FST algorithms, differentiable, with PyTorch compatibility. (by k2-fsa)

gtn

Automatic differentiation with weighted finite-state transducers. (by gtn-org)
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
k2 gtn
2 2
1,046 112
1.5% 0.0%
7.1 1.8
3 days ago about 2 years ago
Cuda C++
Apache License 2.0 MIT License
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.

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

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.

What are some alternatives?

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

espnet - End-to-End Speech Processing Toolkit

TerpreT

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"