{"by":"hessdalenlight","descendants":6,"id":45703196,"kids":[45709447,45710091,45710798,45723029],"score":43,"text":"TLDR: I’m expanding the family of text-splitting Chonky models with new multilingual model.<p>You can learn more about this neural approach in a previous post: <a href=\"https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43652968\">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43652968</a><p>Since the release of the first distilbert-based model I’ve released two more models based on a ModernBERT. All these models were pre-trained and fine-tuned primary on English texts.<p>But recently mmBERT(<a href=\"https:&#x2F;&#x2F;huggingface.co&#x2F;blog&#x2F;mmbert\" rel=\"nofollow\">https:&#x2F;&#x2F;huggingface.co&#x2F;blog&#x2F;mmbert</a>) has been released. This model pre-trained on massive dataset that contains 1833 languages. So I had an idea of fine-tuning a new multilingual Chonky model.<p>I’ve expanded training dataset (that previously contained bookcorpus and minipile datasets) with Project Gutenberg dataset which contains books in some widespread languages.<p>To make the model more robust for real-world data I’ve removed punctuation for last word for every training chunk with probability of 0.15 (no ablation was made for this technique though).<p>The hard part is evaluation. The real-world data are typically OCR&#x27;ed markdown, transcripts of calls, meeting notes etc. and not a clean book paragraphs. I didn’t find such labeled datasets. So I used what I had: already mentioned bookcorpus and Project Gutenberg validation, Paul Graham essays, concatenated 20_newsgroups.<p>I also tried to fine-tune the bigger mmBERT model (mmbert-base) but unfortunately it didn’t go well — metrics are weirdly lower in comparison with a small model.<p>Please give it a try. I&#x27;ll appreciate a feedback.<p>The new multilingual model: <a href=\"https:&#x2F;&#x2F;huggingface.co&#x2F;mirth&#x2F;chonky_mmbert_small_multilingual_1\" rel=\"nofollow\">https:&#x2F;&#x2F;huggingface.co&#x2F;mirth&#x2F;chonky_mmbert_small_multilingua...</a><p>All the Chonky models: <a href=\"https:&#x2F;&#x2F;huggingface.co&#x2F;mirth\" rel=\"nofollow\">https:&#x2F;&#x2F;huggingface.co&#x2F;mirth</a><p>Chonky wrapper library: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;mirth&#x2F;chonky\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;mirth&#x2F;chonky</a>","time":1761393704,"title":"Show HN: Chonky – a neural text semantic chunking goes multilingual","type":"story","url":"https://huggingface.co/mirth/chonky_mmbert_small_multilingual_1"}