6 ms·
I can do it in 1 line of code if it includes downloading your github repo.
by OrangeMonkey 4y ago
I can do it in 1 line of code if it includes downloading your github repo.
- mrweasel 4y agoUsing operating system provided functionality, a GUI library or anything in libc, isn't something I'd hold against anyone when counting lines of code. Relying on an entire external project however, that's a bit misleading.
- hardware2win 4y agoWhere is the boundry then? You cannot "outsource" the "core"?
- dahfizz 4y agoYou can do whatever you want. Just don't brag about your line count if all your project does is import dependencies.
- fxtentacle 4y agoIt doesn't. It implements a new way of decoding the logits which improves performance by a relative 16% over the previously best German speech recognition, which was Facebook's wav2vec2. And the size is relevant to people in the industry because DeepSpeech uses 2000+ LOCs for implementing their decoding, so this works better and is 10x less code.
- agileAlligator 4y ago> It implements a new way of decoding the logits which improves performance by a relative 16% Then you should have mentioned that in the title rather than the LOCs
- mrweasel 4y agoI don't know. It's not that it isn't impressive and it is very illustrative of how much you can build, utilizing the tools that are available to all of us. It's just at what point are you writing code and when are you just initializing and configuring an existing tool. It's also how you present it. If you said: "Building a TensorFlow backed German speech recognition system in only a few hundred lines of code." Then I feel like you're being more honest.
- fxtentacle 4y agoI tried to include TensorFlow in the submission headline, but that would have been too long. "Show HN: State-of-the-Art German Speech Recognition in 284 lines of C++" uses up 72 of the 80 character limit. Originally I also wanted to mention that this is and offline, cloud-free, and privacy-respecting, but that, too, didn't fit.
- andsoitis 4y agoI can appreciate your dilemma, but I think the submission would have been better served if the title emphasizes the real win, which is improved accuracy over some alternatives (like you mention elsewhere in the comment thread), rather than lines of code (because that invites scrutiny on the wrong, non-salient dimension).
- Someone 4y ago> Using operating system provided functionality I’m inclined to accept that, too, but it is a moving goalpost and unfair when comparing between OSes and/or time periods. For example, consumer OSes have been shipping with speech recognition libraries for decades, and they’re getting better and better.
- deleted 4y ago[deleted]