8 ms·
Show HN: I trained a 9M speech model to fix my Mandarin tones
Built this because tones are killing my spoken Mandarin and I can't reliably hear my own mistakes.
It's a 9M Conformer-CTC model trained on ~300h (AISHELL + Primewords), quantized to INT8 (11 MB), runs 100% in-browser via ONNX Runtime Web.
Grades per-syllable pronunciation + tones with Viterbi forced alignment.
Try it here: https://simedw.com/projects/ear/ https://simedw.com/projects/ear/
- jellojello 8mo agoThis is amazing, if you feel like opening an entire language to being learned more easily.. Farsi is a VERY overlooked language, my wife/her family speak it but it's so difficult finding great language lessons (it's also called Persian/Dari)
- simedw 8mo agoThank you. I had a quick look at Farsi datasets, and there seem to be a few options. That said, written Farsi doesn’t include short vowels… so can you derive pronunciation from the text using rules?
- kranner 8mo ago> written Farsi doesn’t include short vowels… so can you derive pronunciation from the text using rules? You can't, but Farsi dictionaries list the missing short vowels/diacritics/"eraab" for every word. For instance, see this entry: https://vajehyab.com/dehkhoda/%D8%AD%D8%B3%D8%A7%D8%A8?q=%D8%AD%D8%B3%D8%A7%D8%A8 https://vajehyab.com/dehkhoda/%D8%AD%D8%B3%D8%A7%D8%A8?q=%D8... With the short vowel on the first letter it would be written حِساب (normally written as just حساب) The dictionary entry linked shows that there is a ِ on the first letter ح But you would have to disambiguate between homographs that differ only in the eraab.
- peterburkimsher 8mo agoI made a parallel literal translator for Farsi: https://pingtype.github.io/farsi.html https://pingtype.github.io/farsi.html Paste in some parallel text (e.g. Bible verses, movie subtitles, song lyrics) and read what Farsi you can on the first line, looking to the lower lines for clues if you get stuck. The core version of Pingtype is for traditional Chinese, but it supports a few other languages too.
- vunderba 8mo agoWhen I was living in Taiwan, one of the ways I forced myself to remember to pronounce the tones distinctly was by waving my hand in front of me, tracing the arc of each character’s tone. It helped a lot even if I did look like an insane expat conducting an invisible orchestra. One more thing: there's quite a bit of variation in how regional accents in the mainland can affect tonal pronunciation. It might be worth reaching to some native speakers to give you some baseline figures.
- simedw 8mo agoFor accents, I’ve mostly tested with a few friends so far. I’m wondering whether region should be a parameter, because training on all dialects might make the system too lax.
- vunderba 8mo agoProbably be a lot of work but it would be really interesting if you had sufficient data sets to train across accents. Highly recommend taking a look at Phonemica for this: https://phonemica.net/ https://phonemica.net/
- zdragnar 8mo agoIn a university Mandarin class, one of the adult students (i.e. probably 40 or so) WAY over exaggerated his tones, to the point that the little old lady teaching us laughed out loud after one of his answers. A few years later, he had the most clean and consistent pronunciation out of anyone I'd been in a class with, and easily switched between the Beijing and other accents depending on which teacher we had on any given day. I rather regret not emulating him, even though I haven't really used it for nearly 20 years and have forgotten most of it.
- ecshafer 8mo agoFrom a language learning standpoint that does make sense. Over-exageration while you are learning to help cement the idea, and then when you are speaking more naturally you will fall back into a regular kind of tone.
- rahimnathwani 8mo agoThis is incredible. When I was first learning Chinese (casually, ~20 years ago), my teacher used some Windows software that drew a diagram of the shape of my pronunciation, so she could illustrate what I was getting wrong in some objective way. The thing you've built is so good, and I would have loved to have it when I was learning Mandarin. I tried it with a couple of sentences and it did a good job of identifying which tones were off.
- yunusabd 8mo agoYou're probably thinking of Praat, which is still around. Even has the same UI as 20 years ago.
- drekipus 8mo agoinstantly awesome. I suck at chinese but I want to get better and I'm too embarassed to try and talk with real people and practise. This is a great compromise. even just practising for a few minutes I already feel way more confident based on its feedback, and I feel like I know more about the details of pronunciation. I'm worried this might get too big and start sucking like everything else.
- funkyfiddler369 8mo ago[flagged]
- btrlsnqtn 8mo agoThe article mentions the bitter lesson. I'm confused about the status of Sutton's opinion of the bitter lesson. On the one hand, he invented the concept. On the other hand, he appears to be saying that LLMs are not the correct approach to artificial intelligence, which to a naive outsider looks like a contradiction. What gives?
- allan_s 8mo agoMaybe he means that LLM will hit a ceiling glass or that the "right" approach will give equivalent with less training/less intensive compute requirements ?
- affogarty 8mo agoThis is extremely cool, although I asked my wife (who is Chinese) to try it out and it said she made some mistakes.
- hawflakes 8mo agoI tried it out and it has some issues with my native speech. I grew up with more Taiwan mandarin but I know the Beijing standard and the recognizer was flagging some of my utterances incorrectly.
- dapangzi 8mo agoLongtime lurker, made an account specifically to give feedback here as an intermediate speaker. :) This is a great initiative and I hope to see more come out of this; I am not criticizing, but just want to provide my user experience here so you have data points. In short, my experience lines up with your native speakers. I found that it loses track of the phonemes when speaking quickly, and tones don't seem to line up when speaking at normal conversational speed. For example, if I say 他是我的朋友 at normal conversational speed, it will assign `de` to 我, sometimes it interprets that I didn't have the retroflexive in `shi` and renders it `si`. Listened back to make sure I said everything, the phonemes are there in the recording, but the UI displays the wrong phonemes and tones. By contrast, if I speak slowly and really push each tone, the phonemes and tones all register correctly. Also, is this taking into account tone transformation? Example, third tones (bottom out tone) tend to smoosh into a second tone (rising) when multiple third tones are spoken in a row. Sometimes the first tone influences the next tone slightly, etc. Again, great initiative, but I think it needs a way to deal with speech that is conversationally spoken and maybe even slurred a bit due to the nature of conversational level speech.
- tifan 8mo agoI had the same issue! Perhaps being another dapangzi is the problem here lol
- et-al 8mo agoI'm not familiar with this slang: what's a big plate?
- dirteater_ 8mo agothe commenter's username (i'm guessing they mean 大胖子, feel free to google translate)
- dapangzi 8mo agoThis is the correct. I was first called this by a Chinese classmate from Beijing with a biting sense of humor, when I was at university in Tokyo. We got on really well, to be clear. :) Hanging out with him was actually how I got started with Mandarin, probably why I chose this username.
- ecshafer 8mo agoAnyone that is a native European language speaker that hasn't tried to learn Chinese or some other tonal language, its really hard to understand how hard it is. The tones can really be very subtle, and your ear is not fine tuned to them. So you think you are saying it right, but native speakers have no idea what you are saying.
- cyberax 8mo agoI'm a native Russian speaker, and I decided to learn Mandarin, because it's linguistically almost the opposite of Russian. I had no problems with tone pronunciation, but tone recognition was indeed much trickier. I still often get lost when listening to fast speech although I can follow formal speech (news) usually without problems.
- deleted 8mo ago[deleted]
- barrell 8mo agoI recently started learning a tonal language, and so far have not struggled too much wrt tones when everything is slow. There was an original strangeness and refusal for my vocal cords to want to work that way, but probably only for the first month or so. At least, this is the case for slow text. Once the text is sped up it’s amazing how my brain just stops processing that information. Both listening and speaking. I’m sure this will come with practice and time but for now I find it fascinating
- thenthenthen 8mo agoEuro speaker here, no problem with recognising tones but speaking them…:/
- cyberax 8mo agoAre you studying a language with contour tones or with high/mid tone distinction? I tried to study a bit of Thai, and the high/mid tone distinction was a complete show-stopper for me.
- bytesandbits 8mo agogreat work! I am going to try it out. Currently about to learn some Mandarin to be able to talk with hawker stand owners for a trip I am doing soon. I am trilingual and can speak a few languages on top of that, but none of them tonal. I am new to tonal languages and I find myself struggling with this... a lot!
- anonzzzies 8mo agogoof luck! I speak 6 languages fluent but none of them tonal and I find mandarin very challenging; it does not help that people in places where you might need it are not very forgiving; asking for green fork in a tea shop has people very bewildered.
- cmuguythrow 8mo agoAwesome idea!
- nirvanatikku 8mo agotalk about 30 seconds to wow. great app, UX and demo. would love to use this. kudos.
- jrockway 8mo agoInteresting application! A friend of mine built a model like this to help her make her voice more feminine, and it is neat to see a similar use case here.
- dionian 8mo agoit heard wu2 but i heard wo2 from you fine. and it should sound like wo2 not wo3 if spoken quickly. not a native speaker though so i could be wrong
- byb 8mo agoNeat. A personal tone trainer. Seriously, shut up and take my money now. Of course, it needs a vocabulary trainer, and zhuyin/traditional character support.
- SequoiaHope 8mo agoAmazingly I just did the same thing! Only with AISHELL. It needs work. I used the encoder from the Meta MMS model. https://github.com/sequoia-hope/mandarin-practice https://github.com/sequoia-hope/mandarin-practice
- ChadNauseam 8mo agoThis is amazing. I'm also working on free language learning tech. (I have some SOTA NLP models on huggingface and a free app.) I have some SOTA NLP models on huggingface and a free app. My most recent research is a list of every phrase [0]. Pronunciation correction is an insanely underdeveloped field. Hit me up via email/twitter/discord (my bio) if you're interested in collabing. [0]: https://gist.github.com/anchpop/acbfb6599ce8c273cc89c7d1bb363e93 https://gist.github.com/anchpop/acbfb6599ce8c273cc89c7d1bb36...
- stuxnet79 8mo agoHow difficult would it be to adapt this to Cantonese? It is a surprisingly difficult language to learn. It has more tones than Mandarin plus comparatively less access to learning resources (in my experience)
- inkyoto 8mo agoUnlike Mandarin and other Chinese languages, Cantonese does not have tone sandhi and has changed tones instead. Cantonese tones are also different from those of Mandarin, so no, it can't be adopted for Cantonese and it would require a complete rework. > It is a surprisingly difficult language to learn. I keep hearing this quite a bit, but I do not find Cantonese to be any more difficult than most languages[0]. Or at least we would need to define a metric based on which we could assess the difficulty. If it is the number of tones, their number (six – no, not nine) may look formidable at first, but they are, in fact, rather simple tones and broadly fall into three categories: flat, rising, and falling. As a random example, Cantonese does not even have a dipping tone. In comparison, «fancy» tones of Vietnamese are significantly more challenging or even difficult – they can curl and unfurl (so to speak). [0] That crown appears to belong to Archi, with honourable mentions going out to Inuit, Basque, Georgian, Navajo, Yimas and several other polysynthetic languages.
- hnfong 8mo agoCantonese is "hard" mainly for two reasons- 1. tones, and generally the gatekeeping of some Cantonese communities towards people who haven't gotten the tones completely right 2. the lack of learning materials relative to the number of speakers, the confusion between written Chinese and written Cantonese (and also the general lack of the latter) As they say, "a language is a dialect with an army and navy"... I'll leave it at that.
- calf 8mo agoYou seem to be confusing/overgeneralizing the understandable resentment of "some Cantonese" who likely had bad experiences of postcolonialism and/or authoritarian-revanchist state policies. If Hong Kong diaspora has a poor reception towards newcomers to their local microculture, maybe it's because the people attempting to engage are not treading lightly with those actual historical legacies in mind.
- baby 8mo agoFor people trying to say the "j" sound correctly, as in "jiu" (old), just say "dz", so in that example "dziu"
- iamanllm 8mo agoholy crap, I was literally imaging how I wanted something exactly like this yesterday! you are a hero!
- deleted 8mo ago[deleted]
- tifan 8mo agoWell, it would work only when I speak word by word, not as a sentence or in a normal speed for daily conversations. The model thinks I was making mistakes when I speak casually (as a native Chinese speaker, I had Mandarin 2A certification, which is required for teachers or other occupations that requires a very high degree of Mandarin accuracy). You wouldn’t really notice it but language pronunciations is very different between causal and formal speech…
- rablackburn 8mo ago> And if there’s one thing we’ve learned over the last decade, it’s the bitter lesson: when you have enough data and compute, learned representations usually beat carefully hand-tuned systems. There are still holdouts! Come back to me in a couple of decades when the trove of humanity's data has been pored over and drifted further out of sync with (verifiable) reality. Hand-tuning is the only way to make progress when you've hit a domain's limits. Go deep and have fun.
- memalign 8mo agoI wish this had a pinyin mode…! I am learning to speak Mandarin but I am not learning to read/write. ( I’m learning using a flashcards web app I made and continue to update with vocab I encounter or need: https://memalign.github.io/m/mandarin/cards/index.html https://memalign.github.io/m/mandarin/cards/index.html )
- data_ders 8mo agosame! but if you get it inevitably wrong the first time it gives you the pinyin. but i struggled to get it to transcribe the consonants I was making let alone the tones. i'm pretty sure i'm not as bad as that!
- siwatanejo 8mo ago+1 for pinyin
- knocte 8mo ago+1
- simedw 8mo agoGreat suggestin, added a toggle to see pinyin.
- bunderbunder 8mo agoThis is very cool, but from one Mandarin learner to another I’d caution against relying too heavily on any external feedback mechanism for improving your pronunciation. If you can’t easily hear your pronunciation mistakes so clearly it hurts, consider putting more energy into training your ear. Adult language learners usually have brains that have become resistant to, but not incapable of, changing the parts of the brain responsible for phoneme recognition. The neuroplasticity is still there but it needs some nudging with focused exercises that make it clear to your brain exactly what the problem is. Minimal pair recognition drills, for example, are a great place to start. It’s not the most fun task, but it’s worth it. You will tighten the pronunciation practice feedback loop much more than is possible with external feedback, so a better accent is the most obvious benefit. But beyond that, it will make a night and day difference for your listening comprehension. And that will get you access to more interesting learning materials sooner. Which hopefully increases your enjoyment and hence your time on task. Plus, more accurate and automatic phoneme recognition leaves more neurological resources free for processing other aspects of your input materials. So it may even help speed things like vocabulary and grammar acquisition.
- zdc1 8mo agoI completely agree with this. There's a certain confidence you get when you can hear a word you don't know, but can still comprehend it well enough to know what pinyin to type into your dictionary app. Mandarin Blueprint has a nice pinyin pronunciation video on YouTube that I worked through a while ago, and then followed with a few weeks of immersion in Taiwan, I was able to really pick out what people were saying. I feel like listening is the key to speaking. You don't necessarily need to rote learn the tones for each word. You just need say words as you hear them spoken by others.
- barrell 8mo agoI’m building a language learning app [https://phrasing.app https://phrasing.app] and this is really good advice. I’ve not had any interest in SST for the application, and have no plans to integrate it. In my experience, I’ve never seen them be truly beneficial in the language learning process. What has been extremely beneficial has been having the text and audio forced aligned and highlighted, kareoke-style, every time I hear the audio. It has improved my phoneme recognition remarkably well with remarkably little content. Several users also report the same thing - that even native speech feels a lot more like separate words than just a slew of sounds. I attribute this in large part just due to this kareoke style audio. It works better for phonetic scripts, so I would recommend using this with pinyin/jyutping/furigana for character based languages. For production, when I was at Regina Coeli (world-class language institute) their main thing was just 1. you hear a short passage in Dutch, 10-40 words 2. you record yourself reading the same passage and 3. you play back the two audio tracks on top of one another and listen for the difference. Optional step 4. Re-record and replay until it’s close enough. There was no grading, no teacher checking recordings, no right or wrong; just hundreds of random sentences and a simple app to layer them. You needed to learn to hear the differences yourself and experiment until you no longer could. (fwiw this is not present in phrasing, I just found it relevant. One day soon I hope to add it!)
- deleted 8mo ago[deleted]
- cocoa19 8mo agoHave you tried the Azure Speech Studio? I wonder how your custom model compares to this solution. I played around with python scripts for the same purpose. The AI gives feedback that can be transformed to a percentage of correctness. One annoyance is that for Mandarin, the percentage is calculated at the character level, whereas with English, it gives you a more granular score at the phoneme level.
- dirteater_ 8mo agoIMO the SotA for this is https://www.speechsuper.com/ https://www.speechsuper.com/. Amazon suffers for similar > One annoyance is that for Mandarin, the percentage is calculated at the character level, whereas with English, it gives you a more granular score at the phoneme level. This is the case for most solutions you'd find for this task. Probably because of the 1 character -> 1 syllable property. It's pretty straightforward to split the detected pinyin into initial+final and build a score from that though.
- frozennothing 8mo agoThis is really cool. Thank you for sharing. Before now I had not sought to understand how this technology works under the hood, but seeing it done at this scale made me curious to see if I could do something similar.
- olalonde 8mo agoIt might be a mic issue but my wife, who is a native speaker, seems to get most characters wrong. I will try again later in a quieter place to see if that helps.
- martianlantern 8mo agoNice! I need something similar for english now
- arjie 8mo agoVery cool. As a super newbie who's only made it to Pimsleur 15 and only for the speaking, it would be cool to have a pinyin text entry and so on. In the end, I just type into ChatGPT what I want and paste it in your box so it's not a big deal.
- wenjian 8mo agoChinese here, some of the tune is wrong, maybe the env here has some noise, good luck on learning mandarin ;)
- felixbecker 8mo agoWhat a brilliant project!
- maximgeorge 8mo ago[dead]
- sim04ful 8mo agoI'm also working on a Chinese learning app (heyzima.com) and my "solution" to this was to use the TTS token/word log probabilities.
- yunusabd 8mo agoSuper nice, thanks for sharing! There's one thing that gave me pause: In the phrase 我想学中文 it identified "wén" as "guó". While my pronunciation isn't perfect, there's no way that what I said is closer to "guó" than to "wén". This indicates to me that the model learned word structures instead of tones here. "Zhōng guó" probably appears in the training data a lot, so the model has a bias towards recognizing that. - Edit - From the blog post: > If my tone is wrong, I don’t want the model to guess what I meant. I want it to tell me what I actually said. Your architecture also doesn't tell you what you actually said. It just maps what you said to the likeliest of the 1254 syllables that you allow. For example, it couldn't tell you that you said "wi" or "wr" instead of "wo", because those syllables don't exist in your setup.
- vjerancrnjak 8mo agoI tried just repeating guó for as many times as symbols and repetition was not recognized. Although I like the active aspect of the approach. Language apps where sound is the main form of learning should have a great advantage, as any written text just confuses as every country has its own spin on orthography. Even pinyin, despite making sense, for a beginner, has so many conflicting symbols.
- yunusabd 8mo ago> I tried just repeating guó for as many times as symbols and repetition was not recognized. Can you elaborate? I'm not sure I understand.
- qingcharles 8mo agoI think he's saying transliteration and romanization is horribly flawed in some instances.
- mentalgear 8mo agoVery cool ! Will you make the source available as well?
- JCharante 8mo agoCool! I'm not great at Chinese but I have to speak slowly for it to recognize the tones/words. I wonder how fast the training data is.
- namelosw 8mo agoImpressive work! The idea and the UI is very intuitive. Though, as a guy who speaks perfect mandarin from Beijing, I’m struggle even to pass the easy ones… So it can definitely used some improvements. The example 你好吃饭了吗 returns hào → hǎo, fān → fàn, le → liǎo. The first two are the model listen my tone mistakenly, and the last one should be le instead of liǎo in this context. Also I see in the comment section people are worry about tones. I can guarantee tones are not particularly useful and you can communicate with native speakers with all the tones messed up and that’s perfectly fine. Because as soon as you leave Beijing, you’ll find all the tones are shuffled because of every region has their own dialect and accents, which doesn’t stop people from communicate at all. So don’t let tone stuff slow your learning process down.
- samiv 8mo agoAs a person who lived in Taiwan and reached C1 in Chinese, I can also say that the tones are indeed less important than one might thing once one can say more and communicate more context. In the beginning when you're very limited in your expressive capacity and only can say simple sentences there's less context and getting the tones wrong does produce confusion. "Because as soon as you leave Beijing, you’ll find all the tones are shuffled because of every region has their own dialect and accents, which doesn’t stop people from communicate at all. " Isn't this in fact one of the reasons why China relies heavily on the written language because the different regions lose vocal communication ability as the changes in tones and pronounciations render the language understandable to people from other regions?
- zelphirkalt 8mo agoThe point about being a beginner and having limited capacity to express oneself is an important point. When you can say more, you will also have learned more about the language's tendency to use words of 2 syllables, rather than 1 syllable words. Using 2 syllables instead of 1 already removes a lot of ambiguity, and people will understand you better.
- mijoharas 8mo agoI feel like there is a commonly mentioned idea that "speaking a foreign language is easier after having a drink or two". I've found that especially true with Mandarin because (I think) a beginner speaker is more likely to speak a little more quickly which allows the listener to essentially ignore the occasional incorrect or slightly mispronounced tone and understand the what theyî're trying to say. (This is anecdotal, but with n>1. Discussed and observed with other Mandarin language learners)
- redleader55 8mo agoThis is a very cool to have! Thanks for putting the time to build it. For me it doesn't work very well. Even easy phrases like 他很忙 get transcribed completely random "ma he yu". Is it maybe over-fitted to some type of voice?
- zelphirkalt 8mo agoI think this is a good time for a shameless plug. The last 2 month or so I am working on my own project [1] for learning more characters. I have made a tool with powerful search function, training mode, and other useful features, such as displaying plots that show you your progress and whether you are reaching your daily training goal, and the ability to save searches, a la Thunderbird saved filters. It is written in Python and oldschool tkinter with custom widgets for a somewhat more modern and capable feel. It is very configurable. Though currently configuring it means touching a JSON file, as I have not yet bothered writing GUI for that. I am mostly developing this for myself, to have the perfect tool for me, but I dare say, that I have not seen anything comparable and that I let my 10y+ experience in learning Chinese influence my design decisions. Oh, and it is free /libre software of course (AGPL). It comes with an ever improving vocabulary file that has tons of metadata about words, their usage, how to memorize them, etc. under ODbL (open database license). [1]: https://codeberg.org/ZelphirKaltstahl/xiaolong-dictionary https://codeberg.org/ZelphirKaltstahl/xiaolong-dictionary
- peterburkimsher 8mo agoGood to see that there are others learning and creating! Another shameless plug for my translator site: https://pingtype.github.io https://pingtype.github.io It takes text, adds colours for tones, pinyin, literal, and parallel translations. There’s also a character decomposition tool at the bottom of the page which can be helpful if you’re able to recognise half a character but can’t remember the pronunciation for typing it. The YouTube channel has some song lyrics, movie subtitles, and audio Bible that might help with learning.
- zelphirkalt 8mo agoWow, the tool for decomposing characters is very cool! I assume you are talking about the thing that appears, when I click "Matrix"? I think it would be good to have "decompose characters" somewhere. But I might actually use this to get the component characters. In my app in my vocabulary file I also have tags for words, which are like "component:<component here>", so that if one knows how parts of a character, one could also search for it, without knowing its pinyin, by searching for "tags contain component1 and contain component2 and ...". I might add more component tags using your tool. What I noticed though is, that some of the components don't seem to be like what I would expect to be shown as components. For example I tried the word 衣服 and 服 is shown to have the component "二". I guess one could see it that way, but some other dictionaries stop at 月 which itself is a component with set meaning (moon) and usage as radical (often for body parts). My favorite online normal dictionary for example: https://www.mdbg.net/chinese/dictionary?page=worddict&wdrst=0&wdqb=%E8%A1%A3%E6%9C%8D https://www.mdbg.net/chinese/dictionary?page=worddict&wdrst=... (hover over 3 dots of character and click the button with the 字 and scissors to see decomposition) says: 服 = 月 + 𠬝 𠬝 = 卩 + 又 If you go further, wouldn't you also have to decompose "二" into "一" and "一"? A Chinese teacher told me there are various approaches for decomposition, so this might not be a science or that rigorous, but I think consistency would then dictate, that you decompose "二" as well. I don't always agree fully with their decomposition either and usually I stop at any component, that still has meaning by itself, which can be pretty low level 1 or 2 strokes components already. For determining that, I also use information from a language school, which I copied into a repo: https://codeberg.org/ZelphirKaltstahl/language-learning/src/branch/main/chinese/language-school.org#headline-11 https://codeberg.org/ZelphirKaltstahl/language-learning/src/... "All radicals from their website". Also useful for memorizing the characters, if one can derive a mnemonic for a character from its components and their meaning. The advanced UI looks very complex, but I don't mind that. In fact it is quite cool! Just has some stuff I don't even know what it is about. I noticed, that once one toggles the advanced UI, I didn't find a way to toggle it back to simple again. Bookmarked!
- eudamoniac 8mo agoHow do you know that what it tells you is correct if you can't hear it yourself?
- contingencies 8mo agoMan, get a girlfriend.
- tomaytotomato 8mo agoCan the implementation used here for tone and pronounciation apply for Music? It would be cool if a model could tell you if you are singing or playing a piece of music with the right intonation and other ways.
- victorbjorklund 8mo agoCool. Would love a write up about how you did it if you have time
- kris_builds 8mo ago+1 on wanting a writeup. The model architecture choices alone would be interesting - did they use a transformer, CNN, or something hybrid? And how they handled the tone pair ambiguities... Would read that blog post for sure.
- kris_builds 8mo agoSuper interesting project. Curious about the data collection - did you record yourself, use existing datasets, or both? I've been thinking about building something similar for Hebrew vowels (which are often omitted in writing). Would love to hear what the hardest part of the pipeline was.
- alixwang 8mo agoAs a native speaker of Mandarin the demo it's not work for me. It can't check the pronounce of my voice. I don't know what's wrong of it, may be it's too sensitive(my daughter watch carton on my side).
- simedw 8mo agoIt’s fairly sensitive to background noise at the moment. I’m planning to train an improved version with stronger data augmentation, including background noise.
- maximedupre 8mo agoThis is sick... you can just do things :D
- deleted 8mo ago[deleted]
- sgt 8mo agoHow do you actually go about training specialized speech models? Let's say you have a language dialect you want to specialize on, or a pidgin English from West Africa, or a regular language but with highly specialized terminologies being used. Just curious - would you need insane HW infrastructure to begin with, or hosted/managed. And what tooling is preferred by the industry for the "training"?
- genie3io 8mo ago[dead]
- erdemo 8mo agoThis thread is like a diamond to me because I have been thinking about building almost the same thing for English tones. I need a model like this. I'm sure there are a bunch of apps out there that claim they do the same thing, but they don't, IMO. Even if they do, as you said, where is the fun in that? Great post, thanks for it!
- namr2000 8mo agoWow, I was going to make something almost exactly like this! Really cool work and thank you for sharing
- alexandermorgan 8mo agoI wish this were available for more languages! It would also be neat to estimate the native language of the speaker, given their pronunciation of the target language, and propose a prioritization of the pronunciation mistakes the language learner should work on first.
- asyncadventure 8mo ago[dead]
- while_true_ 8mo agoSuggestion: in addition to the microphone input, allow the user to upload an audio file.
- ctkhn 8mo agoThis is fantastic. Been looking for a way to get feedback on my pronunciation since I came back from Shanghai and haven't been seeing native speakers every day. Is there any plan to make this a download for desktop or mobile? Would be using it weekly to get back up to par on Mandarin
- jainaayush05 8mo agoAny plans on releasing the inference/training code?
- asyncadventure 8mo ago[dead]
- cheonn638 8mo agoUnclear if it wants 媽媽 / 妈妈 as: - māmā (incorrect) - māma (correct)
- irl_zebra 8mo agoI am a huge, huge AI hater. I hate, hate, hate all the "Show HN: My Latest AI Slop App That Sucks and Required No Creativity to Think Up or Vibe Code and is Useless and I am a Useless Void of a Person for Having Created It." I say that to give context to say that this is the first legitimately useful "Show HN" I have seen in this AI sphere. It's really great, it seems to work quite well (I am an amateur mandarin speaker, I "know" about 5,000 words, so can vaguely judge) and fulfills a legitimate use case. I would pay you to use this once the model improves a little bit. It's really fantastic. You did well.
- somesun 8mo agois there a English or Japanese learning model like this?
- Irishappy 8mo ago[dead]
- Irishappy 8mo ago[dead]
- kanwisher 8mo agoNice now just add Thai support ;)
- holg 8mo agoGreat idea and effort, thanks for sharing. It is even way more strict than my native chinese tryarounds :D