Better HN
topnewbestaskshowjobs
Log inSign up

snakers41

57 karma · joined Oct 4, 2018 (8y ago) · 59 submissions

Submissions

comment 3y ago · link · parent

One of Silero-VAD developers here. Check out our VAD here - https://github.com/snakers4/silero-vad

comment 4y ago · link · parent

Neither of these

comment 4y ago · link · parent

> Where the GPL was vague and exploited, the AGPL clarifies and closes the loophole

It can be easily surpassed. Just create a simple wrapper and publish it. And voila, you are can use everything for free again)

All of these FOSS licenses are just beautiful constructs, not related to how the world really works.

A simple question. How do people, building true FOSS libraries, make their ends meet, if everything is 100% free?

> ethics or enforcement are a distant concern.

The main thing that you are missing is that ethics and capitalism are very distant concerns.

> they make sure that nobody can use it except corporations without morals? What the fuck?

We live in different worlds, man.

The summary of your complaints is that you want to use NC software or artefacts for profit (basically to resell it in some form or another) … and you cannot because you are so moral.

But … just use it not for profit, or pay the authors, if you use it for profit. Simple, right?

> even more so than proprietary software

As an experiment, try stopping to use any non 100% FOSS software (or any software you did not pay for) for a day and report the results.

comment 4y ago · link · parent

It is PyTorch

comment 4y ago · link · parent

Yeah, and instead of contacting the authors directly, you are making a public case about how unfair the NC license is.

comment 4y ago · link · parent

> then is the intent of this project to only service corporations?

One of the intents is NOT to service corporations for free or promote such services.

comment 4y ago · link · parent

Oh, the same rhetoric used in depth about GNU AGPL licenses as well. And so nice to read the opinions of people explaining why a corporation X is not breaking your AGPL license and can use everything for free)

The reality is much simpler - in real world anyone hardly cares about licenses, companies and corporations steal all the time, it is only the matter of the amount of money you want to invest in litigation.

The only real silver lining is that all popular software licenses basically prohibit authors from defending their rights ... most prominent FOSS things are financed by corporations as a means of competition ... an or course you (i.e. me) should use a license that deprives me of any possible rights.

comment 4y ago · link · parent

It is possible, albeit with a significant simplification of the capabilities of the models (i.e. all of the SSML stuff will be left out).

Also ONNX boasts native quantization that just works.

But we are not currently actively working on this. Most likely ONNX will only be available only for commercial customers for special buds, but we are not decided on this yet.

comment 4y ago · link · parent

You can generate any sentence you want with provided colab examples.

comment 4y ago · link · parent

See the links here

https://www.reddit.com/r/MachineLearning/comments/v9rigf/p_s...

comment 4y ago · link · parent

For STT models - yes. For TTS models - not yet.

comment 4y ago · link · parent

What I hear is that the affluent "customer" does not respect licenses and you have no resources to enforce your license.

Well ... maybe there is a correlation?

comment 4y ago · link · parent

Many thanks for a detailed and thoughtful comment.

> it is very fast and scales quite nicely on CPU with 4 threads (~ twice the speed), but not further (I tried it on a 64 cores box).

Well, practically it does NOT scale even past 6 threads. 64 cores are just overkill, and most likely it will only hurt performance.

> Not sure why since they seem to be using torch's native threading support. > surprisingly, it is not that much faster when run on a GPU

Probably for the same reason, you can speed up the NN only so much. Realistically it can be made 2-3x faster still. Also currently we abandoned batching, so GPUs are not really required at all.

> the quality (as in: what I'm hearing, not a formally measured metric) is good but (YMMV) not as good as turtle.

I believe the compute required during training and inference … may differ by 3 or 4 orders of magnitude (!).

Also note, that some speakers and languages just sound better due to high quality of source material and the amount of work invested and polish.

> it breaks with strange error messages if the text you feed it is too long

Well, there should be a warning somewhere, but it works with text no longer than 512-1024 symbols.

> there is mention of "a model for text repunctuation and recapitalization", which I wonder if it could be used to break a very long text (eg a book) into pieces that can be digested by the tts engine

This model only restores some punctuation marks and capital letters.

There are libraries like razdel for this - https://github.com/natasha/razdel

comment 4y ago · link · parent

HN removes the HTML anchors. The link (which I also copied below in the comments, b/c it was noticed after publishing) should be:

- https://github.com/snakers4/silero-models#text-to-speech

This link leads to the TTS section, whish contains the full list of all of the speakers and languages.

comment 4y ago · link · parent

> Companies do steal software.

They do not. The do not care about them as well.

> Harvard Medical School is pirating software I wrote. > It's not worth a law suit against a $40B entity. > It doesn't matter what license I used. They stole it. > You can enforce SA, and get changes back. It's designed for exactly this purpose.

It can be enforced, yet you cannot enforce it. By your own logic, in real life licenses hardly matter at all.

comment 4y ago · link · parent

Our model can be simplified to remove all of the Python bits, and made to work with plain PyTorch jit-models or ONNX models (which both have a JAVA API), but we did not invest time in this yet.

Typically, JAVA ~ commercial usage, and they are typically able pay for a license and / or they can use a model behind an API.

comment 4y ago · link · parent

We used to have AGPLv3 or similar, but we decided to abandon it for the reasons I explained in this (or above) thread.

comment 4y ago · link · parent

> Do you mean you run your software on computers that can't run bash?

It is explicitly stated, that PyTorch is the only real requirement. Bash is not required, i.e. models can be run on Windows or ARM with PyTorch.

> Also, I'm not entirely sure what "out of scope" mean?

There was no tangible benefit in making a bash CLI for us.

comment 4y ago · link · parent

These TTS models are not related to Kaldi, they are based off PyTorch and TorchScript.

There can be made a simplified version, with ONNX models (or plain Torch jit) maybe and some outer logic, but we did not do it yet for lack of incentive.

comment 4y ago · link · parent

This not only does not require a GPU, but also works on 1-4 CPU threads (!):

- 8 kHz, 1 thread 15-25, 4 threads 30 - 60 - 24 kHz, 1 thread 10, 4 threads 15 - 20 - 48 kHz, 1 thread 5, 4 threads 10

the numbers are seconds of audio generated per second

comment 4y ago · link · parent

We already had our issues with local corporations neglecting the license (and being in general disrespectful towards the community), so we had to change it to CC BY-NC-SA to avoid this in future.

comment 4y ago · link · parent

I am not sure, what can be more simple than 1 LOC invocation + minimal imports.

It is true that the model is based on PyTorch + python, but the majority of complexity (like SSML parsing) is tucked inside of the model.

Theoretically one can make a simplified model without any of those features in plain PyTorch or ONNX, but so far we did not have proper motivation to do.

As for CLI, this also seems simple enough, but out of scope for us.

comment 4y ago · link · parent

Silero TTS works fast even on one CPU thread, this is the point

comment 4y ago · link · parent

Also also, HN cuts the anchors in ULRs, so here is the full URL

- https://github.com/snakers4/silero-models#text-to-speech

comment 4y ago · link · parent

Also, a bit more detailed info here with voice samples:

- https://www.reddit.com/r/MachineLearning/comments/v9rigf/p_s...

comment 4y ago · link · parent

https://user-images.githubusercontent.com/36505480/145563071...

comment 4y ago · link · parent

Stellar quality. Highly portable. No strings attached. Supports 8 kHz and 16 kHz. Models < one megabyte in size. Supports 30, 60 and 100 ms chunks. Trained on 100+ languages, generalizes well. One chunk ~ 1ms on a single thread. ONNX up to 2-3x faster.

comment 4y ago · link · parent

Stellar quality. Highly portable. No strings attached. Supports 8 kHz and 16 kHz. Models < one megabyte in size. Supports 30, 60 and 100 ms chunks. Trained on 100+ languages, generalizes well. One chunk ~ 1ms on a single thread. ONNX up to 2-3x faster. https://github.com/snakers4/silero-vad
12