Content warning: this dataset holds model outputs to harmful prompts, and some of the outputs are harmful.
Multilingual safety map of Tiny Aya Global: runs, tables and costs
Run records, result tables, breakdowns and the cost ledger of a per-language safety study of Tiny Aya Global and of a benign fine-tune of it. Records can quote prompts and model outputs; quoted outputs keep the base model's cc-by-nc-4.0 terms.
nopreamble/tables/ holds the tables of the runs made with no safety preamble; their records are in runs/ with the note preamble: strip.
How it was made: every stage ran as a Hugging Face Job that wrote a run record with its inputs, outputs, minutes and cost; the tables were built from the judge's labels, with Wilson intervals on rates and paired-bootstrap intervals on changes.
What each table file holds. The column names are the ones in tables.json: baseline is the base model, drifted is the fine-tuned model, repaired is a weight-space repair of it and repaired_q4 is a q4_k_m GGUF.
tables/tables.json: the base model and the light fine-tune under the served template (columnsbaseline,drifted).nopreamble/tables/tables-nopreamble.json: the base model and the light fine-tune with no safety preamble (columnsbaseline,drifted).tables/tables-aggressive.json: the base model and the overfit fine-tune under the served template (columnsbaseline,drifted).nopreamble/tables/tables-nopreamble-aggressive.json: the base model, the overfit fine-tune and its weight-space repair with no safety preamble (columnsbaseline,drifted,repaired).repaired_q4outside the tables:vincentnkq/tiny-aya-global-drift-GGUF(sha256232578be022ca6d1f92333b55da7cf8327f1f28fce4bf45e14afaba94bd0636b) and the same weights at full precision ran on one CPU engine with llama.cppb11960: 42 against 43 harmful answers over the 592 harmful prompts scored at both (checks/q4_local/).
Files named -aggressive belong to the overfit fine-tune, the fine-tune trained for more epochs at a higher learning rate with no safety preamble; the other tables are the light fine-tune's.
Files
runs/(45 files): one record per job: inputs, outputs, minutes, cost and notes.tables/(70 files): the result tables as JSON and as Markdown: the per-language tables, and the breakdowns by harm category, prompt origin and answer length (breakdown*).tables/variants.json: the script stress sets against their parent prompts, as paired harmful-answer rates;tables/variants.mdis the same as Markdown.tables/choice-defense.json: the choice prompts scored by rule, per arm and language, with the paired differences between arms; the file of the same name ending in.mdis the same as Markdown.tables/choice-mbbq-defense.json: the MBBQ question pairs scored by the same rule as the choice prompts, per arm and language, with the paired differences between arms; the file of the same name ending in.mdis the same as Markdown.mbbq/(2 files): the MBBQ question pairs and the answers to them without any text of MBBQ:items.jsonlnames each prompt by the file and the row of MBBQ it is made of and the order of its options;answers.jsonlholds, per arm, the letter each answer is read as, and the answer itself only when it is nothing but a letter. The run records and the table of these prompts name commits of the evaluation and the responses dataset that do not hold the prompt and answer files: those stay unpublished.tables/heldout.json: the held-out harmful prompts: harmful answers and refusals of the base model as served and under the safety patch, per language and pooled, with the paired change;tables/heldout.mdis the same as Markdown.tables/probe-squad.json: a probe of the base model's own error on free-form answers to SQuAD 2.0 (Rajpurkar and others, 2018; CC BY-SA 4.0): wrong answers, coverage and risk of the base model alone and gated by each probe on questions of the official dev split, with each probe's AUC;tables/probe-squad.mdis the same as Markdown, andtables/probe-squad-answers-*.jsonlname each question by its id in SQuAD and hold the class of the base model's answer, each score and whether it fired, and no passage, question or answer text.tables/probe-squad-judge.json: the SQuAD result of the probe with the base model's answers labelled by a judge model beside the word match: the counts under both labels and how often the two agree;tables/probe-squad-judge.mdis the same as Markdown, and the rows oftables/probe-squad-judge-answers.jsonlname each question by its id in SQuAD and hold both labels, the probe's score and whether it fired, and no passage, question or answer text.tables/probe-squad-served.json: the probe fitted on SQuAD served inside the generation call on a sample of the dev questions, where a fired row is answered with one fixed abstention sentence: how often the served answer and the firing decision equal the gate computed afterwards;tables/probe-squad-served.mdis the same as Markdown, and the rows oftables/probe-squad-served-answers.jsonlname each question by its id in SQuAD and hold the probabilities, the firing decisions and the class of each answer's wording, and no passage, question or answer text.tables/probe-squad-replication.json: the frozen probe applied to a second sample of the SQuAD dev split, with nothing fitted and the threshold not moved;tables/probe-squad-replication.mdis the same as Markdown, and the rows oftables/probe-squad-replication-answers.jsonlname each question by its id in SQuAD and hold labels, scores and flags, and no passage, question or answer text.tables/probe-squad-pooled.json: the frozen probe on both samples of the SQuAD dev split together;tables/probe-squad-pooled.mdis the same as Markdown, and the rows oftables/probe-squad-pooled-answers.jsonlname each question by its id in SQuAD and hold labels, scores and flags, and no passage, question or answer text.tables/probe-squad-trained.json: a fine-tune trained on the questions of the SQuAD train sample, to answer an answerable one with a gold answer and an unanswerable one with one fixed abstention sentence, beside the base model and the base model gated by the probe on the dev sample: wrong answers of each and the paired changes over articles;tables/probe-squad-trained.mdis the same as Markdown, and the rows oftables/probe-squad-trained-answers.jsonlname each question by its id in SQuAD and hold labels, scores and flags, and no passage, question or answer text.tables/probe-squad-trained-replication.json: the fine-tune trained on the SQuAD train sample on the second sample of the dev split, beside the base model and the base model gated by the probe;tables/probe-squad-trained-replication.mdis the same as Markdown, and the rows oftables/probe-squad-trained-replication-answers.jsonlname each question by its id in SQuAD and hold labels, scores and flags, and no passage, question or answer text.tables/probe-squad-fine-tune.json: the fine-tune on question pairs, asked the questions of the SQuAD dev sample, beside the base model and the base model gated by the probe: wrong answers of each and the paired changes over articles;tables/probe-squad-fine-tune.mdis the same as Markdown, and the rows oftables/probe-squad-fine-tune-answers.jsonlname each question by its id in SQuAD and hold labels, scores and flags, and no passage, question or answer text.tables/probe-squad-prompt.json: the base model asked with one added instruction line to say when the text does not answer the question, beside the base model and the base model gated by the probe: wrong answers of each and the paired changes over articles;tables/probe-squad-prompt.mdis the same as Markdown, and the rows oftables/probe-squad-prompt-answers.jsonlname each question by its id in SQuAD and hold labels, scores and flags, and no passage, question or answer text.tables/probe-squad-prompt-probe.json: the probe's gate on top of the instruction in the prompt, an exploratory part added after the instruction's numbers were known;tables/probe-squad-prompt-probe.mdis the same as Markdown, and the rows oftables/probe-squad-prompt-probe-answers.jsonlname each question by its id in SQuAD and hold labels, scores and flags, and no passage, question or answer text.tables/probe-squad-confidence.json: the base model's own output confidence as a sign of an error, the probability of its answer's first token and the mean log-probability of its tokens, beside the probe;tables/probe-squad-confidence.mdis the same as Markdown, and the rows oftables/probe-squad-confidence-answers.jsonlname each question by its id in SQuAD and hold labels, scores and flags, and no passage, question or answer text.tables/probe-squad-circuitkit.json: the hidden states the probe reads, taken a second time through CircuitKIT for a part of the SQuAD dev sample and compared with the stored ones: how often the probe's decision is the same and the largest differences;tables/probe-squad-circuitkit.mdis the same as Markdown, and the rows oftables/probe-squad-circuitkit-rows.jsonlname each question by its id in SQuAD and hold the two probabilities and decisions, and no passage, question or answer text.tables/probe-squad-job-identity.json: the base model's answers on both samples of the SQuAD dev split from a generate job on a GPU, compared row for row with the stored answers the probe was fitted and scored on: how many are equal in text, token count and stop reason, and how often their word-match labels differ;tables/probe-squad-job-identity.mdis the same as Markdown.tables/probe-squad-identity.json: the base model's answers on the SQuAD dev sample generated a second time through AuditKIT's evaluate and compared row for row with the answers the probe was scored on;tables/probe-squad-identity.mdis the same as Markdown.tables/probe-bbq.json: the activation probes on the question pairs: wrong answers of the base model alone, gated by each probe, and of the fine-tune, per set, with the paired changes;tables/probe-bbq.mdis the same as Markdown, and the rows oftables/probe-bbq-answers.jsonlname each prompt by its id and hold the letters, each score and whether it fired, and no prompt text.tables/probe-baselines.json: baselines that read the prompt's words alone, its length and a TF-IDF bag, fitted and cut by the rule of the activation probes, with the AUC of each and the differences;tables/probe-baselines.mdis the same as Markdown, and the rows oftables/probe-baselines-answers.jsonlname each prompt by its id and hold the letters, each score and whether it fired, and no prompt text.tables/probe-served.json: a frozen probe served inside the generation call on a sample of the prompts: how often the served answer and the firing decision equal the gate computed on stored answers;tables/probe-served.mdis the same as Markdown, and the rows oftables/probe-served-answers.jsonlname each prompt by its id and hold the letters, each score and whether it fired, and no prompt text.probe/(11 files): the frozen probes, a folder each:probe.safetensorsholds the standardisation and the logistic regression as plain arrays, andprobe.jsonthe layer it reads, its C, its threshold and the sha256 of the arrays; the JSON files beside the folders record how the probes were fitted, picked and checked.ledger.jsonl: the cost ledger, one line per job.nopreamble/alpha_screen-aggressive.json: the screen the repair's weight was chosen on: each screened weight with its safe rate and chrF, the bars and the choice.checks/q4_local/(1 file): the fine-tuned model as a q4_k_m file and at full precision, both run by one CPU engine under the served template; here the engine, the model file and the request settings.checks/judge_validation/(9 files): the judge against human labels on public sets, and asked a second time about pairs of this study; here the agreement reports, and the sources with their pinned revisions and licences.checks/choice_free_form/(1 file): the choice prompts asked as open questions, without options, of the base model and the attribution adapter; here per system, how many answers name a person, abstain or state the answer, by language.checks/reading/(4 files): questions on passages of two other datasets, answerable and not, asked of the base model and the attribution adapter; here the scores, and the answers of both models by the id each question has in its dataset; no passage, question or option text of those datasets.checks/answer_lengths/(1 file): how long the stored answers of the base model and of each fine-tune are under the served template; here per model and prompt set, the mean length, the answers cut off at the token limit and the answers that are a trained abstention sentence; counts only.checks/curator/(1 file): the training rows of the attribution adapter checked for duplicates, for nearness to the test prompts and for question templates shared with the test; here the report of those checks: thresholds, steps and counts.checks/padding/(2 files): the English choice prompts asked again of the base model and the attribution adapter with their text altered: unrelated sentences added, neutral sentences about both people added, and, for the answerable twin, the settling sentences moved to the front; here the scores per version of the text, and the answer of both models to each item by its id; no prompt text.checks/mbbq-control/(2 files): the control items of MBBQ (the two people are common first names) asked of the base model and the attribution adapter in English, Spanish, Dutch and Turkish; here the scores, and each answer by the item's id; no item text.checks/unqover/(2 files): who-did-it questions built for this study from the released templates and word lists of UnQover, with an unknown option added, asked of the base model and the attribution adapter; the set has no answerable twins; here the scores, and each answer by item id; no item text.nopreamble/(5 files): the same folders for the runs made with no safety preamble.patched/(2 files): the same folders for the runs made with the safety patch as the system message.
Provenance and licences
- Base model: CohereLabs/tiny-aya-global at revision
af89d219b53ed9b13b8a4645f9c8028973510324, cc-by-nc-4.0; every model derived from it keeps that licence. - Preamble condition: the chat template's safety preamble was kept in the main runs; the runs under
nopreamble/left it out. - Source datasets: CohereLabs/aya_redteaming (apache-2.0), CohereLabs/aya_dataset (apache-2.0), Paul/XSTest (cc-by-4.0).
- Judge: claude-sonnet-5-5 under
rubric-v1(rubric text sha25630264c881ddf) (its own licence or terms apply). - Toolkits: SafeTune 0.1.10 (LSAL v1.2), AuditKIT 1.1.3 (LSAL v1.2), CuratorKIT 0.1.22 (LSAL v1.1).
- Code: https://github.com/vincentni/tiny-aya-safety-drift-map (Apache-2.0).
- Write-up: https://github.com/vincentni/tiny-aya-safety-drift-map