Multilingual_E5_Base / config.yaml
Neelesh-Babu's picture
Allow CoreML provider selection for unvalidated testing
8220963 verified
Raw History Blame Contribute Delete
1.92 kB
schema_version: 3
id: eidora/text-multilingual-e5-base
name: Multilingual_E5_Base
version: 1.0.0
modality: text
license: mit
bibtex: "@misc{wang2024multilinguale5,\n title={Multilingual E5 Text Embeddings: A Technical Report},\n author={Liang Wang and Nan Yang and Xiaolong Huang and Linjun Yang and Rangan Majumder and Furu Wei},\n year={2024},\n eprint={2402.05672},\n archivePrefix={arXiv}\n}"
compatibility:
min_eidora_version: 0.2.6
artifacts:
- path: model.onnx
sha256: 906e235cae965554518d92c08793083acb9a531f6566aa081319db0181aba68b
role: graph
- path: tokenizer/tokenizer.json
sha256: 62c24cdc13d4c9952d63718d6c9fa4c287974249e16b7ade6d5a85e7bbb75626
role: asset
- path: tokenizer/tokenizer_config.json
sha256: efb5c0d09722e5fe59a462cd2a9976ee216d55b037597d997cd3fe833216da15
role: asset
- path: tokenizer/special_tokens_map.json
sha256: 06e405a36dfe4b9604f484f6a1e619af1a7f7d09e34a8555eb0b77b66318067f
role: asset
runtime:
graph: model.onnx
inputs:
- name: input_ids
source: token_ids
dtype: int64
shape:
- batch
- 512
- name: attention_mask
source: attention_mask
dtype: int64
shape:
- batch
- 512
output:
name: embedding
dtype: float32
shape:
- batch
- 768
execution_providers:
- CUDAExecutionProvider
- CPUExecutionProvider
- CoreMLExecutionProvider
preparation:
tokenizer_path: tokenizer
max_length: 512
padding_side: right
truncation_side: right
add_special_tokens: true
prefix: ''
suffix: ''
parameters:
truncation_side:
default: right
embedding:
dimensions: 768
normalized: true
similarity: cosine
metadata:
source_repository: intfloat/multilingual-e5-base
source_revision: d128750597153bb5987e10b1c3493a34e5a4502a
architecture: XLM-RoBERTa
pooling: attention-mask-aware mean pooling
description: Multilingual E5 Base text embeddings with L2 normalization.