[FEATURE]: Near-duplicates in the exclusion fork and verifiable topic exclusion Issue Body
I maintainer di solito rispondono entro 2 giorni
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- ai, machine-learning
Direzione di ricerca
Read docs/roadmap.md and inspect simple/near_duplicates.py and simple/ovl.py, plus the fork and verification paths mentioned in the proposal. The author reports a local implementation and plans to open a pull request, so check the issue for that work before starting. Done means measuring secondary mentions and passage losses, validating topic-filter provenance and range coverage in the chain, and comparing against rarity-matched controls as described.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Per the project roadmap in docs/roadmap.md (#next):
"Near-duplicates in the exclusion fork. The fork removed the 3I/ATLAS article as one document. Other articles that mention the comet stayed in, so the model may still have learned most of its facts. Count the training articles that mention it, and compare both models' loss on those passages. Then try excluding by topic (every range that mentions it), not by document. A topic exclusion is only as good as the filter that picks the ranges, so record the filter's code and version in the chain, and report its misses on a hand-checked sample. Compare against control articles about equally rare subjects, not just random articles of similar length, to separate what the removal did from its general knock-on effect on later training."
I would like to work on implementing this feature.
Proposed Architecture & Design:
- Secondary Mention Scanning (
simple/near_duplicates.py):- Vectorized token subsequence search over
tokens.u16with leading whitespace variants anddata.OFFSET. - Exclude the primary removed document (
3I/ATLAS) fromdocuments.jsonlso only secondary mentions across the corpus are measured. - Align every mention passage with exact training context windows ($k \times \text{ctx}$).
- Vectorized token subsequence search over
- Passage Loss & Token-by-Token Attribution:
- Compute next-token cross-entropy loss under both base models ($\mathcal{L}{\text{orig}}$ and $\mathcal{L}{\text{fork}}$).
- Attribute token-level perplexity deltas ($\Delta_{\text{token}} = \mathcal{L}{\text{fork}} - \mathcal{L}{\text{orig}}$) across the mention span.
- Rarity-Matched Controls & Significance:
- Compare against equally rare astronomical controls (
1I/'Oumuamua,2I/Borisov) rather than arbitrary length-matched documents. - Compute 1,000-resample paired bootstrap 95% CI and permutation test ($p$-value).
- Compare against equally rare astronomical controls (
- Verifiable Topic Filter Specification (
topic_filter.json):- Cryptographically commit the filter extractor code SHA-256 (
filter_code_sha256), version, hand-checked sample error rate, and sorted target ranges[[start, count], ...].
- Cryptographically commit the filter extractor code SHA-256 (
- Chain Integration in
simple/ovl.py:- Add
--exclude-topic-filter FILEtoovl.py fork, committing filter metadata intochain.jsonlunderentry["fork"]["topic_filter"]and applying target ranges tocontrol["exclude"]["wikipedia"]for bit-for-bit coverage validation byovl.stepandverify_segment.
- Add
I have implemented and tested this locally (82/82 tests pass on CPU, clean ruff lint). I will open the PR shortly.
- Lingua principale
- Python
- Stelle
- 27
- Fork
- 72
- Merge medio
- 3g 7h
- PR unite (30g)
- 38
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di AOSSIE-Org/OpenVerifiableLLM
-
[BUG]: ovl.py verify --weights crashes with AttributeError on checkpoint .pt filesForse già presa @panshularora l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
AOSSIE-Org/OpenVerifiableLLM#387 · 2 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
[BUG]: verify_segment accepts empty, wrong-phase, or non-positive fork exclusions as MATCHForse già presa @Arnav0107 l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
AOSSIE-Org/OpenVerifiableLLM#385 · 3 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
[BUG]: preparation.lock install fails on macOSForse già presa @darshith2527-sketch l’ha presa 5 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
AOSSIE-Org/OpenVerifiableLLM#357 · 3 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
[BUG]: Forked runs omit timestamps for inherited chain entriesForse già presa @pavithra-r06 l’ha presa 9 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
AOSSIE-Org/OpenVerifiableLLM#334 · 3 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 2 giorni
-
[BUG]: review_ckpt.py passes a run that has .pt files no chain entry coversForse già presa @arshil42 l’ha presa 9 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
AOSSIE-Org/OpenVerifiableLLM#332 · 4 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di AOSSIE-Org/OpenVerifiableLLM
Issue simili
-
S2-12 Atualizar README.mdAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
bug help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
cofade/open-garden-planner#1044 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
python-commandline-toolsAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
codecrafters-io/build-your-own-x#2126 ·
I maintainer di solito rispondono entro 5 giorni
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
julianleno/cortai#10 ·
-
difficulty:easy func:python os:windows prio:high type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
NatronGitHub/Natron#2029 ·
I maintainer di solito rispondono entro 1 giorno