News for hackers. Stuff that matters.

michaelgiba

Re:Structured Outputs Create False Confidence on Sunday December 21, 2025 @04:56PM (#46348945)
> You surely aren't implying that the model is sentient or has any "desire" to give an answer, right?

The model is a probabilistic machine that was trained to generate completions and then fine tuned to generate chat style interactions. There is an output, given the prompt and weights, that is most likely under the model. That’s what one could call the model’s “desired” answer if you want to anthropomorphize. When you constrain which tokens can be sampled at a given timestep you by definition diverge from that

Re:Structured Outputs Create False Confidence on Sunday December 21, 2025 @12:13PM (#46346321)
It’s not surprising that there could be a very slight quality drop off for making the model return its answer in a constrained way. You’re essentially forcing the model to express the actual answer it wants to express in a constrained language.

However I would say two things: 1. I doubt this quality drop couldn’t be mitigated by first letting the model answer in its regular language and then doing a second constrained step to convert that into structured outputs. 2. For the smaller models I have seen instances where the constrained sampling of structured outputs actually HELPS with output quality. If you can sufficiently encode information in the structure of the output it can help the model. It can effectively let you encode simple branching mechanisms to execute at sample time

Re:73% of AI startups are just prompt engineering on Sunday November 23, 2025 @11:48AM (#46024928)
73% of startups are just writing computer programs
Re:Ask HN: Has an LLM Discovered Calculus? on Tuesday November 04, 2025 @09:59PM (#45818475)
Interesting idea. Although I wouldn't consider `but restrict the data set to publications from <= year 1600` "easy".

If you did have access to a high-quality pretraining dataset and you could explore training up to 1600, then up to 1610, 1620, ... 1700 and look at how the presence of calculus was learned over that period. Running some tests with the intermediate models to capture the effect

Re:Llamafile Returns on Friday October 31, 2025 @07:19PM (#45777791)
Crazier ideas would be: - extend the concept to also have some sort of “agent mode” where the llamafiles can launch with their own minimal file system or isolated context - detailed profiling of main supported models to ensure deterministic outputs
Re:Llamafile Returns on Friday October 31, 2025 @07:16PM (#45777769)
I’m glad to see llamafile being resurrected. A few things I hope for:

1. Curate a continuously extended inventory of prebuilt llamafiles for models as they are released 2. Create both flexible builds (with dynamic backend loading for cpu and cuda) and slim minimalist builds 3. Upstreaming as much as they can into llama.cpp and partner with the project

Re:OpenMaxIO: Forked UI for MinIO Object Storage on Thursday October 23, 2025 @02:40PM (#45685256)
They stopped publishing images, not like they changed anything significant about the product itself.

Frankly the whole thing is not newsworthy

Re:Structured Outputs in LLMs on Tuesday September 23, 2025 @02:11PM (#45350761)
For anyone curious here is an interactive write up about this http://michaelgiba.com/grammar-based/index.html
Re:Dummy's Guide to Modern LLM Sampling on Thursday May 08, 2025 @07:44AM (#43925196)
This is much more thorough, but here is an interactive post covering the related topic constrained sampling I put together a few weeks back:

http://michaelgiba.com/grammar-based/index.html

Show HN: Traitorous Models- Reality Show with Open Source LLMs

https://github.com/michaelgiba/the-traitors

I was inspired by https://news.ycombinator.com/item?id=43586380 to simulate the reality TV show "The Traitors" using open-source LLMs. I used all open source via either groq or locally hosted on llama-server (llama.cpp)Watching the games unfold is pretty entertaining, even when the very small models lose track of the plot.(like a outmatched severely quantized phi4)I plan to improve the...

( Read More... | no comments | on HN )
I was inspired by your project to start making similar multi-agent reality simulations. I’m starting with the reality game “The Traitors” because it has interesting dynamics.

https://github.com/michaelgiba/survivor (elimination game with a shoutout to your original)

https://github.com/michaelgiba/plomp (a small library I added for debugging the rollouts)

Show HN: Tiny Python+Preact tool for debugging agents

https://github.com/michaelgiba/plomp

Hello HN,I wanted to share a project I have been working on recently called "plomp". It is intended to be a drop-in way to gain visibility into python programs which are prompting LLMs many times or using complicated contexts while remaining unopinionated on how you are doing the prompting.Basically you add some instrumentation to your program via decorators or small function calls and it...

( Read More... | no comments | on HN )
Re:Orpheus-3B – Emotive TTS by Canopy Labs on Wednesday March 19, 2025 @09:27PM (#43419080)
Nice, I’m particularly excited for the tiny models.
I like the idea but I would hesitate to upload my API keys.

why not make the prompting/orchestration pieces open source? A user could run locally to generate a result and the app could focus on displaying the results in a fun way

Re:A computer can never be held accountable on Tuesday February 04, 2025 @09:54AM (#42933113)
A different, darker way to interpret this is computers cannot be held accountable today

If systems (presumably AI-based) were conscious or self-aware they would very much be incentivized not to make mistakes. (Not advocating for this)

Re:Deep Research on Sunday February 02, 2025 @10:03PM (#42914456)
Gemini has had this for a month or two, also named "Deep Research" https://blog.google/products/gemini/google-gemini-deep-resea...

Meta question: what's with all of the naming overlap in the AI world? Triton (Nvidia, OpenAI) and Gro{k,q} (X.ai, groq, OpenAI) all come to mind

Show HN: Convert a link to a late night show

https://github.com/michaelgiba/late_now

Hi all, I wanted to share a side project I’ve been working on for a while which, given a link to a news article, produces an animated late night show of configurable length and style.Its conceptually similar to NotebookLM, but I’m not aware of other projects which convert to 3D.Curious to hear people’s thoughts. For an overview on how it works I made a post here:...

( Read More... | no comments | 2 points | on HN )
Re:This Message Does Not Exist on Saturday June 01, 2024 @11:46PM (#40551160)
This is art
it’s pretty impressive that PyTorch is only 7% slower than this given it can be used so generally
I am not sure either. Although maybe it just comes down to how the purchased compute is “delivered”
That would certainly be an obstacle.

Hypothecally it could be beneficial to other smaller providers. I think it all comes down to how the purchased compute would end up being used by purchasers

Sort of, gpulist.ai as well
There are definitely thresholds you reach that make it difficult to generalize. large cluster setups can differ significantly and actual usability of the clusters makes a big difference too.

However I guess there are some differences like these even in real commodities like oil based on the blend/refinement/producer/geography.

I actually went down nearly this exact same rabbit hole recently. Specifically I was curious why, given all of the demand for GPUs, compute not been commoditized and resold through public markets. This also led me to the Enron's ideas before their collapse :)

One thing I found surprising is how hard it is to discover prices of this compute time in today's world as compared to traditional commodities like oil. A factor could be a difference in regulation, for example in the US I believe there are requirements for reporting energy trades between producers and consumers.

side note: I made this minimal website for tracking these prices which shows some of the disparity: https://computeindex.michaelgiba.com/

Ok I updated the main view to show latest pricing by defaultinstead of just the dropdown. Thanks!
Yeah that is all it is currently, just a drop down that once you pick a GPU configuration it shows the pricing from a few providers. I'm still trying to determine which data would be most useful to collect/display. As for the tech stack:

backend: python flask and underlying data is stored as parquet in GCS frontend: react, https://chakra-ui.com/, https://www.tremor.so/docs/ui/card

Older »