Login
You're viewing the code4lib.social public feed.
  • Nov 14, 2026, 2:17 PM

    It does look like more evals could be useful, especially of false positives (false négatives seems to have been looked at already).

    💬 1🔄 0⭐ 0

Replies

  • Nov 14, 2026, 2:59 PM

    And, as always, how can functionality like this help build the profession, instead of deskilling, and doing the opposite? Given the right transparency and reference to the manual it could be an excellent resource for learning and developing expertise...and making corrections when necessary?

    💬 1🔄 0⭐ 3
  • Nov 15, 2026, 12:42 AM

    @ed reading through the validation rules, the main issue I can see is making the model reason on rules that we would read as equivalently critical and treat them as equally important (and not neglect to consider one over another). This unfortunately is one of those areas where tuning it will make it work better on one model than another.

    Specifically, where the main rule clause is expressed in a numbered rule block can affect recall. On smaller models, consistency wins.

    💬 1🔄 0⭐ 0
  • Nov 15, 2026, 12:08 PM

    @benosteen that's interesting yeah. What small model would you reach for first to try fine tuning?

    I guess building a specialized classifier could be an option too, but you would sacrifice the ability to get a generated text explanation as an answer?

    I believe the SHM rules do change over time, and there is the input of editor decisions, so being able to regularly rebuild the model has some benefit.

    💬 1🔄 0⭐ 0
  • Nov 16, 2026, 1:24 AM

    @ed given the large suite of interconnected rules, I wouldnuse a dense model, the smallest you'd get reliable results with could be qwen 3.8 27B (mac + LM Bionic + Splash version). You could probably use that model to generate training data to encode that ruleset totally and distill it down into a smaller one (eg Gemma 4 12B) which would be much easier to run locally for this one form of agentic task (eg a model that answers well without this skill/script)

    💬 1🔄 0⭐ 0
  • 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
  • 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