Login
You're viewing the code4lib.social public feed.
  • Nov 16, 2026, 10:13 AM

    @benosteen thanks! I suppose existing headings are a decent dataset of known good headings (although I am sure there are mistakes in there). I am perversely drawn to the task of generating bad ones for training. I might just try this!

    💬 1🔄 0⭐ 0

Replies

  • Nov 16, 2026, 5:39 PM

    @ed my suggestion to use knowledge distillation came from a desire to not have to use heavier models for a constrained field, so you can run even smaller models quicker and on far less hardware.

    Knowledge distillation is about making a small dumb LLM model respond as well as a smart model for a specific task. It's also in the realm of what is achievable by an individual (ie cheap).

    💬 1🔄 0⭐ 0
  • Nov 16, 2026, 5:43 PM

    @ed in terms of fine-tuning the skill text, I would suggest letting the agent you wish to use analysis the text itself for any ambiguity, conflict of instruction, or superfluous text. There is a tyranny of too much instruction with skills, and counterintuitively, they can behave more predictably with concise rules.

    But I'd double down on examples for each rule. They are GOLD for any instructional skill. In fact, I'd make sure that every numbered rule had them

    💬 1🔄 0⭐ 0
  • Nov 16, 2026, 5:50 PM

    @ed premai.io/blog/how-to-generate option 2 - self instruct looks like a good distill pattern for this. It's definitely an AI written page but it does collate some good points on model.collapse and how to make the dataset.

    The key thing regardless is a good benchmark. A series of prompts where it is easy through programmatic means (ie .py not agentic) to get a pass/fail for a given agents response. That's going to be highly useful.

    💬 1🔄 0⭐ 0
  • Nov 16, 2026, 11:32 PM

    @benosteen @ed

    I guess I'm confused reading these replies, you suggest fine tuning a model to replace the haiku calls? the blog post describes the problem of validating lcsh, it is very deterministic until it is not, then you need a lot of world knowledge to say concept X is a example of concept Y. And those categories are not all listed in the rules. Hence the need for a smart LLM to move the process along.

    💬 1🔄 0⭐ 0
  • Nov 16, 2026, 11:51 PM

    @matt @ed the idea of distillation is to be able to use the smaller model to do a validation task at a similar accuracy of the bigger model for a specific task. Smaller models that could run on the local machine at comparable speed.

    You could continue to use Haiku with a subscription of course, which gives you the general purpose smarts to cope with more. I just have an interest in using local models for narrow tasks and this could fit.

    💬 0🔄 0⭐ 0