News for hackers. Stuff that matters.
Re:Mistral Small 3 by yodsanklai on Thursday January 30, 2025 @10:39AM (#42878735)
I'm curious, what people do with these smaller models?
Re:Mistral Small 3 by celestialcheese on Thursday January 30, 2025 @11:56AM (#42879631)
Classification, tagging tasks. Way easier than older ML techniques and very fast to implement.
Re:Mistral Small 3 by mattgreenrocks on Thursday January 30, 2025 @12:07PM (#42879732)
When compared against more traditional ML approaches, how do they fare in terms of quality?
Re:Mistral Small 3 by spmurrayzzz on Thursday January 30, 2025 @01:54PM (#42880855)
Historically the problem with using LLMs for the super simple conventional NLP stuff is that they were hard to control in terms of output. If you wanted a one-word answer for a classification task, you'd often have to deal with it responding in a paragraph. This obviously hurts precision and accuracy quite a bit. There were tricks you could use (like using few-shot examples or GBNF grammars or training low-rank adapters or even re-asking the model) to constrain output a bit, but they weren't perfect.

Over the last 12-18 months though, the instruction-following capabilities of the models have improved substantially. This new mistral model in particular is fantastic at doing what you ask.

My approach to this personally and professionally is to just benchmark. If I have a classification task, I use a tiny model first, eval both, and see how much improvement I'd get using an LLM. Generally speaking though, the vram costs are so high for the latter that its often not worth it. It really is a case-by-case decision though. Sometimes you want one generic model to do a bunch of tasks rather than train/finetune a dozen small models that you manage in production instead.

Re:Mistral Small 3 by andrewgross on Thursday January 30, 2025 @01:55PM (#42880862)
Super easy to get started, but lacking for larger datasets where you want to understand a bit more about predictions. You generally lose things like prediction probability (though this can be recovered if you chop the head off and just assign output logits to classes instead of tokens), repeatability across experiments, and the ability to tune the model by changing the data. You can still do fine tuning, though itll be more expensive and painfaul than a BERT model.

Still, you can go from 0 to ~mostly~ clean data in a few prompts and iterations, vs potentially a few hours with a fine tuning pipeline for BERT. They can actually work well in tandem to bootstrap some training data and then use them together to refine your classification.

Re:Mistral Small 3 by whymauri on Thursday January 30, 2025 @05:32PM (#42882837)
After prompt optimization with something like DSPy and a good eval set, significantly faster and just about as good. Occasionally higher accuracy on held out data than human labelers given a policy/documentation e.g. customer support cases.
Re:Mistral Small 3 by Beretta_Vexee on Thursday January 30, 2025 @11:05AM (#42879025)
RAG mainly, Feature extraction, tagging, Document and e-mail classification. You don't need a 24B parameter to know whether the e-mail should go to accounting or customer support.
Re:Mistral Small 3 by pheeney on Thursday January 30, 2025 @12:55PM (#42880208)
What models would you recommend for basic classification if you don't need a 24B parameter one?
Re:Mistral Small 3 by josh-sematic on Thursday January 30, 2025 @01:51PM (#42880833)
You might find this comparison chart helpful: https://www.airtrain.ai/blog/how-15-top-llms-perform-on-clas...

Note: from October; also I work at Airtrain

Re:Mistral Small 3 by Beretta_Vexee on Friday January 31, 2025 @04:06AM (#42885931)
There's no alternative to testing with your own data. The majority of our data is in French, and our benchmarks differ greatly from public benchmarks generally based on English documents.
Re:Mistral Small 3 by elorant on Friday January 31, 2025 @08:32AM (#42887450)
I’m using Llama-3 8B to classify html files. It’s surprisingly good, and I run it on an RTX 4060 Ti at 8-bit quantization. No complains so far.
Re:Mistral Small 3 by Panoramix on Thursday January 30, 2025 @01:44PM (#42880766)
Would this work for non-text data? Like finding outliers in a time series or classifying trends, that kind of thing
Re:Mistral Small 3 by Beretta_Vexee on Friday January 31, 2025 @04:01AM (#42885906)
Don't use LLM to do something that some python + panda lines could do better. Buy a data scientist a coffee and have a chat.
Re:Mistral Small 3 by frankfrank13 on Thursday January 30, 2025 @11:04AM (#42879014)
They're fast, I used 4o mini to run the final synthesis in a CoT app and to do initial entity/value extraction in an ETL. Mistral is pretty good for code completions too, if I was in the Cursor business I would consider a model like this for small code-block level completions, and let the bigger models handle chat, large requests, etc.
Re:Mistral Small 3 by superkuh on Thursday January 30, 2025 @11:41AM (#42879470)
Not spend $6000 on hardware because they run on computers we already have. But more seriously, they're fine and plenty fun for making recreational IRC bots.
Re:Mistral Small 3 by _boffin_ on Thursday January 30, 2025 @10:50AM (#42878864)
Cleaning messy assessor data. Email draft generation.
Re:Mistral Small 3 by ignoramous on Thursday January 30, 2025 @10:50AM (#42878858)
Mistral repeatedly emphasize on "accuracy" and "latency" for this Small (24b) model; which to me means (and as they also point out):

- Local virtual assistants.

- Local automated workflows.

Also from TFA:

  Our customers are evaluating Mistral Small 3 across multiple industries, including:

  - Financial services customers for fraud detection
  - Healthcare providers for customer triaging
  - Robotics, automotive, and manufacturing companies for on-device command and control
  - Horizontal use cases across customers include virtual customer service, and sentiment and feedback analysis.