5 ms·
284 lines of C++ and how many trained weights? Touting the "low number of lines" on a neural network project seems kind of silly, since the logic is encoded in
by woah 4y ago
284 lines of C++ and how many trained weights?
Touting the "low number of lines" on a neural network project seems kind of silly, since the logic is encoded in the weights. Kind of like if I said "Doom in 5 lines of JS", but those 5 lines just downloaded and ran 130kb of WASM
- munk-a 4y agoIf you want to be really lean I wrote a program with identical performance as the linked one in a single line of shell code. ./tevr_asr_tool Lines of code began and persists as an absolutely awful way to measure anything.
- fxtentacle 4y agoI mentioned them to make it obvious that this is A LOT LESS code than Mozilla's DeepSpeech, which uses the same dependencies (plus some).
- fxtentacle 4y agoThe novelty here is the TEVR tokens, which is in the c++ beam search decoder. Also, https://news.ycombinator.com/item?id=32411566 https://news.ycombinator.com/item?id=32411566
- joe__f 4y agoJust delete all the whitespace and you'll have the whole program in one line of code
- fxtentacle 4y agoActually, I used "cloc" to calculate the number and I believe it'll split at semicolons to prevent this. But great hack anyway :)
- joe__f 4y agoHahaha ok you got me
- deleted 4y ago[deleted]