Better HN
topnewbestaskshowjobs
Log inSign up

lopuhin

156 karma · joined Sep 10, 2015 (11y ago) · 71 submissions

I work at https://www.zyte.com/ on https://www.zyte.com/automatic-extraction/

Github: https://github.com/lopuhin/ Kaggle: https://www.kaggle.com/lopuhin/

Submissions

comment 2mo ago · link · parent

In the limitations you say that “Out-of-the-box base models score ~0.35 on the typed-decisions benchmark (near random). The 0.766 score is achieved by fine-tuning on the benchmark's train split. Treat Laya as a fast foundation model to specialize, not as an omniscient zero-shot oracle.” - but that’s the whole point, you can obviously fine-tune specialized models but having a model follow you instructions and be promotable and fast makes it massively easier to use.

comment 6mo ago · link · parent

Qwen3.5 is able to output click coordinates and bounding boxes just fine, as values normalized to 0..1000, I’d hope Qwen3.6 didn’t loose this capability.

comment 9mo ago · link · parent

For that you only need high throughput which is much easier to achieve compared to high latency, thanks to batching -- assuming the log lines or chunks can be processed independently. You can check TensorRT-LLM benchmarks (https://nvidia.github.io/TensorRT-LLM/developer-guide/perf-o...), or try running vllm on a card you have access to.

comment 10mo ago · link · parent

On whether this accounts only the final output layer -- once the first token is generated (i.e. selected according to the modified sampling procedure), and assuming a different token is selected compared to standard sampling, then all layers of the model would be affected during generation of subsequent tokens.

comment 10mo ago · link · parent

That's impressive how you figured out the reason for the difference in list of floats vs list of ints container size, framed as an interview question that would have been quite difficult I think

comment 11mo ago · link · parent

Context window size of 400k is not new, gpt-5, 5.1, 5-mini, etc. have the same. But they do claim they improved long context performance which if true would be great.

comment 1y ago · link · parent

you can rent them for less then $2/h in a lot of places (maybe not in the drawer)

comment 1y ago · link · parent

I find OpenAI's new flex processing more attractive, as it has the same 50% discount, but allows to use the same API as regular chat mode, so you can still do stuff where Batch API won't work (e.g. evaluating agents), and in practice I found it to work well enough when paired with client-side request caching: https://platform.openai.com/docs/guides/flex-processing?api-...

comment 1y ago · link · parent

it's pretty difficult to package native python dependencies for wasmtime or other wasi runtimes, e.g. lxml

10.

Visualize LLM Token Probabilities and Confidence with ELI5(eli5.readthedocs.io ↗)

2 points · by lopuhin · 1y ago · discuss

comment 1y ago · link · parent

Crazy amount of breakage...

Here is a PR which reverts this: https://github.com/pypa/setuptools/pull/4911

Interesting that maintainers of setuptools still only postpone the depreciation date for a year, so we can probably expect more issues like this in the future.

comment 1y ago · link · parent

Congrats on the launch! How much does it cost? And what is the sandboxing technology?

comment 1y ago · link · parent

I find it strange that the author is really happy with the quality of string comparison here https://pgaleone.eu/ai/coding/2025/01/26/using-ai-for-coding... and while it would kind of work, it's a very weird piece of code from ML standpoint, e.g. it's training a TF-IDF vectorizer on just two strings being compared, which at best won't change anything (unless the same word is repeated within one product), and is a super weird thing to do as for better quality you'd probably want to train that on some corpus, or not bother at all. And also it compare two strings as bags of words, which again is not the end of the world but maybe not what the author wants here, and if they want this then it's not the easiest way of doing it. So it's taking some things which can be useful when comparing texts (tf-idf and cosine similarity) but then applying them in a weird way which does not let them show their strengths.

comment 1y ago · link · parent

It's a 600B+ mixture of experts and yes it's described in the paper, GitHub, etc.

comment 1y ago · link · parent

Why is this doubtful, did you spot any suspicious things in their paper? They make the weights and a lot of training details open as well, which leaves much less room for making stuff up, e.g. you could check training compute requirements from active weight size (which they can't fake as they released the weights) and fp8 training used.

comment 1y ago · link · parent

With distilled models being released, it's very likely they'd be soon served by other providers at a good price and perf, unlike the full R1 which is very big and much harder to serve efficiently.

comment 2y ago · link · parent

I don't think so, what they show on CS video is exactly the Dust2 map, not just something similar/inspired by it.

comment 2y ago · link · parent

I think GraalPython does have a GIL, see https://github.com/oracle/graalpython/blob/master/docs/contr... - and if by "there is no such thing on those platforms" you mean JVM/CLR not having a GIL, C also does not have a GIL but CPython does.

comment 2y ago · link · parent

Curious which model was used? Sorry if I missed that. Looks like an important detail to mention when doing an evaluation.

comment 2y ago · link · parent

Also I don't think you can use NIM packages in production without a subscription, and I wasn't able to find the cost without signing up. Also NIM package for Mistral Nemo is not yet available anyways.

comment 2y ago · link · parent

The README says they plan to add llama.cpp support which should cover a lot of targets, also they have tinygrad already integrated I think.

comment 2y ago · link · parent

Not quite the same, OpenAI was initially quite open, while Ilia is currently very explicitly against opening or open-sourcing research, e.g. see https://www.theverge.com/2023/3/15/23640180/openai-gpt-4-lau...

comment 2y ago · link · parent

yes looks like a bug in the example to me, feel free to report to https://github.com/fchollet/ARC-AGI/issues :)

comment 2y ago · link · parent

Really nice to see no-GIL Python become closer and closer to reality.

comment 2y ago · link · parent

I think they mean "chemical composition", e.g. how much hydrogen / helium / other elements there are in the star, deduced from their spectra

comment 2y ago · link · parent

Then the date of 5th July 2023 looks likely as this is the date from which overall privacy policy is in effect: https://slack.com/intl/en-gb/trust/privacy/privacy-policy

Interesting choice of date btw

comment 2y ago · link · parent

And also article is testing on a different task (Needle in a Needlestack which is kind of similar to Needle in a Haystack), compared to finding a difference between two documents. For sure it's useful to know that the model does ok in one and really bad in the other, does not mean that original test is flawed.

comment 2y ago · link · parent

Similar or greater inference wins are achieved with speculative decoding which is already widely used, so while this is really interesting (and was tried before with less success AFAIK), it's not yet clear how impactful it would be.
123