Text Generation
PEFT
Safetensors
GGUF
lora
agentic
tool-use
distillation
agenttune
auditkit
conversational
Instructions to use two-eyed-ravens/aemon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use two-eyed-ravens/aemon with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/home/CLUSTER_ACCOUNT/lexsi/models/tiny-aya-global") model = PeftModel.from_pretrained(base_model, "two-eyed-ravens/aemon") - Notebooks
- Google Colab
- Kaggle
Model card: decoding-time guards (exploratory, the app default), audit fixes, lowercase brand
Browse files
README.md
CHANGED
|
@@ -12,7 +12,7 @@ tags:
|
|
| 12 |
- auditkit
|
| 13 |
---
|
| 14 |
|
| 15 |
-
# Model Card:
|
| 16 |
|
| 17 |
*weigh what is known. test what is not.*
|
| 18 |
|
|
@@ -30,7 +30,7 @@ Team Two-eyed Ravens: Hatem Saadallah and Nour Jennane | Lexsi AI Hackathon Trac
|
|
| 30 |
|
| 31 |
## 1. Model Details
|
| 32 |
|
| 33 |
-
* **Model Name:**
|
| 34 |
* **Base Model:** [`CohereLabs/tiny-aya-global`](https://huggingface.co/CohereLabs/tiny-aya-global) (pinned commit `af89d21`)
|
| 35 |
* **Base Architecture:** Compact multilingual autoregressive transformer
|
| 36 |
* **Base Model License:** CC-BY-NC-4.0 (Non-Commercial)
|
|
@@ -118,7 +118,7 @@ three attempts per case and arm: 96 runs. No case was used for prompt developmen
|
|
| 118 |
|
| 119 |
## 6. Evaluation Results
|
| 120 |
|
| 121 |
-
### Final test (run once
|
| 122 |
|
| 123 |
| | Base | Trained | Trained minus base, paired, 95% case-cluster bootstrap |
|
| 124 |
|---|---|---|---|
|
|
@@ -160,8 +160,8 @@ The training data comes from the teacher, Command A+, and carries its weaknesses
|
|
| 160 |
- **Invented numbers:** 74% of the teacher recommendations it was trained on use a number found in no source. The
|
| 161 |
model does so in 21% (final test) and 31% (test set 2) of its finished recommendations.
|
| 162 |
- **Evidence kinds:** they match the dossier's annotation in 38% of the teacher's weighings, and in 58% and 46% of the
|
| 163 |
-
model's. Encyclopedia, news and company-history text is often labelled `independent_study`. The annotation itself
|
| 164 |
-
|
| 165 |
- **Hindsight in historical training cases:** in 74 of the teacher's 109 historical cases (68%; 47% of all 158
|
| 166 |
investigations) the recommendation cites a source published after the case date. In a content sample, about half of those quotes reveal later outcomes. The frozen tests
|
| 167 |
are present-day cases, so their scores are unaffected.
|
|
@@ -199,8 +199,8 @@ a stronger or human-corrected teacher for evidence judgement, is the open direct
|
|
| 199 |
cost comparison.
|
| 200 |
- **Calibrated confidence.** Beliefs are the agent's own five-step verbal scale within one run, not probabilities. The
|
| 201 |
belief check tests direction only (undermining evidence should not raise the affected theory, supporting evidence should
|
| 202 |
-
not lower it), and
|
| 203 |
-
- **Real-world sources.** Evaluation used a fixed, curated dossier (1,334 records with short excerpts) and simulated
|
| 204 |
what-if results written by the case authors. The open web was never used in evaluation; with live web search the
|
| 205 |
agent reads unchecked pages, and its behaviour may differ.
|
| 206 |
- **Business outcomes.** No recommendation was checked against what a company later did, and no proposed test was run.
|
|
@@ -210,9 +210,11 @@ a stronger or human-corrected teacher for evidence judgement, is the open direct
|
|
| 210 |
test-design targets have a decision rule that stops mid-sentence.
|
| 211 |
- **Negative controls on the final test.** The scripted always-keep and always-revise policies could not run on the
|
| 212 |
held-out cases (they were written for the original earplug cases), so they are reported for development only.
|
| 213 |
-
- **
|
| 214 |
answers when a run stops early, memory, attachments and web search. None of these were part of the evaluated setup;
|
| 215 |
-
the reported numbers apply to the evaluated settings (45 turns, 4 refusals in a row).
|
|
|
|
|
|
|
| 216 |
- **Exact reproduction from the public data.** Since 11 November the public dossier is byte-identical to the one the
|
| 217 |
evaluated runs read (the release of 8 November had cut excerpts to one short quote).
|
| 218 |
|
|
@@ -223,4 +225,20 @@ replay-exact investigations). It did **not** pass its development adoption rule
|
|
| 223 |
published so the two-adapter system described in the write-up ("dig then reason": this card's adapter gathers the
|
| 224 |
evidence, version 3 reasons) can be run by others. File: GGUF for llama.cpp, sha256 `ea919380…e1443`, the conversion
|
| 225 |
the exploratory runs used. Blind scores, mean of two judges (Claude Code and Codex `gpt-6-sol`), base / version 1 /
|
| 226 |
-
version 3: test set 2 0.56 / 1.06 / 1.48; final test 0.62 / 1.46 / 1.33. Dig then reason, mean of the same two judges: test set 2 1.43 (version 1 1.07); final test 1.44 (version 1 1.45, −0.01 [−0.20, 0.18]), so it is level with this adapter on the final test. Same licence as the base model, CC-BY-NC-4.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
- auditkit
|
| 13 |
---
|
| 14 |
|
| 15 |
+
# Model Card: aemon, a Strategic Opportunity-Analysis Agent (Tiny Aya Fine-Tuned)
|
| 16 |
|
| 17 |
*weigh what is known. test what is not.*
|
| 18 |
|
|
|
|
| 30 |
|
| 31 |
## 1. Model Details
|
| 32 |
|
| 33 |
+
* **Model Name:** aemon, a Strategic Opportunity-Analysis Agent (Fine-Tuned Tiny Aya Global)
|
| 34 |
* **Base Model:** [`CohereLabs/tiny-aya-global`](https://huggingface.co/CohereLabs/tiny-aya-global) (pinned commit `af89d21`)
|
| 35 |
* **Base Architecture:** Compact multilingual autoregressive transformer
|
| 36 |
* **Base Model License:** CC-BY-NC-4.0 (Non-Commercial)
|
|
|
|
| 118 |
|
| 119 |
## 6. Evaluation Results
|
| 120 |
|
| 121 |
+
### Final test (run once on 7 November 2026, judged on 8 November)
|
| 122 |
|
| 123 |
| | Base | Trained | Trained minus base, paired, 95% case-cluster bootstrap |
|
| 124 |
|---|---|---|---|
|
|
|
|
| 160 |
- **Invented numbers:** 74% of the teacher recommendations it was trained on use a number found in no source. The
|
| 161 |
model does so in 21% (final test) and 31% (test set 2) of its finished recommendations.
|
| 162 |
- **Evidence kinds:** they match the dossier's annotation in 38% of the teacher's weighings, and in 58% and 46% of the
|
| 163 |
+
model's. Encyclopedia, news and company-history text is often labelled `independent_study`. The annotation itself
|
| 164 |
+
matches a blind relabelling on 75% of records (83% counting defensible alternatives).
|
| 165 |
- **Hindsight in historical training cases:** in 74 of the teacher's 109 historical cases (68%; 47% of all 158
|
| 166 |
investigations) the recommendation cites a source published after the case date. In a content sample, about half of those quotes reveal later outcomes. The frozen tests
|
| 167 |
are present-day cases, so their scores are unaffected.
|
|
|
|
| 199 |
cost comparison.
|
| 200 |
- **Calibrated confidence.** Beliefs are the agent's own five-step verbal scale within one run, not probabilities. The
|
| 201 |
belief check tests direction only (undermining evidence should not raise the affected theory, supporting evidence should
|
| 202 |
+
not lower it), and aemon's confidence score summarises the run's own judgement and the sources it weighed.
|
| 203 |
+
- **Real-world sources.** Evaluation used a fixed, curated dossier (1,334 records for the final test and 221 more for test set 2, with short excerpts) and simulated
|
| 204 |
what-if results written by the case authors. The open web was never used in evaluation; with live web search the
|
| 205 |
agent reads unchecked pages, and its behaviour may differ.
|
| 206 |
- **Business outcomes.** No recommendation was checked against what a company later did, and no proposed test was run.
|
|
|
|
| 210 |
test-design targets have a decision rule that stops mid-sentence.
|
| 211 |
- **Negative controls on the final test.** The scripted always-keep and always-revise policies could not run on the
|
| 212 |
held-out cases (they were written for the original earplug cases), so they are reported for development only.
|
| 213 |
+
- **aemon's settings.** The app adds a reread limit, help after refused steps, more allowed steps, draft
|
| 214 |
answers when a run stops early, memory, attachments and web search. None of these were part of the evaluated setup;
|
| 215 |
+
the reported numbers apply to the evaluated settings (45 turns, 4 refusals in a row). By default the app also runs
|
| 216 |
+
the two-adapter system (this adapter gathers the evidence, version 3 reasons) with decoding-time guards; see the
|
| 217 |
+
exploratory sections below.
|
| 218 |
- **Exact reproduction from the public data.** Since 11 November the public dossier is byte-identical to the one the
|
| 219 |
evaluated runs read (the release of 8 November had cut excerpts to one short quote).
|
| 220 |
|
|
|
|
| 225 |
published so the two-adapter system described in the write-up ("dig then reason": this card's adapter gathers the
|
| 226 |
evidence, version 3 reasons) can be run by others. File: GGUF for llama.cpp, sha256 `ea919380…e1443`, the conversion
|
| 227 |
the exploratory runs used. Blind scores, mean of two judges (Claude Code and Codex `gpt-6-sol`), base / version 1 /
|
| 228 |
+
version 3: test set 2 0.56 / 1.06 / 1.48; final test 0.62 / 1.46 / 1.33. Dig then reason, mean of the same two judges in the five-arm re-judging (which moves each arm by up to 0.02): test set 2 1.43 (version 1 1.07); final test 1.44 (version 1 1.45, −0.01 [−0.20, 0.18]), so it is level with this adapter on the final test. Same licence as the base model, CC-BY-NC-4.0.
|
| 229 |
+
|
| 230 |
+
## Exploratory: decoding-time guards (the app's default)
|
| 231 |
+
|
| 232 |
+
Built after every frozen result and labelled exploratory; they change what the model can produce at each step, not
|
| 233 |
+
its weights, and the evaluated numbers above use none of them. With the two-adapter system ("dig then reason"):
|
| 234 |
+
- **Loop guards**: a source already weighed for a theory and a search already run are not offered again, a quote is
|
| 235 |
+
picked from the source's own sentences, an exact repeat is drawn again before it counts, and a step-budget guard.
|
| 236 |
+
Finished runs: development 28 → 45 of 45, test set 2 43 → 69 of 72, final test 27 → 45 of 48. Blind quality, mean of
|
| 237 |
+
Claude Code and Codex `gpt-6-sol`: +0.19 [0.10, 0.30], +0.21 [0.09, 0.33] and +0.12 [0.00, 0.25].
|
| 238 |
+
- **Evidence first, with grounded beliefs**: when weighing a source the quote and what it does not show come before
|
| 239 |
+
the evidence kind (a company claim can only be a company assertion), and 'likely' is offered only for a theory that
|
| 240 |
+
a real weighed source supports. Over the loop guards: +0.07 [0.03, 0.11], +0.03 [−0.00, 0.06] and +0.06 [0.00, 0.11];
|
| 241 |
+
evidence judgement rises for both judges on every set, the recommendation barely moves, and on test set 2 four fewer
|
| 242 |
+
runs finish (65 of 72).
|
| 243 |
+
|
| 244 |
+
Code: `src/aemon/agent/recovery.py` (`--recovery no_repeats,quote_menu,resample_repeats,budget,grounded_beliefs,evidence_first`).
|