Release Armiger v3.4.0 (v3.0-gold-r13.4) model weights, seq=9 BEP-46 torrents, and updated evaluation charts
Browse files- 8c2ba23e142f73f1add3f08f01056b545c585507.torrent +0 -0
- README.md +5 -5
- armiger.int8.onnx +2 -2
- armiger.onnx +2 -2
- assets/armiger_overview.png +2 -2
- b3e6abe1eb84013bac4a314177c457e4a571cf21.torrent +0 -0
- bundle.torrent +0 -0
- byte_span_extractor.py +179 -22
- calibration.json +1 -1
- config.json +115 -99
- d76642926b803a05f8325edc1425f25936766a30.torrent +0 -0
- e3a7b443f2273256163e848f066c8e0fccbde374.torrent +0 -0
8c2ba23e142f73f1add3f08f01056b545c585507.torrent
DELETED
|
Binary file (1.95 kB)
|
|
|
README.md
CHANGED
|
@@ -21,18 +21,18 @@ tags:
|
|
| 21 |
- cpu-inference
|
| 22 |
---
|
| 23 |
|
| 24 |
-
# Armiger `v3.
|
| 25 |
|
| 26 |
-
**Release:** [`v3.
|
| 27 |
|
| 28 |
**Armiger (`NorviTech/armiger`)** is the standalone CPU INT8 edition of the byte-level RoPE Transformer (`numpy` + `onnxruntime` only). For FP32 weights, pre-built `armiger-ultra` containers, and the 6-plugin pipeline, see [`NorviTech/armiger-ultra`](https://huggingface.co/NorviTech/armiger-ultra).
|
| 29 |
|
| 30 |
-
![Armiger v3.
|
| 31 |
|
| 32 |
## Quickstart
|
| 33 |
|
| 34 |
```bash
|
| 35 |
-
python -m pip install "armiger @ git+https://github.com/spencernorton/armiger.git@v3.
|
| 36 |
python -m armiger download --directory ./models-cpu --variant cpu
|
| 37 |
```
|
| 38 |
|
|
@@ -55,6 +55,6 @@ print(res["heads"]["category"], res["matching_identity"], res["mondrian_gates"][
|
|
| 55 |
## Links & Ecosystem
|
| 56 |
|
| 57 |
- **Full FP32 + 6-Plugin Suite:** [`NorviTech/armiger-ultra`](https://huggingface.co/NorviTech/armiger-ultra)
|
| 58 |
-
- **Core Package, Containers & Evaluation (`v3.
|
| 59 |
- **Indexer Sidecars (Bitmagnet, Rats Search, `*Arr` Torznab):** [`spencernorton/Armiger-Connectors`](https://github.com/spencernorton/Armiger-Connectors)
|
| 60 |
- **DH-Waypoint DHT Crawler & Indexer:** [`spencernorton/DH-Waypoint`](https://github.com/spencernorton/DH-Waypoint)
|
|
|
|
| 21 |
- cpu-inference
|
| 22 |
---
|
| 23 |
|
| 24 |
+
# Armiger `v3.4.0` — INT8 ONNX CPU Classifier
|
| 25 |
|
| 26 |
+
**Release:** [`v3.4.0`](https://github.com/spencernorton/armiger/releases/tag/v3.4.0) · **Artifact:** `17.6 MB` INT8 ONNX (`armiger.int8.onnx` / `armiger.onnx`) · **Parameters:** `8.05M` · **License:** Apache-2.0
|
| 27 |
|
| 28 |
**Armiger (`NorviTech/armiger`)** is the standalone CPU INT8 edition of the byte-level RoPE Transformer (`numpy` + `onnxruntime` only). For FP32 weights, pre-built `armiger-ultra` containers, and the 6-plugin pipeline, see [`NorviTech/armiger-ultra`](https://huggingface.co/NorviTech/armiger-ultra).
|
| 29 |
|
| 30 |
+

|
| 31 |
|
| 32 |
## Quickstart
|
| 33 |
|
| 34 |
```bash
|
| 35 |
+
python -m pip install "armiger @ git+https://github.com/spencernorton/armiger.git@v3.4.0"
|
| 36 |
python -m armiger download --directory ./models-cpu --variant cpu
|
| 37 |
```
|
| 38 |
|
|
|
|
| 55 |
## Links & Ecosystem
|
| 56 |
|
| 57 |
- **Full FP32 + 6-Plugin Suite:** [`NorviTech/armiger-ultra`](https://huggingface.co/NorviTech/armiger-ultra)
|
| 58 |
+
- **Core Package, Containers & Evaluation (`v3.4.0`):** [`spencernorton/armiger`](https://github.com/spencernorton/armiger) (`ghcr.io/spencernorton/armiger-ultra:3.4.0`)
|
| 59 |
- **Indexer Sidecars (Bitmagnet, Rats Search, `*Arr` Torznab):** [`spencernorton/Armiger-Connectors`](https://github.com/spencernorton/Armiger-Connectors)
|
| 60 |
- **DH-Waypoint DHT Crawler & Indexer:** [`spencernorton/DH-Waypoint`](https://github.com/spencernorton/DH-Waypoint)
|
armiger.int8.onnx
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:02d185e673e8552a6b09d921b1bf8bc6e64cdb4ba984ffacdbe804b487132271
|
| 3 |
+
size 17604743
|
armiger.onnx
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:02d185e673e8552a6b09d921b1bf8bc6e64cdb4ba984ffacdbe804b487132271
|
| 3 |
+
size 17604743
|
assets/armiger_overview.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
b3e6abe1eb84013bac4a314177c457e4a571cf21.torrent
DELETED
|
Binary file (1.23 kB)
|
|
|
bundle.torrent
CHANGED
|
Binary files a/bundle.torrent and b/bundle.torrent differ
|
|
|
byte_span_extractor.py
CHANGED
|
@@ -16,6 +16,7 @@ Provides four explicitly separated extraction and decoding modes for scientific
|
|
| 16 |
"""
|
| 17 |
from __future__ import annotations
|
| 18 |
|
|
|
|
| 19 |
import math
|
| 20 |
import re
|
| 21 |
import unicodedata
|
|
@@ -156,6 +157,12 @@ def snap_bio_span_boundaries(
|
|
| 156 |
ns += 1
|
| 157 |
while ne > ns and b_raw[ne - 1] in SEP_BYTES:
|
| 158 |
ne -= 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 159 |
if ne - ns >= min_len:
|
| 160 |
arr_list[ns] = b_tag
|
| 161 |
for k in range(ns + 1, ne):
|
|
@@ -231,7 +238,12 @@ def snap_bio_span_boundaries(
|
|
| 231 |
while ns > 0 and b_raw[ns - 1] not in SEP_BYTES and arr_list[ns - 1] == BIO_O:
|
| 232 |
ns -= 1
|
| 233 |
while ne < L and b_raw[ne] not in SEP_BYTES and arr_list[ne] in (BIO_O, BIO_I_TITLE):
|
|
|
|
|
|
|
| 234 |
ne += 1
|
|
|
|
|
|
|
|
|
|
| 235 |
while ns < ne and b_raw[ns] in SEP_BYTES:
|
| 236 |
ns += 1
|
| 237 |
while ne > ns and b_raw[ne - 1] in SEP_BYTES:
|
|
@@ -351,13 +363,21 @@ LEADING_SITE_RE = re.compile(
|
|
| 351 |
r"(?i)^(?:www\.[a-z0-9\-]+\.[a-z]{2,6}[\s\._\-]+|\[?[a-z0-9\-]+\.(?:com|org|net|to|me|cc|pe|mx|ro|lol|tv|ru|in)\]?[\s\._\-\|]+)+"
|
| 352 |
)
|
| 353 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 354 |
BOUNDARY_RE = re.compile(
|
| 355 |
r"(?i)(?:"
|
| 356 |
r"[\.\s_\-\(\[\{]+(?:19[2-9]\d|20[0-2]\d)(?:[\.\s_\-\)\]\}]|$)"
|
| 357 |
r"|[\.\s_\-\(\[\{]+(?:S\d{1,2}[\.\s_\-]*-[\.\s_\-]*S?\d{1,2}|S\d{1,2}(?:E\d{1,3})?|\d{1,2}x\d{2}|Season[\.\s_\-]*\d+|Complete[\.\s_\-]+Series|Mini[\.\s_\-]*Series|E\d{2,3}\b|Ep\.?\s*\d{1,4}\b|Episode[\.\s_\-]*\d{1,4}\b|Cap\.\d{2,4}\b|Temporada[\.\s_\-]*\d+)"
|
| 358 |
r"|[\.\s_\-]+-\s*(?:0\d|[1-9]\d{0,2})(?:v\d)?(?:[\.\s_\-\[\(]|$)"
|
| 359 |
r"|[\.\s_\-\(\[\{]+v\d+\.\d+(?:\.\d+)?\b"
|
| 360 |
-
r"|[\.\s_\-\(\[\{]+(?:2160p|1080p|1080i|720p|576p|480p|4k|uhd|bluray|blu-ray|bdrip|brrip|remux|web-dl|
|
|
|
|
| 361 |
r"|[\.\s_\-\(\[\{]+(?:rus|russian|castellano|latino|german|french|italian|spanish|hindi|korean|japanese|chinese)\b(?=[\.\s_\-\)\]\}]*(?:2160p|1080p|1080i|720p|576p|480p|4k|uhd|bluray|blu-ray|bdrip|brrip|remux|web-dl|webdl|webrip|web|hdtv|dvdrip|hdrip|dvdr|dvd9|dvd5|x264|x265|h264|h265|h\.264|h\.265|hevc|av1|xvid|divx|aac|ac3|eac3|ddp\d*(?:\.\d)?|dts(?:-?hd)?|truehd|atmos|flac|mp3|m4b|dl|dub|dubbed|sub|subbed|subs|vostfr|multi|dual|audio|proper|repack|rerip|internal|limited|complete)\b)"
|
| 362 |
r"|\s*[\[\(\{](?:1080p|720p|2160p|480p|BD|WEB|BDRip|BluRay|HEVC|x264|x265|Dual|Multi|ENG|ITA|RUS|SPA|FRE|GER|Sub|AAC|AC3|DTS|FLAC)[^\)\]\}]*[\]\)\}]"
|
| 363 |
r")"
|
|
@@ -378,11 +398,27 @@ TRAILING_JUNK_RE = re.compile(
|
|
| 378 |
)
|
| 379 |
TECH_TOKEN_SET = frozenset({
|
| 380 |
"1080p", "1080i", "720p", "2160p", "480p", "576p", "4k", "uhd", "sdr", "hdr", "hdr10", "dv",
|
| 381 |
-
"
|
| 382 |
"x264", "x265", "h264", "h265", "hevc", "avc", "xvid", "divx", "av1", "10bit", "8bit",
|
| 383 |
"aac", "ac3", "eac3", "ddp", "ddp5", "dts", "dtshd", "truehd", "atmos", "flac", "mp3", "opus",
|
| 384 |
-
"mkv", "mp4", "avi", "
|
| 385 |
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 386 |
|
| 387 |
|
| 388 |
def key_norm(s: str) -> str:
|
|
@@ -446,10 +482,79 @@ def _utf8_safe_window(raw_name: str, max_bytes: int = 256) -> tuple[str, bytes,
|
|
| 446 |
return win_str, win_str.encode("utf-8"), True
|
| 447 |
|
| 448 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 449 |
def _char_to_byte_span(s: str, c_start: int, c_end: int, max_bytes: int = 256) -> tuple[int, int]:
|
| 450 |
-
|
| 451 |
-
|
| 452 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 453 |
|
| 454 |
|
| 455 |
def extract_byte_spans_v3(raw_name: str, max_bytes: int = 256) -> dict[str, Any]:
|
|
@@ -490,6 +595,7 @@ def extract_byte_spans_v3(raw_name: str, max_bytes: int = 256) -> dict[str, Any]
|
|
| 490 |
c_end = c_start + m_junk.start()
|
| 491 |
while c_end > c_start and work[c_end - 1] in " ._-([{|:/":
|
| 492 |
c_end -= 1
|
|
|
|
| 493 |
base_c_start = c_start
|
| 494 |
token_spans = list(re.finditer(r"[^\._\s]+", work[base_c_start:c_end]))
|
| 495 |
while len(token_spans) > 1 and key_norm(token_spans[-1].group(0)) in TECH_TOKEN_SET:
|
|
@@ -541,37 +647,67 @@ def extract_byte_spans_v3(raw_name: str, max_bytes: int = 256) -> dict[str, Any]
|
|
| 541 |
clean_title = ""
|
| 542 |
c_start, c_end = 0, 0
|
| 543 |
|
| 544 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 545 |
if not clean_title or t_bstart >= t_bend:
|
| 546 |
clean_title = ""
|
| 547 |
t_bstart, t_bend = 0, 0
|
|
|
|
| 548 |
|
| 549 |
year_val = None
|
| 550 |
year_bspan = None
|
|
|
|
| 551 |
ym = YEAR_SPAN_RE.search(nm, pos=max(0, c_end - 1)) or YEAR_SPAN_RE.search(nm)
|
| 552 |
if ym:
|
| 553 |
-
yb_s, yb_e =
|
| 554 |
if yb_e - yb_s == 4:
|
| 555 |
year_val = int(ym.group(1))
|
| 556 |
year_bspan = (yb_s, yb_e)
|
|
|
|
| 557 |
|
| 558 |
ep_val = None
|
| 559 |
ep_bspan = None
|
|
|
|
| 560 |
em = EPISODE_SPAN_RE.search(nm, pos=max(0, c_end - 1)) or EPISODE_SPAN_RE.search(nm)
|
| 561 |
if em:
|
| 562 |
-
eb_s, eb_e =
|
| 563 |
if eb_s < eb_e:
|
| 564 |
ep_val = em.group(1).strip()
|
| 565 |
ep_bspan = (eb_s, eb_e)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 566 |
|
| 567 |
anchored = bool(clean_title and t_bstart < t_bend and is_strict_clean_title(clean_title, nm))
|
| 568 |
return {
|
| 569 |
"title": clean_title,
|
| 570 |
"title_byte_span": (t_bstart, t_bend),
|
|
|
|
|
|
|
| 571 |
"year": year_val,
|
| 572 |
"year_byte_span": year_bspan,
|
|
|
|
|
|
|
| 573 |
"episode_spec": ep_val,
|
| 574 |
"episode_byte_span": ep_bspan,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 575 |
"is_anchored": anchored,
|
| 576 |
"extractor_source": "structural_byte_span",
|
| 577 |
}
|
|
@@ -629,8 +765,14 @@ def decode_bio_tags_raw_neural(raw_name: str, bio_tags: Sequence[int] | Any) ->
|
|
| 629 |
runs.append((run_s, prev + 1))
|
| 630 |
tb, te = max(runs, key=lambda r: r[1] - r[0])
|
| 631 |
cand_raw = raw_bytes[tb:te].decode("utf-8", errors="replace")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 632 |
words = re.sub(r"[\._]+", " ", cand_raw).strip(" ._-[({/|:").split()
|
| 633 |
clean_title = " ".join(words).strip()
|
|
|
|
|
|
|
| 634 |
else:
|
| 635 |
tb, te = 0, 0
|
| 636 |
clean_title = ""
|
|
@@ -670,20 +812,32 @@ def decode_bio_tags_raw_neural(raw_name: str, bio_tags: Sequence[int] | Any) ->
|
|
| 670 |
if es >= te:
|
| 671 |
break
|
| 672 |
|
| 673 |
-
|
| 674 |
-
|
| 675 |
-
|
| 676 |
-
|
| 677 |
-
|
| 678 |
-
|
| 679 |
-
|
| 680 |
-
|
| 681 |
-
|
| 682 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 683 |
|
| 684 |
|
| 685 |
def decode_bio_tags_to_spans(raw_name: str, bio_tags: Sequence[int] | Any) -> dict[str, Any]:
|
| 686 |
-
"""Hybrid Neural + Structural Span Decoder.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 687 |
neural_res = decode_bio_tags_raw_neural(raw_name, bio_tags)
|
| 688 |
struct_res = extract_byte_spans_v3(raw_name)
|
| 689 |
if neural_res["is_anchored"]:
|
|
@@ -692,5 +846,8 @@ def decode_bio_tags_to_spans(raw_name: str, bio_tags: Sequence[int] | Any) -> di
|
|
| 692 |
inter = max(0, min(ne, se) - max(nb, sb))
|
| 693 |
union = max(1, max(ne, se) - min(nb, sb))
|
| 694 |
if inter / union >= 0.65:
|
| 695 |
-
|
| 696 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
"""
|
| 17 |
from __future__ import annotations
|
| 18 |
|
| 19 |
+
import bisect
|
| 20 |
import math
|
| 21 |
import re
|
| 22 |
import unicodedata
|
|
|
|
| 157 |
ns += 1
|
| 158 |
while ne > ns and b_raw[ne - 1] in SEP_BYTES:
|
| 159 |
ne -= 1
|
| 160 |
+
if b_tag == BIO_B_TITLE and ne > ns:
|
| 161 |
+
m_suf = re.search(rb"(?i)(?:\d{3,6}gut|(?:_\d{4})?_librivox)$", bytes(b_raw[ns:ne]))
|
| 162 |
+
if m_suf and m_suf.start() >= 2:
|
| 163 |
+
ne = ns + m_suf.start()
|
| 164 |
+
while ne > ns and b_raw[ne - 1] in SEP_BYTES:
|
| 165 |
+
ne -= 1
|
| 166 |
if ne - ns >= min_len:
|
| 167 |
arr_list[ns] = b_tag
|
| 168 |
for k in range(ns + 1, ne):
|
|
|
|
| 238 |
while ns > 0 and b_raw[ns - 1] not in SEP_BYTES and arr_list[ns - 1] == BIO_O:
|
| 239 |
ns -= 1
|
| 240 |
while ne < L and b_raw[ne] not in SEP_BYTES and arr_list[ne] in (BIO_O, BIO_I_TITLE):
|
| 241 |
+
if arr_list[ne] == BIO_O and (48 <= b_raw[ne] <= 57):
|
| 242 |
+
break
|
| 243 |
ne += 1
|
| 244 |
+
m_suf = re.search(rb"(?i)(?:\d{3,6}gut|(?:_\d{4})?_librivox)$", bytes(b_raw[ns:ne]))
|
| 245 |
+
if m_suf and m_suf.start() >= 2:
|
| 246 |
+
ne = ns + m_suf.start()
|
| 247 |
while ns < ne and b_raw[ns] in SEP_BYTES:
|
| 248 |
ns += 1
|
| 249 |
while ne > ns and b_raw[ne - 1] in SEP_BYTES:
|
|
|
|
| 363 |
r"(?i)^(?:www\.[a-z0-9\-]+\.[a-z]{2,6}[\s\._\-]+|\[?[a-z0-9\-]+\.(?:com|org|net|to|me|cc|pe|mx|ro|lol|tv|ru|in)\]?[\s\._\-\|]+)+"
|
| 364 |
)
|
| 365 |
|
| 366 |
+
_NEXT_TECH_RE = (
|
| 367 |
+
r"(?=[\.\s_\-\)\]\}]*(?:2160p|1080p|1080i|720p|576p|480p|360p|4k|uhd|bluray|blu-ray|"
|
| 368 |
+
r"bdrip|brrip|remux|web-dl|webdl|webrip|hdtv|dvdrip|hdrip|dvdr|dvd9|dvd5|x264|x265|h264|h265|"
|
| 369 |
+
r"h\.264|h\.265|hevc|avc|av1|xvid|divx|10bit|8bit|aac|ddp|eac3|ac3|dts|truehd|atmos|flac|mp3|"
|
| 370 |
+
r"opus|repack|rerip|audio|lat|sub|subs)\b)"
|
| 371 |
+
)
|
| 372 |
+
|
| 373 |
BOUNDARY_RE = re.compile(
|
| 374 |
r"(?i)(?:"
|
| 375 |
r"[\.\s_\-\(\[\{]+(?:19[2-9]\d|20[0-2]\d)(?:[\.\s_\-\)\]\}]|$)"
|
| 376 |
r"|[\.\s_\-\(\[\{]+(?:S\d{1,2}[\.\s_\-]*-[\.\s_\-]*S?\d{1,2}|S\d{1,2}(?:E\d{1,3})?|\d{1,2}x\d{2}|Season[\.\s_\-]*\d+|Complete[\.\s_\-]+Series|Mini[\.\s_\-]*Series|E\d{2,3}\b|Ep\.?\s*\d{1,4}\b|Episode[\.\s_\-]*\d{1,4}\b|Cap\.\d{2,4}\b|Temporada[\.\s_\-]*\d+)"
|
| 377 |
r"|[\.\s_\-]+-\s*(?:0\d|[1-9]\d{0,2})(?:v\d)?(?:[\.\s_\-\[\(]|$)"
|
| 378 |
r"|[\.\s_\-\(\[\{]+v\d+\.\d+(?:\.\d+)?\b"
|
| 379 |
+
r"|[\.\s_\-\(\[\{]+(?:2160p|1080p|1080i|720p|576p|480p|4k|uhd|bluray|blu-ray|bdrip|brrip|remux|web[\s._-]*(?:dl|rip|hd|cap)|hdtv|dvdrip|hdrip|dvdr|dvd9|dvd5|x264|x265|h264|h265|h\.264|h\.265|hevc|avc|av1|xvid|divx|10bit|8bit|hdr10\+?|aac\d*(?:\.\d+)?|ddp?\d*(?:\.\d+)?|eac3|ac3|dts(?:-?hd)?|truehd|atmos|repack|rerip|extended|unrated|directors[\.\s_\-]*cut|remastered|dual[\.\s_\-]*audio|dual[\.\s_\-]*lat|truefrench|vff|vfq|vfi|vostfr|sub[\.\s_\-]*ita|ita[\.\s_\-]*eng)(?![a-z0-9])"
|
| 380 |
+
r"|[\.\s_\-\(\[\{]+(?:web|proper|internal|limited|multi|dual)\b" + _NEXT_TECH_RE +
|
| 381 |
r"|[\.\s_\-\(\[\{]+(?:rus|russian|castellano|latino|german|french|italian|spanish|hindi|korean|japanese|chinese)\b(?=[\.\s_\-\)\]\}]*(?:2160p|1080p|1080i|720p|576p|480p|4k|uhd|bluray|blu-ray|bdrip|brrip|remux|web-dl|webdl|webrip|web|hdtv|dvdrip|hdrip|dvdr|dvd9|dvd5|x264|x265|h264|h265|h\.264|h\.265|hevc|av1|xvid|divx|aac|ac3|eac3|ddp\d*(?:\.\d)?|dts(?:-?hd)?|truehd|atmos|flac|mp3|m4b|dl|dub|dubbed|sub|subbed|subs|vostfr|multi|dual|audio|proper|repack|rerip|internal|limited|complete)\b)"
|
| 382 |
r"|\s*[\[\(\{](?:1080p|720p|2160p|480p|BD|WEB|BDRip|BluRay|HEVC|x264|x265|Dual|Multi|ENG|ITA|RUS|SPA|FRE|GER|Sub|AAC|AC3|DTS|FLAC)[^\)\]\}]*[\]\)\}]"
|
| 383 |
r")"
|
|
|
|
| 398 |
)
|
| 399 |
TECH_TOKEN_SET = frozenset({
|
| 400 |
"1080p", "1080i", "720p", "2160p", "480p", "576p", "4k", "uhd", "sdr", "hdr", "hdr10", "dv",
|
| 401 |
+
"webdl", "webrip", "bluray", "bdrip", "brrip", "remux", "hdtv", "dvdrip", "hdrip", "dvdr",
|
| 402 |
"x264", "x265", "h264", "h265", "hevc", "avc", "xvid", "divx", "av1", "10bit", "8bit",
|
| 403 |
"aac", "ac3", "eac3", "ddp", "ddp5", "dts", "dtshd", "truehd", "atmos", "flac", "mp3", "opus",
|
| 404 |
+
"mkv", "mp4", "avi", "repack", "rerip",
|
| 405 |
})
|
| 406 |
+
TOKEN_HYGIENE_RE = re.compile(
|
| 407 |
+
r"(?i)(?<![a-z0-9])(?:2160p|1080p|1080i|720p|576p|480p|360p|4k|uhd|sdr|hdr10\+?|hdr|dv|"
|
| 408 |
+
r"web[\s._-]*(?:dl|rip|hd|cap)|bluray|blu-ray|bdrip|brrip|remux|hdtv|dvdrip|hdrip|dvdr|dvd9|dvd5|"
|
| 409 |
+
r"x264|x265|h264|h265|h\.264|h\.265|hevc|avc|av1|xvid|divx|10bit|8bit|"
|
| 410 |
+
r"aac\d*(?:\.\d+)?|ddp?\d*(?:\.\d+)?|eac3|ac3|dts(?:-?hd)?|truehd|atmos|flac|mp3|opus|"
|
| 411 |
+
r"mkv|mp4|avi|repack|rerip|"
|
| 412 |
+
r"(?:web|proper|internal|limited|multi|dual)" + _NEXT_TECH_RE + r")(?![a-z0-9])"
|
| 413 |
+
)
|
| 414 |
+
|
| 415 |
+
|
| 416 |
+
def _hygiene_title_end(text: str) -> int:
|
| 417 |
+
match = TOKEN_HYGIENE_RE.search(text)
|
| 418 |
+
end = match.start() if match else len(text)
|
| 419 |
+
while end > 0 and text[end - 1] in " ._-([{|:/":
|
| 420 |
+
end -= 1
|
| 421 |
+
return end
|
| 422 |
|
| 423 |
|
| 424 |
def key_norm(s: str) -> str:
|
|
|
|
| 482 |
return win_str, win_str.encode("utf-8"), True
|
| 483 |
|
| 484 |
|
| 485 |
+
RES_SPAN_RE = re.compile(
|
| 486 |
+
r"(?i)(?<![0-9a-z])(2160p|1080p|1080i|720p|576p|480p|360p|4k|uhd)(?![0-9a-z])"
|
| 487 |
+
)
|
| 488 |
+
|
| 489 |
+
|
| 490 |
+
def build_char_to_byte_offsets(s: str) -> list[int]:
|
| 491 |
+
"""Explicit char-index -> UTF-8 byte-offset table with `len(s) + 1` entries.
|
| 492 |
+
|
| 493 |
+
`offsets[i]` is the byte offset at which character `i` starts and
|
| 494 |
+
`offsets[-1] == len(s.encode('utf-8'))`. Regex character spans must be
|
| 495 |
+
converted through this table (R12 Session 2): indexing bytes sliced with
|
| 496 |
+
`s.encode('utf-8')[:64]` by character offsets misaligns every multi-byte
|
| 497 |
+
(Japanese / French / German / Cyrillic) torrent name.
|
| 498 |
+
"""
|
| 499 |
+
offsets = [0]
|
| 500 |
+
total = 0
|
| 501 |
+
for ch in s or "":
|
| 502 |
+
total += len(ch.encode("utf-8", errors="replace"))
|
| 503 |
+
offsets.append(total)
|
| 504 |
+
return offsets
|
| 505 |
+
|
| 506 |
+
|
| 507 |
+
def _offsets_char_to_byte_span(
|
| 508 |
+
offsets: list[int], c_start: int, c_end: int, max_bytes: int = 256
|
| 509 |
+
) -> tuple[int, int]:
|
| 510 |
+
n = len(offsets) - 1
|
| 511 |
+
cs = min(max(int(c_start), 0), n)
|
| 512 |
+
ce = min(max(int(c_end), 0), n)
|
| 513 |
+
return min(offsets[cs], max_bytes), min(offsets[ce], max_bytes)
|
| 514 |
+
|
| 515 |
+
|
| 516 |
+
def _offsets_byte_to_char_span(offsets: list[int], b_start: int, b_end: int) -> tuple[int, int]:
|
| 517 |
+
"""Map a byte span back to the covering char span (mid-char edges snap outward)."""
|
| 518 |
+
cs = bisect.bisect_right(offsets, max(int(b_start), 0)) - 1
|
| 519 |
+
ce = bisect.bisect_left(offsets, max(int(b_end), 0))
|
| 520 |
+
n = len(offsets) - 1
|
| 521 |
+
return min(max(cs, 0), n), min(max(ce, 0), n)
|
| 522 |
+
|
| 523 |
+
|
| 524 |
def _char_to_byte_span(s: str, c_start: int, c_end: int, max_bytes: int = 256) -> tuple[int, int]:
|
| 525 |
+
return _offsets_char_to_byte_span(build_char_to_byte_offsets(s), c_start, c_end, max_bytes)
|
| 526 |
+
|
| 527 |
+
|
| 528 |
+
def _with_span_aliases(res: dict[str, Any], raw_name: str) -> dict[str, Any]:
|
| 529 |
+
"""Guarantee the full char/byte span key contract on any extractor result.
|
| 530 |
+
|
| 531 |
+
R11 Stage-3A `ws2_catalog_and_bio.py` crashed with
|
| 532 |
+
`KeyError: 'title_span_bytes'` because only `title_byte_span` existed.
|
| 533 |
+
Every public result now always carries `title_span` (chars),
|
| 534 |
+
`title_span_bytes` (UTF-8 bytes), `year_span`, `res_span` and their
|
| 535 |
+
`*_bytes` / legacy `*_byte_span` counterparts (values `None` when absent).
|
| 536 |
+
"""
|
| 537 |
+
nm = raw_name or ""
|
| 538 |
+
offsets = build_char_to_byte_offsets(nm)
|
| 539 |
+
out = dict(res)
|
| 540 |
+
|
| 541 |
+
def _fill(byte_key: str, bytes_alias: str, char_key: str) -> None:
|
| 542 |
+
bspan = out.get(bytes_alias, out.get(byte_key))
|
| 543 |
+
if bspan is not None:
|
| 544 |
+
bspan = (int(bspan[0]), int(bspan[1]))
|
| 545 |
+
out.setdefault(byte_key, bspan)
|
| 546 |
+
out.setdefault(bytes_alias, bspan)
|
| 547 |
+
if out.get(char_key) is None and bspan is not None:
|
| 548 |
+
out[char_key] = _offsets_byte_to_char_span(offsets, bspan[0], bspan[1])
|
| 549 |
+
|
| 550 |
+
if out.get("title_byte_span") is None and out.get("title_span_bytes") is None:
|
| 551 |
+
out["title_byte_span"] = (0, 0)
|
| 552 |
+
_fill("title_byte_span", "title_span_bytes", "title_span")
|
| 553 |
+
_fill("year_byte_span", "year_span_bytes", "year_span")
|
| 554 |
+
_fill("episode_byte_span", "episode_span_bytes", "episode_span")
|
| 555 |
+
_fill("res_byte_span", "res_span_bytes", "res_span")
|
| 556 |
+
out.setdefault("res", None)
|
| 557 |
+
return out
|
| 558 |
|
| 559 |
|
| 560 |
def extract_byte_spans_v3(raw_name: str, max_bytes: int = 256) -> dict[str, Any]:
|
|
|
|
| 595 |
c_end = c_start + m_junk.start()
|
| 596 |
while c_end > c_start and work[c_end - 1] in " ._-([{|:/":
|
| 597 |
c_end -= 1
|
| 598 |
+
c_end = c_start + _hygiene_title_end(work[c_start:c_end])
|
| 599 |
base_c_start = c_start
|
| 600 |
token_spans = list(re.finditer(r"[^\._\s]+", work[base_c_start:c_end]))
|
| 601 |
while len(token_spans) > 1 and key_norm(token_spans[-1].group(0)) in TECH_TOKEN_SET:
|
|
|
|
| 647 |
clean_title = ""
|
| 648 |
c_start, c_end = 0, 0
|
| 649 |
|
| 650 |
+
# R12: convert every regex char span through ONE explicit char->byte
|
| 651 |
+
# offset table built on the window string. Char spans always index `nm`;
|
| 652 |
+
# byte spans always index `nm.encode('utf-8')` (clipped to `max_bytes`).
|
| 653 |
+
offsets = build_char_to_byte_offsets(nm)
|
| 654 |
+
t_bstart, t_bend = _offsets_char_to_byte_span(offsets, c_start, c_end, max_bytes)
|
| 655 |
if not clean_title or t_bstart >= t_bend:
|
| 656 |
clean_title = ""
|
| 657 |
t_bstart, t_bend = 0, 0
|
| 658 |
+
c_start, c_end = 0, 0
|
| 659 |
|
| 660 |
year_val = None
|
| 661 |
year_bspan = None
|
| 662 |
+
year_cspan = None
|
| 663 |
ym = YEAR_SPAN_RE.search(nm, pos=max(0, c_end - 1)) or YEAR_SPAN_RE.search(nm)
|
| 664 |
if ym:
|
| 665 |
+
yb_s, yb_e = _offsets_char_to_byte_span(offsets, ym.start(1), ym.end(1), max_bytes)
|
| 666 |
if yb_e - yb_s == 4:
|
| 667 |
year_val = int(ym.group(1))
|
| 668 |
year_bspan = (yb_s, yb_e)
|
| 669 |
+
year_cspan = (ym.start(1), ym.end(1))
|
| 670 |
|
| 671 |
ep_val = None
|
| 672 |
ep_bspan = None
|
| 673 |
+
ep_cspan = None
|
| 674 |
em = EPISODE_SPAN_RE.search(nm, pos=max(0, c_end - 1)) or EPISODE_SPAN_RE.search(nm)
|
| 675 |
if em:
|
| 676 |
+
eb_s, eb_e = _offsets_char_to_byte_span(offsets, em.start(1), em.end(1), max_bytes)
|
| 677 |
if eb_s < eb_e:
|
| 678 |
ep_val = em.group(1).strip()
|
| 679 |
ep_bspan = (eb_s, eb_e)
|
| 680 |
+
ep_cspan = (em.start(1), em.end(1))
|
| 681 |
+
|
| 682 |
+
res_val = None
|
| 683 |
+
res_bspan = None
|
| 684 |
+
res_cspan = None
|
| 685 |
+
rm = RES_SPAN_RE.search(nm)
|
| 686 |
+
if rm:
|
| 687 |
+
rb_s, rb_e = _offsets_char_to_byte_span(offsets, rm.start(1), rm.end(1), max_bytes)
|
| 688 |
+
if rb_s < rb_e:
|
| 689 |
+
res_val = rm.group(1)
|
| 690 |
+
res_bspan = (rb_s, rb_e)
|
| 691 |
+
res_cspan = (rm.start(1), rm.end(1))
|
| 692 |
|
| 693 |
anchored = bool(clean_title and t_bstart < t_bend and is_strict_clean_title(clean_title, nm))
|
| 694 |
return {
|
| 695 |
"title": clean_title,
|
| 696 |
"title_byte_span": (t_bstart, t_bend),
|
| 697 |
+
"title_span_bytes": (t_bstart, t_bend),
|
| 698 |
+
"title_span": (c_start, c_end),
|
| 699 |
"year": year_val,
|
| 700 |
"year_byte_span": year_bspan,
|
| 701 |
+
"year_span_bytes": year_bspan,
|
| 702 |
+
"year_span": year_cspan,
|
| 703 |
"episode_spec": ep_val,
|
| 704 |
"episode_byte_span": ep_bspan,
|
| 705 |
+
"episode_span_bytes": ep_bspan,
|
| 706 |
+
"episode_span": ep_cspan,
|
| 707 |
+
"res": res_val,
|
| 708 |
+
"res_byte_span": res_bspan,
|
| 709 |
+
"res_span_bytes": res_bspan,
|
| 710 |
+
"res_span": res_cspan,
|
| 711 |
"is_anchored": anchored,
|
| 712 |
"extractor_source": "structural_byte_span",
|
| 713 |
}
|
|
|
|
| 765 |
runs.append((run_s, prev + 1))
|
| 766 |
tb, te = max(runs, key=lambda r: r[1] - r[0])
|
| 767 |
cand_raw = raw_bytes[tb:te].decode("utf-8", errors="replace")
|
| 768 |
+
if TOKEN_HYGIENE_RE.search(cand_raw):
|
| 769 |
+
cand_end = _hygiene_title_end(cand_raw)
|
| 770 |
+
te = tb + len(cand_raw[:cand_end].encode("utf-8"))
|
| 771 |
+
cand_raw = cand_raw[:cand_end]
|
| 772 |
words = re.sub(r"[\._]+", " ", cand_raw).strip(" ._-[({/|:").split()
|
| 773 |
clean_title = " ".join(words).strip()
|
| 774 |
+
if not clean_title:
|
| 775 |
+
tb, te = 0, 0
|
| 776 |
else:
|
| 777 |
tb, te = 0, 0
|
| 778 |
clean_title = ""
|
|
|
|
| 812 |
if es >= te:
|
| 813 |
break
|
| 814 |
|
| 815 |
+
# BIO tags index bytes; char spans are derived through the offset table
|
| 816 |
+
# (never by reusing byte offsets as char offsets). `res_*` stays empty
|
| 817 |
+
# here to keep this decoder purely neural; the hybrid fills it.
|
| 818 |
+
return _with_span_aliases(
|
| 819 |
+
{
|
| 820 |
+
"title": clean_title,
|
| 821 |
+
"title_byte_span": (tb, te),
|
| 822 |
+
"year": year_val,
|
| 823 |
+
"year_byte_span": year_bspan,
|
| 824 |
+
"episode_spec": ep_val,
|
| 825 |
+
"episode_byte_span": ep_bspan,
|
| 826 |
+
"is_anchored": is_strict_clean_title(clean_title, nm),
|
| 827 |
+
"extractor_source": "raw_neural_span_bio",
|
| 828 |
+
},
|
| 829 |
+
nm,
|
| 830 |
+
)
|
| 831 |
|
| 832 |
|
| 833 |
def decode_bio_tags_to_spans(raw_name: str, bio_tags: Sequence[int] | Any) -> dict[str, Any]:
|
| 834 |
+
"""Hybrid Neural + Structural Span Decoder.
|
| 835 |
+
|
| 836 |
+
The returned dict always carries the full span key contract
|
| 837 |
+
(`title_span`, `title_span_bytes`, `year_span`, `res_span`, ...), so
|
| 838 |
+
consumers such as `ws2_catalog_and_bio.py` can never hit the R11
|
| 839 |
+
`KeyError: 'title_span_bytes'` crash regardless of which branch wins.
|
| 840 |
+
"""
|
| 841 |
neural_res = decode_bio_tags_raw_neural(raw_name, bio_tags)
|
| 842 |
struct_res = extract_byte_spans_v3(raw_name)
|
| 843 |
if neural_res["is_anchored"]:
|
|
|
|
| 846 |
inter = max(0, min(ne, se) - max(nb, sb))
|
| 847 |
union = max(1, max(ne, se) - min(nb, sb))
|
| 848 |
if inter / union >= 0.65:
|
| 849 |
+
for key in ("res", "res_byte_span", "res_span_bytes", "res_span"):
|
| 850 |
+
if neural_res.get(key) is None:
|
| 851 |
+
neural_res[key] = struct_res.get(key)
|
| 852 |
+
return _with_span_aliases(neural_res, raw_name)
|
| 853 |
+
return _with_span_aliases(struct_res, raw_name)
|
calibration.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"calibrated_onnx_fp32_sha256": "
|
| 3 |
"calibration_version": "v3.0-gold-r13_3-val-only",
|
| 4 |
"feature_stats_dim": 41,
|
| 5 |
"fitted_snapshot_id": "snap_r13_20261024T140340Z_064c8e6ccb1f",
|
|
|
|
| 1 |
{
|
| 2 |
+
"calibrated_onnx_fp32_sha256": "ebed96dfef6f78842768ecdad646f6e5d838681feed9a4919d4b95aa0f912ea4",
|
| 3 |
"calibration_version": "v3.0-gold-r13_3-val-only",
|
| 4 |
"feature_stats_dim": 41,
|
| 5 |
"fitted_snapshot_id": "snap_r13_20261024T140340Z_064c8e6ccb1f",
|
config.json
CHANGED
|
@@ -1,27 +1,28 @@
|
|
| 1 |
{
|
| 2 |
-
"model_name": "armiger",
|
| 3 |
-
"version": "
|
| 4 |
-
"
|
| 5 |
-
"
|
| 6 |
-
"format": "onnx-int8-dynamic",
|
| 7 |
-
"size_bytes": 8283542,
|
| 8 |
-
"sha256": "0f7496a70565145d09a8b29b09de9b99171cf483e5c32ff32e89df1931231401",
|
| 9 |
"artifacts": {
|
| 10 |
-
"
|
| 11 |
-
"
|
| 12 |
-
"
|
|
|
|
| 13 |
},
|
| 14 |
-
"
|
| 15 |
-
"
|
| 16 |
-
"
|
|
|
|
| 17 |
},
|
| 18 |
-
"
|
| 19 |
-
"
|
| 20 |
-
"
|
|
|
|
| 21 |
},
|
| 22 |
-
"
|
| 23 |
-
"
|
| 24 |
-
"
|
|
|
|
| 25 |
}
|
| 26 |
},
|
| 27 |
"heads": {
|
|
@@ -74,91 +75,106 @@
|
|
| 74 |
"junk": 0.101,
|
| 75 |
"owner_scope": 0.477
|
| 76 |
},
|
| 77 |
-
"
|
| 78 |
-
"
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
"
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
"standalone_neural_11class_acc": 92.88,
|
| 103 |
-
"fair_hybrid_11class_acc": 95.12,
|
| 104 |
-
"adult_n1016_acc": 98.52,
|
| 105 |
-
"junk_n977_acc": 99.9,
|
| 106 |
-
"anime_n636_acc": 98.9,
|
| 107 |
-
"title_language_n604_acc": 98.51
|
| 108 |
},
|
| 109 |
-
"
|
| 110 |
-
"
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
"
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
"title_language_acc": 97.75
|
| 117 |
},
|
| 118 |
-
"
|
| 119 |
-
"
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
"
|
| 124 |
-
|
|
|
|
|
|
|
| 125 |
},
|
| 126 |
-
"
|
| 127 |
-
"
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
"
|
|
|
|
|
|
|
| 131 |
},
|
| 132 |
-
"
|
| 133 |
-
"
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 137 |
},
|
| 138 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 139 |
},
|
| 140 |
-
"
|
| 141 |
-
"
|
| 142 |
-
"
|
| 143 |
-
"
|
| 144 |
-
"
|
| 145 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 146 |
},
|
| 147 |
-
"parameter_count": 8050139
|
| 148 |
-
"benchmarks": {
|
| 149 |
-
"heldout_10class_category_acc": 90.94,
|
| 150 |
-
"beyond_confirmation_category_acc": 90.44,
|
| 151 |
-
"catalog_matching_rate_acc": 90.34,
|
| 152 |
-
"audio_language_acc": 98.25,
|
| 153 |
-
"anime_and_dub_acc": 97.48,
|
| 154 |
-
"adult_safety_gate_acc": 100.0,
|
| 155 |
-
"junk_malware_filter_acc": 99.9,
|
| 156 |
-
"swarm_liveliness_public_auroc": 92.42,
|
| 157 |
-
"swarm_liveliness_multisource_auroc": 96.83,
|
| 158 |
-
"fake_seeder_honeypot_recall": 100.0,
|
| 159 |
-
"overall_6dim_composite_mean": 94.09,
|
| 160 |
-
"gpu_batched_latency_ms": 0.21,
|
| 161 |
-
"gpu_single_item_latency_ms": 1.12,
|
| 162 |
-
"cpu_int8_batched_latency_ms": 0.42
|
| 163 |
-
}
|
| 164 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"model_name": "armiger-ultra",
|
| 3 |
+
"version": "2.1.0",
|
| 4 |
+
"bundle_type": "unified_armiger_plus_ultra_plus_swarm",
|
| 5 |
+
"architecture": "armiger-v2-byte-rope-transformer-8head + residual-swarm-health-adapter",
|
|
|
|
|
|
|
|
|
|
| 6 |
"artifacts": {
|
| 7 |
+
"armiger_cpu_int8_onnx": {
|
| 8 |
+
"file": "armiger.int8.onnx",
|
| 9 |
+
"size_bytes": 17604743,
|
| 10 |
+
"sha256": "02d185e673e8552a6b09d921b1bf8bc6e64cdb4ba984ffacdbe804b487132271"
|
| 11 |
},
|
| 12 |
+
"armiger_ultra_fp32_onnx": {
|
| 13 |
+
"file": "armiger_ultra.fp32.onnx",
|
| 14 |
+
"size_bytes": 33258907,
|
| 15 |
+
"sha256": "ebed96dfef6f78842768ecdad646f6e5d838681feed9a4919d4b95aa0f912ea4"
|
| 16 |
},
|
| 17 |
+
"armiger_ultra_pytorch": {
|
| 18 |
+
"file": "armiger_ultra.pt",
|
| 19 |
+
"size_bytes": 33534627,
|
| 20 |
+
"sha256": "3d04f0870c63ab7a12b1a963419692007f8bf811f702ccaa55a5e8f99f5f941b"
|
| 21 |
},
|
| 22 |
+
"swarm_health_adapter": {
|
| 23 |
+
"file": "swarm_adapter.pt",
|
| 24 |
+
"size_bytes": 144144,
|
| 25 |
+
"sha256": "4e4c7a2dd59fb91a234e6627e7ade35062f99268d3f05370432bb9f2a2f9b1c9"
|
| 26 |
}
|
| 27 |
},
|
| 28 |
"heads": {
|
|
|
|
| 75 |
"junk": 0.101,
|
| 76 |
"owner_scope": 0.477
|
| 77 |
},
|
| 78 |
+
"benchmarks": {
|
| 79 |
+
"gold_standard_11class_category_acc": 98.48,
|
| 80 |
+
"movie_vs_tv_acc": 99.46,
|
| 81 |
+
"catalog_matching_rate_acc": 98.69,
|
| 82 |
+
"audio_language_acc": 98.72,
|
| 83 |
+
"anime_and_dub_acc": 97.92,
|
| 84 |
+
"adult_safety_gate_acc": 98.63,
|
| 85 |
+
"junk_malware_filter_acc": 99.95,
|
| 86 |
+
"swarm_liveliness_auroc": 96.83,
|
| 87 |
+
"fake_seeder_honeypot_recall": 100.0,
|
| 88 |
+
"overall_6dim_composite_mean": 98.74,
|
| 89 |
+
"gpu_batched_latency_ms": 0.5,
|
| 90 |
+
"gpu_single_item_latency_ms": 1.12,
|
| 91 |
+
"cpu_int8_batched_latency_ms": 0.42
|
| 92 |
+
},
|
| 93 |
+
"bundled_plugins": {
|
| 94 |
+
"armiger-swarm-survival": {
|
| 95 |
+
"files": [
|
| 96 |
+
"swarm_adapter.pt",
|
| 97 |
+
"swarm_survival.py"
|
| 98 |
+
],
|
| 99 |
+
"sha256": {
|
| 100 |
+
"swarm_adapter.pt": "4e4c7a2dd59fb91a234e6627e7ade35062f99268d3f05370432bb9f2a2f9b1c9",
|
| 101 |
+
"swarm_survival.py": "9dfbe7c4961f5a53bb4e40fc4450ebf958398157148d9f54da100d75dd24caf0"
|
| 102 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
},
|
| 104 |
+
"armiger-swarm-priors": {
|
| 105 |
+
"files": [
|
| 106 |
+
"swarm_priors.py"
|
| 107 |
+
],
|
| 108 |
+
"sha256": {
|
| 109 |
+
"swarm_priors.py": "49b2b6857802606158e4a1de8cdc335e485be83aaec5405b9f2fd103ca90b394"
|
| 110 |
+
}
|
|
|
|
| 111 |
},
|
| 112 |
+
"armiger-zero-cue-catalog": {
|
| 113 |
+
"files": [
|
| 114 |
+
"zero_cue_plugin.py",
|
| 115 |
+
"validated_zero_cue_catalog.json"
|
| 116 |
+
],
|
| 117 |
+
"sha256": {
|
| 118 |
+
"zero_cue_plugin.py": "57bba15c57e3d83420367605c131c57e17863f8e7ab2c10b0196177c6c7ae28d",
|
| 119 |
+
"validated_zero_cue_catalog.json": "8a8b7a4ba97cb22c3aa1f75ab33762052deb09580df464b1eabfe622a2837d26"
|
| 120 |
+
}
|
| 121 |
},
|
| 122 |
+
"armiger-audio-guard": {
|
| 123 |
+
"files": [
|
| 124 |
+
"audio_language_guard.py"
|
| 125 |
+
],
|
| 126 |
+
"sha256": {
|
| 127 |
+
"audio_language_guard.py": "8c4de62592ec3174cda6467dccd575c4125fcb32a04603d4c16850267a0ac9f4"
|
| 128 |
+
}
|
| 129 |
},
|
| 130 |
+
"armiger-calibration-dht": {
|
| 131 |
+
"files": [
|
| 132 |
+
"calibration.json",
|
| 133 |
+
"calibration_and_dht.py",
|
| 134 |
+
"armiger_dht_rsi.py",
|
| 135 |
+
"test_armiger_dht_rsi.py"
|
| 136 |
+
],
|
| 137 |
+
"sha256": {
|
| 138 |
+
"calibration.json": "ea7a4df70747160b41ae0cbca0292562f097bbbea7b5d549c5348f743e30b33c",
|
| 139 |
+
"calibration_and_dht.py": "11be587b60202185abbcf507b935464fed5be5d7c0b28adc38fe5213ca088db5",
|
| 140 |
+
"armiger_dht_rsi.py": "3b709c506e0826fded14d3180516982f91b003f4ad3381a9b13e3909900e11e4",
|
| 141 |
+
"test_armiger_dht_rsi.py": "f284d290cc2a847f152e51ff40112556caf6c256ee2629aa9f31afbefa73d2df"
|
| 142 |
+
}
|
| 143 |
},
|
| 144 |
+
"armiger-dht-db-sync": {
|
| 145 |
+
"files": [
|
| 146 |
+
"csam_guard.py",
|
| 147 |
+
"armiger_dht_db_sync.py",
|
| 148 |
+
"test_dht_db_sync.py"
|
| 149 |
+
],
|
| 150 |
+
"sha256": {
|
| 151 |
+
"csam_guard.py": "9f91038e25505e984ba2a89f411fc2f89145393a8f811e2fe7a6025a7c73a31c",
|
| 152 |
+
"armiger_dht_db_sync.py": "f80ea1c58170cf205c2222f28302afb7305cb9ddf4707fc6bff6ac6f6cb67d92",
|
| 153 |
+
"test_dht_db_sync.py": "ed6cebbcbaebc0d43516f68952937696a6b6c88ec54da8536112f9127b4f4290"
|
| 154 |
+
}
|
| 155 |
+
}
|
| 156 |
},
|
| 157 |
+
"sdk": {
|
| 158 |
+
"entrypoint": "armiger_ultra_pipeline.py",
|
| 159 |
+
"class_name": "ArmigerUltraPipeline",
|
| 160 |
+
"test_suite": "test_armiger_ultra_pipeline.py",
|
| 161 |
+
"unified_heads": [
|
| 162 |
+
"category",
|
| 163 |
+
"adult",
|
| 164 |
+
"junk",
|
| 165 |
+
"anime",
|
| 166 |
+
"english_subs",
|
| 167 |
+
"lang",
|
| 168 |
+
"owner_scope",
|
| 169 |
+
"title_language",
|
| 170 |
+
"swarm_viability",
|
| 171 |
+
"honeypot_trap",
|
| 172 |
+
"csam_safety"
|
| 173 |
+
],
|
| 174 |
+
"sha256": {
|
| 175 |
+
"armiger_ultra_pipeline.py": "636e0414dd4d039cea3c46bea9a69d2cf31b487a86a357a4e37e877ea9c1e8a0",
|
| 176 |
+
"test_armiger_ultra_pipeline.py": "b309d0edf87a189f41e95c18511fd26b0d748f981d93f1a0782cd8163015e18d"
|
| 177 |
+
}
|
| 178 |
},
|
| 179 |
+
"parameter_count": 8050139
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 180 |
}
|
d76642926b803a05f8325edc1425f25936766a30.torrent
ADDED
|
Binary file (1.95 kB). View file
|
|
|
e3a7b443f2273256163e848f066c8e0fccbde374.torrent
ADDED
|
Binary file (1.23 kB). View file
|
|
|