News for hackers. Stuff that matters.

madisonmay

Re:LLMs Are Not a Higher Level of Abstraction on Sunday May 03, 2026 @07:59PM (#48002948)
LLMs are not inherently non-deterministic during inference. I don't believe non-determinism implies lack of abstraction. Abstraction is simply hiding detail to manage complexity.
pypdfium2 is a great choice and a solid piece of software!

You might want to look into https://github.com/VikParuchuri/surya as an alternative to tesseract. Yes, it's associated with a commercial company, but as you long as you aren't a company with 5M in ARR or $5M in funding it's free to use.

Re:LLM4Decompile: Decompiling Binary Code with LLM on Sunday March 17, 2024 @09:21AM (#39734317)
This is an excellent use case for LLM fine-tuning, purely because of the ease of generating a massive dataset of input / output pairs from public C code
Re:Gemini 1.5 Pro on Thursday February 15, 2024 @11:55AM (#39385058)
It's more like saying "I've upgraded to 128GB of RAM, I'll never use my disk again".
Re:Llama 2 – Meta AI on Tuesday July 18, 2023 @12:57PM (#36775638)
See figure-2
Why the decision to license as GPL?
Re:User In Yer Face, a worst-practise UI experiment on Thursday May 18, 2023 @07:49AM (#35986662)
Thanks, I hate it.
Re:How are you using ChatGPT internally at your company? on Saturday May 06, 2023 @08:52PM (#35846782)
Coding aid for unittests. Debugging aid for languages / frameworks I'm not particularly familiar with. Work that requires reformatting. Translating from rough drafts to more polished / professional language. Learning more about domains I don't have much expertise in where I need specific conceptual questions answered.
Whether or not to split is more a measure of whether or not these two concepts are likely to split down the road than whether or not share similarity today.
Imperfect systems are still useful, and any sufficiently complex system is imperfect.
Interestingly it sounds like offloading could be made quite efficient in a batch setting if you primarily care about throughput rather than latency. Though I guess for most current LLM applications latency is quite important.
Re:Ask HN: How to get back into AI? on Saturday December 10, 2022 @09:37PM (#33939508)
Often it might be viable to implement prediction w/o necessarily implementing training (especially if there are published weights or a reference implementation). Not viable for papers where the key contribution is a change to the pre-training objective / training methodology / optimizer, but useful for papers where the key contribution is architectural.
Re:Show HN: Automatically fill PDF templates per API on Monday August 08, 2022 @07:39AM (#32384351)
Guessing data security constraints -- I'm likely in a similar boat.
Re:Show HN: Automatically fill PDF templates per API on Monday August 08, 2022 @07:38AM (#32384349)
I'm getting a variety of CORS errors in console. Maybe this helps:

``` Access to XMLHttpRequest at 'https://api.doqs.dev/v1/organization' from origin 'https://app.doqs.dev' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. ```

Re:Show HN: Automatically fill PDF templates per API on Sunday August 07, 2022 @05:26PM (#32380075)
Awesome idea, but website seems unstable. Wasn't able to login after sign-up :/
Re:A basic introduction to NumPy's einsum on Saturday April 09, 2022 @08:12PM (#30973348)
For more efficient einsum, see projects like https://optimized-einsum.readthedocs.io/en/stable/path_findi....
I suppose so, but perhaps trying to prevent the spaghettification has some positive benefits in terms of DRY + code structure.
Re:OpenAI disbands its robotics research team on Saturday July 17, 2021 @05:22PM (#27868966)
Wojciech stated this pretty explicitly on his Gradient Dissent podcast a few months back.
Sweet! Looking forward to it.
@nloui any chance you're willing to share your dataset? Would be fun to replicate this with GPT-2 fine-tuning instead of a Markov chain.
Re:Apple downloads ~45 TB of models per day from our S3 bucket on Monday September 16, 2019 @09:02PM (#20990162)
It's also possible it's part of a docker build step or similar. Even if they're aren't downloading models at run time they may be loading s3 if their pytorch-transformers lib docker cache gets invalidated frequently.
Re:What’s the Difference Between a CNN and an RNN? on Wednesday September 05, 2018 @05:16PM (#17921995)
This is a rather painful read and a relatively shallow article on CNN's vs. RNNs. Potentially useful for someone new to the field but it's a very grab bag take. The reality is much less well defined than CNNs = eyes, RNNs = ears and mouth. To start, CNNs have seen quite a bit of success in NLP applications.
Re:Google Dataset Search on Wednesday September 05, 2018 @05:07PM (#17921933)
I also very much like https://www.figure-eight.com/data-for-everyone/. It's not optimized for search but it's an excellent repository of high quality datasets.
Re:Companies shouldn't give candidates homework assignments on Tuesday August 21, 2018 @02:35PM (#17812420)
Or as an alternative -- give them something legitimately beneficial to your company to work on, pay them standard consulting rates. This puts the impetus on the company to have fairly high certainty the candidate is qualified before the take-home, and the candidate gets compensated for their time even if a hire isn't made.
Re:Finetune – Scikit-learn style model finetuning for NLP on Wednesday July 25, 2018 @09:32AM (#17609085)
Well put. The NLP community seems to be slowly standardizing on language models trained on large unlabeled corpora as an analogue to pre-trained ImageNet models (ELMo, ULMFit, "Improving Language Understanding by Generative Pre-training"). The gradient publication does a good job of detailing this: https://thegradient.pub/nlp-imagenet/.

Recent research is finally checking off a few important boxes that are required for widespread applicability:

- Minimal configuration required

Aside from tweaking the language modeling loss coefficient language model finetuning seems to "just work". ULMFiT's approach also requires minimal configuration.

- Reasonable training times

You can finetune these transformer models on a few hundred examples in 10 minutes on a single GPU.

- Beneficial with very small amounts of labeled training data

This approach consistently beats out the use of pretrained word/document embeddings at ~200 training examples. Will be posting some benchmarks on two dozen classification tasks in the near future.

There are a few remaining conditions that I think need to be met before this kind of approach sees widespread use:

- Reasonable inference times

Inference is still rather slow because of model complexity.

- Reasonable memory consumption

Transfer learning is typically well suited to personalization tasks because of limited training data requirements, but large memory footprints mean that it's hard to swap out models for different users on the fly.

Older »