加载中…
加载中…
Russian NER (PER / ORG / LOC) as a self-contained fp16 Core ML package for on-device inference on Apple Silicon. Used on-device in Letopis, a local meeting and call recorder and transcriber for macOS and iOS (PII redaction of call transcripts); usable by any Core ML consumer.
NERCollection3.mlpackage - BertForTokenClassification, fp16 mlprogram, fixed shape
(1, 256): inputs input_ids + attention_mask (int32), output logits (1, 256, 7)vocab.txt - WordPiece vocab (do_lower_case = true, accents stripped per BERT BasicTokenizer)tokenizer_config.json - reference tokenizer settingsconfig.json - id2label: O, B-PER, I-PER, B-ORG, I-ORG, B-LOC, I-LOC; seq_len: 256tokenizer_fixtures.json - reference tokenizations (ids + char offsets) for porting tokenizersVerified against the PyTorch original on 1500 conversational RU sentences (cased and lowercase/unpunctuated): token-level label agreement 99.98%, entity-span agreement 99.8%.
Apache-2.0, inherited from the fine-tune and base model. Conversion and packaging: © 2026 Sergey Makarov.
ai-forever/ruBert-base