skillsafe-ai/bge-base-en-v1.5
BGE base en v1.5 embeddings (768-d)
Browser-ready import artifacts for feature-extraction, produced by SkillSafe's reproducible converter (`models/` in skillsafe.ai) from a pinned upstream source. Every byte here is derivable from that source plus the recipe below; nothing was edited by hand.
Provenance
Files
registry files are parameter files served from models.skillsafe.ai once vetted; bundle files ship inside an app; registry-shared is a runtime library reused by every model of the same architecture.
Verification
Imported as published upstream (no conversion). Each file is pinned by SHA-256 to its source; every ONNX file passed onnx.checker and a CPU smoke run under onnxruntime with zero-filled inputs at the declared shapes:
Use in the browser
import * as ort from "onnxruntime-web";
const session = await ort.InferenceSession.create("https://huggingface.co/skillsafe-ai/bge-base-en-v1.5/resolve/main/onnx/model.onnx", { executionProviders: ["webgpu", "wasm"] });Contract (onnx/model.onnx): input input_ids int64 ['batch_size', 'sequence_length'], attention_mask int64 ['batch_size', 'sequence_length'], token_type_ids int64 ['batch_size', 'sequence_length'] → output last_hidden_state float32 ['batch_size', 'sequence_length', 768]. Opset 11.
Licence and attribution
bge-base-en-v1.5: Beijing Academy of Artificial Intelligence (FlagEmbedding), MIT License. https://huggingface.co/BAAI/bge-base-en-v1.5 — the repo's own ONNX export.
Licence: MIT — notice: https://huggingface.co/BAAI/bge-base-en-v1.5/blob/a5beb1e3e68b9ab74eb54cfd186867f64f240e1a/README.md. The conversion recipe and this model card are part of the SkillSafe repository and carry its licence; the weights remain under the upstream licence above.
The full manifest.json in this repo records the recipe, sources, toolchain (including the uv.lock hash) and per-file verification numbers.
