Multi-model Β· 2-Stage IndoBERT Retrieval (125.75 MB) β†’ FLORES-200 Nusantara Scope Guard (25.84 MB)

indobert-base-p1 β†’ 201-Language FLORES-200 Nusantara Guard

Chain Stage 1 Xenova/indobert-base-p1 (125.75 MB q8 WASM, MIT) for 768-d Indonesian semantic retrieval with Stage 2 onnx-community/language_detection-ONNX (25.84 MB q8 WASM, MIT, reusing ../../mbert-language-detection/worker.js) to verify whether each retrieved candidate is standard Indonesian (ind_Latn), regional Javanese/Sundanese/Malay (jav_Latn/sun_Latn/zsm_Latn), code-switched slang, or out-of-scope English (eng_Latn).

1. Load Both Stages (~149.76 MB weights Β· 151.59 MB first visit)

Stage 1 Β· indobert-base-p1 (125.75 MB Β· MIT)

Stage 2 Β· mBERT 201-Language Guard (25.84 MB Β· MIT)

Initialise Stage 1 (indobert-base-p1) and Stage 2 (mBERT Language Detection) above to run Nusantara retrieval + FLORES-200 verification.

2. Indonesian Semantic Retrieval (Stage 1) β†’ FLORES-200 Scope Guard (Stage 2)

Drop, paste, or upload a .txt / .md / .csv / .json list of Indonesian/regional candidates.

Stage 1 Β· IndoBERT Cosine Retrieval

Load Stage 1 to embed and rank candidates by IndoBERT cosine similarity.

    Stage 2 Β· FLORES-200 Nusantara Scope Guard

    Load Stage 2 to classify Indonesian, Javanese, Sundanese, Malay, and English.

      Stage 1 IndoBERT Cosine vs Stage 2 FLORES-200 Indonesian Confidence

      Nusantara Retrieval & Language-Scope Audit Table

      Two-stage IndoBERT cosine retrieval and mBERT FLORES-200 language guard audit
      ID Cosine Top FLORES-200 ind_Latn Routing Action Candidate
      Run both stages above to populate live Nusantara scope verification.

      Show the Code

      Show the code: Reused Stage 2 mBERT 201-language worker (mbert-language-detection/worker.js)
      Show the code: Lifecycle-safe FIFO MbertLanguageClient (indobert.js)
      Show the code: FLORES-200 Nusantara scope reconciliation (indobert-core.mjs)