leafiy
All work

Fast, accurate Chinese sentiment for any industry

Mia

Many open sentiment models were trained on a single kind of text, so a new industry means labeling and training all over again. Mia was trained on e-commerce, social media, literature, academic, medical and industrial text; tested as-is on an independent benchmark spanning 30 industries and 5 writing styles it scores 94%, and on public product and hotel reviews it never saw it still gets 88% to 92% of the positive-or-negative calls right. Pick a release by the job: decider to catch as many complaints as possible, Qwen for a quick read of overall sentiment, Laya to sweep huge volumes at nearly 2,000 sentences a second. The weights are free to download and take a few lines of code to use.

websiteChinesenegative / neutral / positiveAny industryThree open releases
Source on GitHub

00 · Daily use

Start with the paths that matter.

  1. 01

    Pick a release

    decider to find complaints, Qwen for overall sentiment, Laya for huge volumes; download from Hugging Face or ModelScope.

  2. 02

    Load it in a few lines

    Sample code is on GitHub; copy it and change the path.

  3. 03

    Read the answer

    Every sentence returns three probabilities. Take the largest, or set aside the unsure ones for a person.

01 · Why

Too slow, or not accurate, or useless once you change industry.

Each sentiment tool I tried before Mia had one of those problems. What I wanted was plain: fast enough to sweep a whole dataset, accurate enough to use as is, no starting over for a new industry, and honest enough to say neutral when a sentence has no feeling in it.

— Leafiy

02 · Questions

Common questions

decider to find complaints, Qwen for overall sentiment, Laya to sweep huge volumes first. On the independent benchmark they are less than half a point apart; they differ in speed and in whether an unsure sentence leans negative or neutral.

No. It was trained on e-commerce, social media, literature, academic, medical and industrial text, so you can use it as is.

Reviews, ratings, social posts, open survey answers and support logs of 5 to 100 characters. Split long articles into sentences first.

One GPU with 8 GB of VRAM runs all three; for decider, process 16 sentences at a time. To run decider at full speed you want about 20 GB. A CPU works too, just slowly.