jhu-clsp/mmBERT-small at revision abc32620dd4f6ab06f5fbe905dc25f310618e09f, exported to ONNX
unchanged: no training, no new weights. It is used to time the base encoder in a benchmark.
input_ids, attention_mask (int64, [lines, tokens]).last_hidden_state (float32, [lines, tokens, 384]): one vector per token. There is no head: the
masked-word head of the original is left out.torch.onnx.export, opset 18, full precision (float32), with transformers' AutoModel.checks.json).AutoTokenizer gives for the base model. (The base repository's own tokenizer.json adds no closing <eos>
token; transformers does.)architectures set to ModernBertModel, the encoder this file holds.No int8 file is published: quantising this model's activations to 8 bits with one scale per tensor (onnxruntime's
quantize_dynamic) changed its output beyond use (median cosine per token 0.13).
MIT, as the base model. The model and its weights are the work of the authors of jhu-clsp/mmBERT-small; see its page for the paper and citation.
jhu-clsp/mmBERT-small