News for hackers. Stuff that matters.
Re:Has LLM killed traditional NLP? by axegon_ on Saturday January 18, 2025 @03:36PM (#42751225)
FFS... "Lots of writers, few readers". Read again and do the math: 2 seconds, multiply that by 10 million records which contain this, as well as "alarm installation in two locations" and a whole bunch of other crap with little to no repetition (<2%) and where does that get you? 2 * 10,000,000 = 20,000,000 SECONDS!!!! A day has 86,400 seconds (24 * 3600 = 86,400). The data pipeline needs to finish in <24 hours. Everyone needs to get this into their heads somehow: LLM's are not a silver bullet. They will not cure cancer anytime soon, nor will they be effective or cheap enough to run at massive scale. And I don't mean cheap as in "oh, just get openai subscription hurr durr". Throwing money mindlessly into something is never an effective way to solve a problem.
Re:Has LLM killed traditional NLP? by gbnwl on Saturday January 18, 2025 @04:09PM (#42751453)
Why are you using 2 seconds? The commenter you are responding to hypothesized being able to do 250/s based on "100 parallel inference at 5 at a time". Not speaking to the validity of that, but find it strange that you ran with the 2 seconds number after seemingly having stopped reading after that line, while yourself lamenting people don't read and telling them to "read again".
Re:Has LLM killed traditional NLP? by jazzyjackson on Saturday January 18, 2025 @04:14PM (#42751471)
OP said 2 seconds as if that wasn't an eternity...
Re:Has LLM killed traditional NLP? by gbnwl on Saturday January 18, 2025 @04:26PM (#42751561)
But then they said 250/second when running multiple inference? Again I don't know if their assertions about running multiple inference are correct but why focus on the wrong number instead of addressing the actual claim?
Re:Has LLM killed traditional NLP? by Vampiero on Sunday January 19, 2025 @07:14AM (#42756373)
250/s is still nothing when compared to an actual NLP pipeline that takes a few ms per it, because you can parallelize that too.

I know it's hard to understand, but you can achieve a throughput that is a few orders of magnitude higher.

Re:Has LLM killed traditional NLP? by EvgeniyZh on Wednesday January 22, 2025 @01:46PM (#42796141)
250/s is few (4) ms per it
Re:Has LLM killed traditional NLP? by axegon_ on Saturday January 18, 2025 @05:05PM (#42751793)
Ok, let me dumb it down for you: you have a cockroach in your bathroom and you want to kill it. You have an RPG and you have a slipper. Are you gonna use the RPG or are you going to use the slipper? Even if your bathroom is fine after getting shot with an RPG somehow, isn't this an overkill? If you can code and binary classifier train a classifier in 2 hours that uses nearly 0 resources and gives you good enough results(in my case way above what my targets were) without having to use a ton of resources, libraries, rags, hardware and hell, even electricity? I mean how hard is this to comprehend really?

https://deviq.com/antipatterns/shiny-toy

Re:Has LLM killed traditional NLP? by gbnwl on Saturday January 18, 2025 @07:17PM (#42752547)
Sure, but this doesn't answer my question nor tie into your last comment at all. It's Saturday evening in much of the world, are you sober?
Re:Has LLM killed traditional NLP? by Vampiero on Sunday January 19, 2025 @07:13AM (#42756361)
This thread is chock full of people who have no clue about what traditional AI even is. I'm sorry you have to deal with literal children
Re:Has LLM killed traditional NLP? by why_only_15 on Saturday January 18, 2025 @04:44PM (#42751653)
Assuming the 10M records is ~2000M input tokens + 200M output tokens, this would cost $300 to classify using llama-3.3-70b[1]. If using llama lets you do this in say one day instead of two days for a traditional NLP pipeline, it's worthwhile.

[1]: https://openrouter.ai/meta-llama/llama-3.3-70b-instruct

Re:Has LLM killed traditional NLP? by sangnoir on Saturday January 18, 2025 @09:14PM (#42753027)
> ...two days for a traditional NLP pipeline

Why 2 days? Machine Learning took over the NLP space 10-15 years ago, so the comparison is between small, performant task-specific models versus LLMs. There is no reason to believe the "traditional" NLP pipelines are inherently slower than Large Language Models, and they aren't.

Re:Has LLM killed traditional NLP? by why_only_15 on Sunday January 19, 2025 @11:30PM (#42764996)
my claim is not that it would take two days for such a pipeline to run but that it would take two days to make an NLP pipeline whereas an LLM pipeline would be faster to make.