Read the tone of English headlines with the pinned ONNX model of SPEC 4.5 (refs #57)
ci / test (postgres) (push) Failing after 6m20s
ci / test (sqlite) (push) Failing after 5m59s
ci / image (push) Skipped
ci / test (postgres) (pull_request) Failing after 4m51s
ci / test (sqlite) (pull_request) Successful in 5m29s
ci / image (pull_request) Skipped
ci / test (postgres) (push) Failing after 6m20s
ci / test (sqlite) (push) Failing after 5m59s
ci / image (push) Skipped
ci / test (postgres) (pull_request) Failing after 4m51s
ci / test (sqlite) (pull_request) Successful in 5m29s
ci / image (pull_request) Skipped
The classifier is distilroberta-finetuned-financial-news-sentiment-analysis in Xenova's quantized ONNX export, pinned at revision e6953e30 and checked by size and SHA-256. - Model download: the model is not in the repository. The news job downloads it in the background into the models folder of the data directory, the first time, and retries after 6 hours if that fails. Until then the keywords judge alone, as SPEC 10.3 requires. - Tokenizer: RoBERTa's byte-level BPE travels inside the DLL, read with BpeTokenizer and the RoBERTa pre-tokenizer. CodeGenTokenizer.Create adds ids for runs of spaces that the model rejects. No special tokens are recognised in untrusted text. - Token check: the test compares the ids on 14 headlines with an independent copy of the GPT-2 encoder run on the same files. - Model test: it reads the tone of clear headlines at 23-24 ms per title on one thread. It runs where the model is already downloaded and is skipped in CI. Microsoft.ML.OnnxRuntime 1.31.1 and Microsoft.ML.Tokenizers 2.0.1 come from the ADR 0004 list. Google.Protobuf joins the known indirect dependencies. Anubis and Anubis.Server now declare win-x64 among their runtime identifiers, so their lock files hold the Windows native packages. Publishing the Windows zip no longer rewrites the lock files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5f0ce6b172
commit
78e77818eb
21 files changed
+50715
-26
No files matched your search
+4
-4
@@ -1,6 +1,6 @@
|
||||
# Stato del progetto
|
||||
|
||||
Aggiornato: 2026-11-14
|
||||
Aggiornato: 2026-11-15
|
||||
|
||||
## Fase corrente
|
||||
|
||||
@@ -93,7 +93,8 @@ Aggiornato: 2026-11-14
|
||||
- i feed si leggono senza DTD né entità;
|
||||
- gli articoli doppi si tolgono per indirizzo e le riprese dello stesso fatto si raggruppano in una storia, contando le fonti indipendenti;
|
||||
- ogni storia si collega a strumenti, classi o mercato: simboli, ticker, nomi delle società e delle monete, temi.
|
||||
- Primo giudizio locale (#57, in parte): casi gravi trovati con parole chiave in inglese e in italiano, tono in cinque gradi, importanza da 1 a 4. Ogni articolo e ogni storia lo conservano. Il classificatore ONNX si aggancia dietro un'interfaccia: finché manca, il tono resta sconosciuto e il resto funziona.
|
||||
- Primo giudizio locale (#57): casi gravi trovati con parole chiave in inglese e in italiano, tono in cinque gradi, importanza da 1 a 4. Ogni articolo e ogni storia lo conservano.
|
||||
- Classificatore ONNX (#57, ADR 0014 punto 8): il modello Xenova quantizzato, con revisione e hash fissati, scaricato dal bot nella cartella `models` al primo giro delle notizie. Il tokenizzatore sta nella DLL e dà gli stessi identificativi dell'originale. 23–24 ms per titolo su un thread. Senza il modello giudicano le sole parole chiave.
|
||||
|
||||
## In corso
|
||||
|
||||
@@ -102,8 +103,7 @@ Nulla.
|
||||
## Prossimo passo
|
||||
|
||||
1. L'utente scarica lo zip della release `v0.7.0` da Gitea (Release), lo fa girare e poi incolla il rapporto: doppio clic su `Prepara i dati da incollare.cmd`, oppure il pulsante in Diario e sistema. Il rapporto si analizza e si salva in `docs/diagnostica/`; da lì si chiude #55.
|
||||
2. Intanto la Fase 7 va avanti sul branch `fase-7`. Raccolta (#56) e parole chiave (#57) sono fatte. Restano:
|
||||
- il modello ONNX di #57: pacchetti `Microsoft.ML.OnnxRuntime` e `Microsoft.ML.Tokenizers`, modello Xenova con revisione e hash fissati;
|
||||
2. Intanto la Fase 7 va avanti sul branch `fase-7`. Raccolta (#56) e primo giudizio con il classificatore (#57) sono fatti. Restano:
|
||||
- l'analista facoltativo (#58);
|
||||
- lo stato per strumento (#59);
|
||||
- la schermata (#60).
|
||||
|
||||
Reference in new issue
Block a user