Lurker News
I mean anything in the 0.5B-3B range that's available on Ollama (for example). Have you built any cool tooling that uses these models as part of your work flow?

Comments (346) 68 threads

kaspermarstal10 replies#
I built an Excel Add-In that allows my girlfriend to quickly filter 7000 paper titles and abstracts for a review paper that she is writing [1]. It uses Gemma 2 2b which is a wonderful little model that can run on her laptop CPU. It works surprisingly well for this kind of binary classification task.

The nice thing is that she can copy/paste the titles and abstracts in to two columns and write e.g. "=PROMPT(A1:B1, "If the paper studies diabetic neuropathy and stroke, return 'Include', otherwise return 'Exclude'")" and then drag down the formula across 7000 rows to bulk process the data on her own because it's just Excel. There is a gif on the readme on the Github repo that shows it.
[1] https://github.com/getcellm/cellm

relistan#
Very cool idea. I’ve used gemma2 2b for a few small things. Very good model for being so small.
afro881 reply#
How accurate are the classifications?
indolering1 reply#
Y'all definitely need to cross validate a small number of samples by hand. When I did this kind of research, I would hand validate to at least P < .01.

Continue this thread — 1 reply

beernet11 replies#
> I don't know.

HN in a nutshell: I've built some cool tech but have no idea if it is helpful or even counter productive...

Continue this thread — 11 replies

donbreo1 reply#
Requirements: -Windows

Looks like I'm out... Would be great if there was a google apps script alternative. My company gave all devs linux systems and the business team operates on windows. So I always use browser based tech like Gapps script for complex sheet manipulation

jkman1 reply#
Well it's an excel add-in, how else would it work?
NotMichaelBay#
Excel add-ins can be written with the Office JS API so that they can run on web as well as desktop for Windows and Mac. But I don't think OP's add-in is possible with that API unless the local model can be run in JS.
7734128#
You could have called it CellMate b
7734128#
You could have called it CellMate
basmok#
Can someone hack this together as pure matrix multiplication?

Like either as table in the background or as regular script?
On most computers you can't compile or add add-ons without administrative rights and LLM Chat sites are blocked to prevent usage of company data.
It should run on native Excel or GSheets.
I mean, pure without compilation, just like the do the matrix calculations here straight in Excel without admin rights:
Lesson 1: Demystifying how LLMs work, from architecture to Excel
https://youtu.be/FyeN5tXMnJ8
As far as i know in GSheet the scripts also run on the Google Servers and are not limited by the local computer power. So there larger models could be deployed.
Someone can hack this into Excel/GSheet?

TeamDman2 replies#
Tried it out, very cool! Fun to see it chugging on a bunch of rows. Had a weird issue where it would recompute values endlessly when I used it in a table, but I had another table it worked with so not sure what that was about
kaspermarstal#
Glad you tried it out! Excel triggers recalculation when a referenced cell updates, just like with any other formula. This is also why responses are not streamed, as every update would trigger recalculation. But if the async behavior of responses messes with the recalculation logic I am very interested in looking into it and you are most welcome to open an issue in the repo with steps to reproduce.
gorkish#
Probably would want to run with Manual calculation set on your sheet if using this.
upcoming-sesame1 reply#
Could it be adapted for Google Sheets ?
kaspermarstal#
Yes, and it will be
ddddqqqq#
Seems very nice and useful.

I'd like to have something similar integrated with Zotero to get an easy interaction and get answers about papers I added as references.

antonok4 replies#
I've been using Llama models to identify cookie notices on websites, for the purpose of adding filter rules to block them in EasyList Cookie. Otherwise, this is normally done by, essentially, manual volunteer reporting.

Most cookie notices turn out to be pretty similar, HTML/CSS-wise, and then you can grab their `innerText` and filter out false positives with a small LLM. I've found the 3B models have decent performance on this task, given enough prompt engineering. They do fall apart slightly around edge cases like less common languages or combined cookie notice + age restriction banners. 7B has a negligible false-positive rate without much extra cost. Either way these things are really fast and it's amazing to see reports streaming in during a crawl with no human effort required.
Code is at https://github.com/brave/cookiemonster. You can see the prompt at https://github.com/brave/cookiemonster/blob/main/src/text-cl....

binarysneaker3 replies#
Maybe it could also send automated petitions to the EU to undo cookie consent legislation, and reverse some of the enshitification.
antonok1 reply#
Ha, I'm not sure the EU is prepared to handle the deluge of petitions that would ensue.

On a more serious note, this must be the first time we can quantitatively measure the impact of cookie consent legislation across the web, so maybe there's something to be explored there.

pk-protect-ai6 replies#
why don't you spam the companies who want your data instead? The sites can simply stop gathering your data, then they will not require to ask for consent ...

Continue this thread — 6 replies

K0balt1 reply#
I think there is real potential here, for smart browsing. Have the llm get the page, replace all the ads with kittens, find non-paywall versions if possible and needed, spoof fingerprint data, detect and highlight AI generated drivel, etc. The site would have no way of knowing that it wasn’t touching eyeballs. We might be able to rake back a bit of the web this way.
antonok2 replies#
You probably wouldn't want to run this in real-time on every site as it'll significantly increase the load on your browser, but as long as it's possible to generate adblock filter rules, the fixes can scale to a pretty large audience.

Continue this thread — 2 replies

sebastiennight1 reply#
To me this take is like smokers complaining that the evil government is forcing the good tobacco companies to degrade the experience by adding pictures of cancer patients on cigarette packs.
bazmattaz3 replies#
This is so cool thanks for sharing. I can imagine it’s not technically possible (yet?) but it would be cool if this could simply be run as a browser extension rather than running a docker container
antonok#
I did actually make a rough proof-of-concept of this! One of my long-term visions is to have it running natively in-browser, and able to automatically fix site issues caused by adblocking whenever they happen.

The PoC is a bit outdated but it's here: https://github.com/brave/cookiemonster/tree/webext

GardenLetter273 replies#
It's funny that this is even necessary though - that great EU innovation at work.
kalaksi1 reply#
Tracking, tracking cookies, banners etc. are a choice done by the website. There are browser addons for making it simpler, though.

The transparency requirements and consent for collecting all kinds of PII (this is the regulation) actually is a great innovation.

docmars3 replies#
I think I'd rather see cookie notices handled by a browser API with a common UI, where the default is always "No." Provide that common UI in a popover accessed in the address bar, or a side pane in the browser itself.

If a user logs in or does something requiring cookies that would otherwise prevent normal functionality, prompt them with a Permissions box if they haven't already accepted it in the usual (optional) UI.

Continue this thread — 3 replies

pornel#
The legislation has been watered down by lobbying of the trillion-dollar tracking industry.

The industry knows ~nobody wants to be tracked, so they don't want to let tracking preferences to be easy to express. They want cookie notices to be annoying to make people associate privacy with a bureaucratic nonsense, and stop demanding to have privacy.
There was P3P spec in 2002: https://www.w3.org/TR/P3P/
It even got decent implementation in Internet Explorer, but Google has been deliberately sending a junk P3P header to bypass it.
It has been tried again with a very simple DNT spec. Support for it (that barely existed anyway) collapsed after Microsoft decided to make Do-Not-Track on by default in Edge.

vvillena#
Bear in mind, those arcane cookie forms are probably not compliant with EU laws. If there's not a "reject" button next to the "accept" button, the form is almost definitely not to spec.
rpastuszak#
Tangentially related, I worked on something similar, using LLMs to find and skip sponsored content in YT videos:

https://butter.sonnet.io/

RVuRnvbM2e15 replies#
This is fantastic. How have your hooked up a mobile number to the llm?

Continue this thread — 15 replies

Continue this thread — 10 more replies

behohippy19 replies#
I have a mini PC with an n100 CPU connected to a small 7" monitor sitting on my desk, under the regular PC. I have llama 3b (q4) generating endless stories in different genres and styles. It's fun to glance over at it and read whatever it's in the middle of making. I gave llama.cpp one CPU core and it generates slow enough to just read at a normal pace, and the CPU fans don't go nuts. Totally not productive or really useful but I like it.

Continue this thread — 19 replies

Load more comments