HN user

halflings

2,566 karma

Software Engineer specialized in applied Machine Learning, and in particular ranking and search quality.

Get in touch: https://kachkach.com/ ahmed@kachkach.com

Posts19
Comments602
View on HN
kachkach.com 3mo ago

Sampling from LLMs: Art and Science

halflings
1pts0
kachkach.com 3mo ago

Generating one token at a time is a blessing in disguise

halflings
3pts1
mlconsole.com 4y ago

Show HN: MLConsole – web app to train ML models, for free and client-side

halflings
86pts22
github.com 4y ago

CPython on WASM

halflings
1pts0
mlconsole.com 4y ago

Show HN: Web app to build ML models in the browser (free, runs locally)

halflings
3pts3
cloud.google.com 8y ago

Automatically classifying news articles with ML

halflings
3pts0
www.blog.google 9y ago

Responding to the “Campaign for Accountability” report on academic research

halflings
1pts0
yellowdog.co 10y ago

YellowDog – Crowdsourced 3D rendering for animators and artists

halflings
1pts0
detectify.com 11y ago

Detectify:a vulnerability scanner built with and for modern technologies

halflings
2pts1
www.youtube.com 11y ago

PyCon Sweden talks: data science, automation, django,

halflings
1pts0
www.nytimes.com 11y ago

Europe Challenges Google, Seeing Violations of Its Antitrust Law

halflings
2pts0
kachkach.com 11y ago

Data-processing and machine learning with Python

halflings
1pts0
christianheilmann.com 11y ago

Diversifight – a talk at the diversity hackathon at Spotify Sweden

halflings
1pts0
docs.google.com 11y ago

Show HN: TV Inspector – tv shows classification using subtitles

halflings
1pts0
www.youtube.com 11y ago

Limit Theory's scripting language: LTSL

halflings
1pts0
github.com 12y ago

Repository of DMCA takedown notices received by GitHub

halflings
3pts0
www.nltk.org 12y ago

Natural Language Processing with Python (2009)

halflings
1pts0
www.toptal.com 12y ago

Why are there so many Pythons?

halflings
1pts0
cdpred.com 12y ago

No DRM in The Witcher 3: Wild Hunt – an open letter to the community

halflings
1pts0

LLMs generate their output one token at a time. The first thought when you learn this is that this is a huge performance bottleneck, as we are used to highly parallelized systems.

However, a large part of what makes LLMs feel so magical comes from this bottleneck.

The Codex App 6 months ago

The main thing I noticed in the video is that they have heavily sped up all the code generation sections... seems to be on 5x speed or more. (because people got used to how fast and good Sonnet, and especially Gemini 3.0 Flash, are)

I would also add that search has already moved elsewhere.

Less and less people are using search engines to shop, ex:Amazon makes >$57B a year from search ads, but also look at Temu and Shein which are mostly glorified product search platforms.

No one is searching for "funny videos" when you can just open Instagram and Tiktok.

The only real unique thing that search engines can do is queries that are not directly commercial (e.g. education, information seeking, etc.) and competition is insanely intense (w/ ChatGPT, Perplexity, etc) there.

I cannot be the first person to think about such possibilities

Differentiable Rendering [1] is the closest thing to what you are describing. And yes, people have been working on this for the same reason you outline, it is more data/compute efficient and hence should generalize better.

[1] https://blog.qarnot.com/article/an-overview-of-differentiabl...

But also: > While cool, this also seems utterly wasteful. Video games offer known "analytical" solutions for the interactions that the model provides as a "statistical approximation", so to say.

A bit of the same debate as people calling LLMs a "blurry JPEG of the web" and hence useless.

Yes this is a statistical approximation to an analytical problem... but that's a very reductive framing to what is going on. To find the symbolic/analytical solution here would require to constrain the problem greatly: not all things on the screen have a differentiable representation, for example complex simulations might involve some kind of custom internal loop/simulation.

You waste compute to get a solution that can just be trained on billions of unlabeled (synthetic) examples, and then generalize to previously unseen prompts/environments.

Training code is only useful to people in academia, and the closest thing to "code you can modify" are open weights.

People are framing this as if it was an open-source hierarchy, with "actual" open-source requiring all training code to be shared. This is not obvious to me, as I'm not asking people that share open-source libraries to also share the tools they used to develop them. I'm also not asking them to share all the design documents/architecture discussion behind this software. It's sufficient that I can take the end result and reshape it in any way I desire.

This is coming from an LLM practitioner that finetunes models for a living; and this constant debate about open-source vs open-weights seems like a huge distraction vs the impact open-sourcing something like Llama has... this is truly a Linux-like moment. (at a much smaller scale of course, for now at least)

The world is teetering on the edge of world war

The world probably has never been as peaceful as in the last 50 years or so.

Same goes for access to drinkable water, food, decent shelter, gender equality, freedoms, technology, etc.

But I suppose your comment is a good illustration of the problem at hands (that so many people deeply believe that things are fucked)

No HBM because they use tons of fast SRAM instead. Isn't that the main driver for performance here?

(the way I understood it => it's still cost effective at scale due to throughput increase this brings)

This (innovator's dilemma / too afraid of disrupting your own ads business model) is the most common explanation folks are giving for this, but seems to be some sort of post-rationalization of why such a large company full of competent researchers/engineers would drop the ball this hard.

My read (having seen some of this on the inside), is that it was a mix of being too worried about safety issues (OMG, the chatbot occasionally says something offensive!) and being too complacent (too comfortable with incremental changes in Search, no appetite for launching an entirely new type of product / doing something really out there). There are many ways to monetize a chatbot, OpenAI for example is raking billions in subscription fees.

Your analogy is the same as early Intel engineers completely unaware that those chips would bring on the ramifications of social media

Exactly! As they should be. (for both Intel engineers developing chips, and physicists developing nuclear research)

There were a billion more potential dangers from those technologies that never materialized, and never will.

I'm glad we didn't stop them in their track because a poll of 10 leaders in the field thought they were too dangerous and progress should stop. (note that no one is against regulating dangerous uses of AI, e.g. autonomous weapons, chemical warfare; the problem is regulating AI research and development in the first place)

This is the definition of strawman. "Advocate for killing all humans" sounds like someone advocating for a genocide, but instead it's just the same transhumanist thinking (which Yudkowsky also believes in, FYI)

Your comment (+ username) reads like what I would have written once upon a time when I was fully in the EA bubble.

Truly no offense meant, as I was deeply into the EA movement myself, and still consider myself one (in the original "donate money effectively" sense), but the movement has now morphed into a death cult obsessed by things like:

* OMG we're all going to die any time now (repeated every year since circa 2018)

* What is your pDoom? What are your timelines? (aka: what is your totally made up number that makes you feel like you're doing something rational/scientific)

I'm deep in the weeds w/ LLMs, e.g. I probably finetune an average of 1 model a day, and working with bleeding edge models... and AI safety just sounds so silly. Wanting to take drastic measures today to prevent an upcoming apocalypse makes as much sense as taking the same drastic measures when gradient descent was invented.

The importance (e.g. attention) needs to be dynamic, e.g. one token will be important to some other tokens but not others.

tf-idf and similar heuristics are what we were using before attention came along, e.g. tf-idf weighted bag-of-words representation of word2vec embeddings. That approaches fails in so many cases.

The technology looks at hundreds of signals that could indicate a booking is higher risk for this type of incident, like the duration of the trip the guest is trying to book, how far the listing is from their location, the type of listing they’re booking, and if the reservation is being made at the last-minute, among many more.

This is most likely a (simple) ML model trained on previous reports of such bookings.

Not newsworthy, but probably not a bunch of if-statements.

PeerTube v6 3 years ago

Nowhere it's touted as a rival to youtube in the popularity sense, just like you wouldn't call WordPress a rival to Twitter.

... the first image on the article linked here shows a monster called "Videorapter" with YouTube, Vimeo and Twitch logos, and calls for donations to "help push back Videoraptor"?

Anyone from Scandinavia at least would be horrified by this story. It makes the US presidency look like a 3rd world dictatorship.

If it's OK for a president to behave in this way, then you better believe this goes all the way down (and every person is abusing public funds to various extents).