News for hackers. Stuff that matters.

dylanbfox

AssemblyAI (YC S17) Is Hiring Senior Research Engineers

We're AssemblyAI - and we're building APIs to transcribe and understand audio data at scale.* About us *- We just raised a $28M Series A from Accel, YC, Stripe's founders, Nat Friedman, and Daniel Gross. We grew revenue 4x in the past year, have hundreds of paying customers (startups and Fortune 500s), and thousands of developers using our APIs- We're processing millions of audio files every...

( Read More... | no comments | on HN )

AssemblyAI (YC S17) is hiring senior engineers to build ML systems at scale

Hey HN --We're AssemblyAI - and we're building APIs to transcribe and understand audio data. Some notes about us:- Just raised a $28M Series A from Accel, YC, Stripe founders, Nat Friedman, and Daniel Gross (raised $36M total to date) - Grew revenue 4x in the past year - Have hundreds of paying customers (startups and Fortune 500s), and thousands of developers using our APIsWe're processing...

( Read More... | no comments | on HN )
Looks interesting! Do you guys offer any sort of visibility tools/reports into customer usage of different endpoints, tracking of actual API requests (including payloads/etc) per request, etc? Is it possible to use you guys just for billing if we already have our own auth?
Re:Show HN: Top headlines of the world to start the day on Monday March 07, 2022 @11:46AM (#30590051)
Agree. The places I go on the web have become more and more centralized/limited. I think projects like this that help to surface and aggregate interesting content from the web (which is really what I come to HN to find) are great.
Nice work! The UI is really simple - and love not having to log in to use it. Have you thought about leveraging the ListenNotes API (https://www.listennotes.com/api/) to automatically pull in the podcast episodes via search vs having to upload them?
Re:Greening of the Earth Mitigates Surface Warming (2020) on Wednesday November 24, 2021 @09:22PM (#29337609)
I agree with all your points - but one thing I think about is: how do we fix what we have today? How do you fix the concrete jungles that most cities are today in the US. Or is it inevitable that more concrete will just be poured over time until some major natural disaster allows for a reset?
Re:How to train large deep learning models as a startup on Friday October 08, 2021 @07:52AM (#28798178)
Hi there - OP here - thanks for reading!

This blog is more of an intro to a few high level concepts (multi-GPU and multi-node training, fp32 vs fp16, buying hardware and dedicated machines vs AWS/GCP, etc) for startups that are early into their deep learning journey, and that might need a nudge in the right direction.

If you're looking for a deep dive into the best GPUs to buy (cost/perf, etc), the link in the below comment gives a pretty good overview.

PS - I can send you some benchmarks we did that show (at least for us) Horovod is ~10% faster than DDP for multi-node training FWIW. Email is in my profile!

Re:How to train large deep learning models as a startup on Thursday October 07, 2021 @05:37PM (#28792438)
Author here. Thanks for your comments!

In general - this is expensive stuff. Training big, accurate models just requires a lot of compute, and there is a "barrier to entry" wrt costs, even if you're able to get those costs down. I think it's similar to startups not really being able to get into the aerospace industry unless they raise lots of funding (ie, Boom Supersonic).

Practically speaking though, for startups without funding, or access to cloud credits, my advice would be to just train the best model you can, with the compute resources you have available. Try to close your first customer with an "MVP" model. Even if your model is not good enough for most customers - you can close one, get some incremental revenue, and keep iterating.

When we first started (2017), I trained models that were ~1/10 the size of our current models on a few K80s in AWS. These models were much worse compared to our models today, but they helped us make incremental progress to get to where we are now.

Re:How to train large deep learning models as a startup on Thursday October 07, 2021 @01:09PM (#28789238)
Dylan from Assembly here. If you want to send me one of your audio files (my email is in my profile) I'd be happy to send you back the diarized results from our API.

You can also signup for a free account and test from the dashboard without having to write any code if that's easier.

Other than lots of crosstalk in your group conversations - is there anything else challenging about your audio (eg, distance from microphones, background noise, etc?)

Re:How to train large deep learning models as a startup on Thursday October 07, 2021 @12:17PM (#28788363)
Great question. This is technically referred to as "Wake Word Detection". You run a really small model locally that is just processing 500ms (for example) of audio at a time through a light weight CNN or RNN. The idea here is that it's just binary classification (vs actual speech recognition).

There are some open source libraries that make this relatively easy:

- https://github.com/Kitt-AI/snowboy (looks to be shutdown now) - https://github.com/cmusphinx/pocketsphinx

This avoids having to stream audio 24x7 to a cloud model which would be super expensive. This being said, I'm pretty sure what the Alexa does, for example, is send any positive wake word to a cloud model (that is bigger and more accurate) to verify the prediction of the local wake word detection model AFAIK.

Once you are positive you have a positive wake word detected - that's when you start streaming to an accurate cloud based transcription model like Assembly to minimize costs!

Re:How to train large deep learning models as a startup on Thursday October 07, 2021 @11:27AM (#28787576)
Interesting. How do you guys manage spot interruptions when training on spot instances?
Re:How to train large deep learning models as a startup on Thursday October 07, 2021 @11:24AM (#28787531)
This is tricky. The de facto metric to evaluate an ASR model is Word Error Rate (WER). But results can vary widely depending on the pre-processing that's done (or not done) to transcription text before calculating a WER.

For example if you take the WER of "I live in New York" and "i live in new york" the WER would be 60% because you're comparing a capitalized version vs an uncapitalized version.

This is why public WER results vary so widely.

We publish our own WER results and normalize the human and automatic transcription text as much as possible to get as close to "true" numbers as possible. But in reality, we see a lot of people comparing ASR services simply by doing diffs of transcripts.

Re:How to train large deep learning models as a startup on Thursday October 07, 2021 @11:20AM (#28787478)
> Salary costs are probably even higher than compute costs.

Yes exactly. Managing that much compute requires many humans!

Re:How to train large deep learning models as a startup on Thursday October 07, 2021 @11:18AM (#28787444)
Dylan from Assembly here. Most of our customers have actually switched over to us from Google - this Launch HN from a YC startup that uses our API goes into a bit more detail if you're interested:

https://news.ycombinator.com/item?id=26251322

My email is in my profile if you want to reach out to chat more!

Interesting. It seems like in the "real world" WER is not really the metric that matters, it's more about "is this ASR system performing well to solve my use case" - which is better measured through task-specific metrics like the one you outlined your paper.
> since less common words tend to be more important for meaning.

Exactly. Errors with proper nouns are usually more problematic than errors with stop words, yet they're weighted equally in the WER calculation. Ie, deleting "Bob" and "but" both count as a deletion of the same degree according to WER, but we as humans know that deleting "Bob" is potentially a lot more problematic than deleting "but".

Yes! Perplexity is a great idea. Although you could technically have a low perplexity prediction that is not similar to the ground truth transcription.

CER is definitely more granular. There are papers that basically count Deletions, for example, as 0.5(D) when calculating WER - since they consider Deletions "less bad", but if these weights aren't standardized then WER scores will be super hard to compare.

Personally I think some metric including some type of perplexity is the way to go.

Older »