Better HN
topnewbestaskshowjobs
Log inSign up

prats226

233 karma · joined Mar 6, 2015 (11y ago) · 160 submissions

Submissions

1.

Ask HN: If you are an agent builder, what memory platform are you using?

1 points · by prats226 · 2mo ago · discuss

2.

Ask HN: Best PR Review Experience?

3 points · by prats226 · 4mo ago · 1 comment

comment 7mo ago · link · parent

A good experiment would be to also try giving it access to latency traces so it can identify issues? Wrt coding agents, giving access to observability tools often improve coding/debugging ability for me

comment 8mo ago · link · parent

Try https://docstrange.nanonets.com/ once, 10k docs you can use for free. Strong table performance. Do give feedback if any. Powered by bigger model compared to our open source one which is quiet popular on HF.

comment 9mo ago · link · parent

If with LLM's you can deanonymize at scale, on a personal level, you should also be able to figure out what posts are leading to this deanonymization and remove them or modify them.

comment 10mo ago · link · parent

Instead of markdown -> LLM to get JSON, you can just train a slightly bigger model which you can constrain decode to give JSON rightaway. https://huggingface.co/nanonets/Nanonets-OCR2-3B

We recently published a cookbook for constrained decoding here: https://nanonets.com/cookbooks/structured-llm-outputs/

comment 10mo ago · link · parent

https://nanonets.com/cookbooks/structured-llm-outputs/uncons...

comment 10mo ago · link · parent

Nice, it would be good idea to develop CFG for this as well so can embed it into all these constrained decoding libraries

comment 10mo ago · link · parent

One of the authors here, will checkout the diagram link.

Every commercial model provider is adding structured outputs so will keep updating the guide.

comment 1y ago · link · parent

https://docstrange.nanonets.com/ as well, wrapper on top of 7B version of https://huggingface.co/nanonets/Nanonets-OCR2-3B

comment 1y ago · link · parent

Then you can just download finetuned version of same multi-modal foundation model that's trained on documents?

comment 1y ago · link · parent

Top 3 models on huggingface are all OCR models. Most automation projects involve documents where you need a model finetuned to understand all elements inside documents and provide grounding and confidence scores etc which is why these subset of models are gaining popularity

comment 1y ago · link · parent

Would be intersting to see where funding goes to fix these issues. News would heavily impact public opinion and hence political influence and public funding.

comment 1y ago · link · parent

Yes, and its not just OCR (Optical Character Recognition), it understands layouts, captures signatures, charts, watermarks etc so way beyond just characters

comment 1y ago · link · parent

https://mention.com/en/

comment 1y ago · link · parent

Here is link to open source model: https://huggingface.co/nanonets/Nanonets-OCR-s

And hosted model: https://docstrange.nanonets.com/

comment 1y ago · link · parent

It boils down to information loss in compaction driven by LLM's. Either you could carefully design tools that only give compacted output with high information density so models have to auto-compact or organize information only once in a while which eventually is going to be lossy.

Or you just give loads of information without thinking much about it, assuming models will have to do frequent compaction and memory organization and hope its not super lossy.

comment 1y ago · link · parent

Reason I felt like they are closely connected are because for designing tools for lets say coding agents, you have to be thoughful of context engineering.

Eg linear MCP is notorious for giving large JSONs which quickly fill up context and hard for model to understand. So tools need to be designed slightly differently for agents keeping context engineering in mind compared to how you design them for humans.

Context engineering feels like more central and first-principle approach of designing tools, agent loops.

comment 1y ago · link · parent

Context engineering is another name people have given to same skill?

comment 1y ago · link · parent

You can always put automation for your google home to blast music at full volume at right time. And if you don't wake up from sound of music yourself, your neighbour will knock on your door for sure!

comment 1y ago · link · parent

With google serving AI overviews, now an average search query should cost more? Compute is getting cheaper but also algorithms getting more and more complex, increasing compute?

comment 1y ago · link · parent

Read long time ago that even SFT for conversations vs base model for autocomplete reduces intelligence, increases perplexity

comment 1y ago · link · parent

> But here’s the important part: LLMs don’t know how to use tools. They don’t have native tool calling support. They just generate text that represents a function call.

Its not a completely true statement. Eg openAI uses libraries like llguidance to get LLM to produce structured output, its not completely unguided free form text that happens to mimic a function call with parameters, truly.

comment 1y ago · link · parent

This is super interesting to think about in LLM world where lot of software is getting replaced with LLM calls.

In terms of output of an LLM, there is no clear promise in the contract, only observable behaviour. Also the observable behaviour is subject to change with every update in LLM. So all the downstream systems have to have evals to counter this.

One good example is claude code where now people have started complaining them switching models effecting their downstream coding workflows.

25.

Ask HN: Is OpenAI charging me for free tokens?

1 points · by prats226 · 1y ago · 1 comment

comment 1y ago · link · parent

Can you give a specific example where at certain depth it has stopped becoming useful?

comment 1y ago · link · parent

I see that in tool calling, we usually specify just the inputs to functions and not what typed output is expected from function.

In DSL style agents, giving LLMs info about what structured inputs are needed to call functions as well as what are outputs expected would probably result in better planning?

comment 1y ago · link · parent

https://www.jonathansapps.com/ Someone recently suggesting this and first thought I came to my mind is prevailing advice is to not show kids screen as long as possible
123456