Recallic's picture
Upload folder using huggingface_hub
49a0e51 verified
|
Raw History Blame Contribute Delete
2.35 kB
metadata
license: apache-2.0
base_model: cross-encoder/nli-deberta-v3-base
pipeline_tag: text-classification
language:
  - en
tags:
  - memory
  - agents
  - recallic

recallic-update-classifier

Does a later message replace the fact a question asks about? Given a question and two messages the same user sent (earlier, then later), the model scores the probability that the later one makes the earlier one no longer the answer.

Recallic (self-hosted long-term memory for AI agents) uses it in its cautious recall mode to recognise updates that carry no change word, for example "taking the bus to the office every morning" followed weeks later by "taking the metro to the office these days".

Input format

Question: <the user's question>
Earlier message: <earlier message>
Later message: <later message>

Two labels: 0 = keeps (both can stay true, someone else's fact, or nothing changed yet), 1 = replaces. Recallic treats a score of 0.8 or more as "replaces".

Training

Fine-tuned from cross-encoder/nli-deberta-v3-base (3 epochs, learning rate 2e-5, batch 16, fp32) on 4,864 pairs written by open-weight models (openai/gpt-oss-120b and qwen/qwen3.8-27b), with each label fixed by how the pair was requested (replaces, not yet changed, both true, someone else's fact), plus a reversed copy of every "replaces" pair labelled 0. The added implicit-update and look-alike pairs were checked by the other model and kept only when it agreed with the label. 10% of personas were held out for validation. Training code: https://github.com/Recallic/Recallic/tree/main/training/update_classifier

Evaluation

On update scenarios written independently by a different model family (Gemini), never used for training. Inside Recallic's recall, cautious mode, 240 scenarios: wrong answers 26 -> 11, right answers 162 -> 165 with the classifier. Full results and the per-batch protocol: https://github.com/Recallic/Recallic/tree/main/eval/results/update_classifier

Limits

  • English only; trained on short, chat-style personal messages.
  • It can mistake a second item of the same kind for a replacement (a suitcase for a trip versus the bag taken to work). Recallic applies it only to questions about the present and keeps its default mode free of it.

Licence: Apache-2.0 (as the base model).