lier007/xiaobu-embedding

`lier007/xiaobu-embedding` powered by Text Embeddings Inference (TEI) - [Original Model Card](https://huggingface.co/lier007/xiaobu-embedding) - [Text Embeddings Inference Documentation](https://hugg…

azureFoundry/HuggingFace/lier007-xiaobu-embedding@1

lier007/xiaobu-embedding powered by Text Embeddings Inference (TEI)

Send Request

You can use cURL or any REST Client to send a request to the AzureML endpoint with your AzureML token.

curl <AZUREML_ENDPOINT_URL> \
    -X POST \
    -d '{"inputs":"What is Deep Learning?"}' \
    -H "Authorization: Bearer <AZUREML_TOKEN>" \
    -H "Content-Type: application/json"

Supported Parameters

  • inputs (string): The input sentence to create the embeddings for.
  • parameters (object):
    • normalize: Whether to normalize returned vectors to have length 1. Defaults to False.
    • prompt_name: The name of the prompt to use for encoding. Must be a key in the prompts dictionary, which is either set in the constructor or loaded from the model configuration. For example if prompt_name is "query" and the prompts is {"query": "query: ", ...}, then the sentence "What is the capital of France?" will be encoded as "query: What is the capital of France?" because the sentence is appended to the prompt. If prompt is also set, this argument is ignored. Defaults to null.
    • truncate: Truncate the inputs that are longer than the maximum supported size. Defaults to False.
    • truncation_direction: Can either be "left" or "right", defaults to "right". Truncating to the "right" means that tokens are removed from the end of the sequence until the maximum supported size is matched, whilst truncating to the "left" means from the beginning of the sequence.

Example payload

{
  "inputs": "What is Deep Learning?",
  "normalize": false,
  "prompt_name": null,
  "truncate": false,
  "truncation_direction": "right"
}

OpenAI Embeddings API compatibility

Additionally, Text Embeddings Inference (TEI) offers an OpenAI Chat Completion API compatible layer under the endpoint /v1/embeddings, check the full specification in the OpenAI Embeddings Create Documentation.

Specifications & capabilities

Input
text
Output
embeddings
Published model ID
xiaobu-embedding
Capabilities
embeddings

Evaluations

1–7 / 7

MTEB

73.411%

source id
mteb
leaderboard name
MTEB Retrieval
dimension
embedding
metric
Average task score
rank
108
sample size
8
aggregation scope
splits
  • dev
subsets
  • default
task_count
8
task_names
  • CmedqaRetrieval
  • CovidRetrieval
  • DuRetrieval
  • EcomRetrieval
  • MMarcoRetrieval
  • MedicalRetrieval
  • T2Retrieval
  • VideoRetrieval
sample_size
8
subset_count
1
subset_sample
  • default
aggregation_method
mean-of-task-means
model_revision_count
1
model_revision_sample
  • external
source model id
lier007/xiaobu-embedding
Original result ↗

MTEB

66.455%

source id
mteb
leaderboard name
MTEB Other
dimension
embedding
metric
Average task score
rank
117
sample size
14
aggregation scope
splits
  • test
  • validation
subsets
  • default
task_count
14
task_names
  • AFQMC
  • ATEC
  • BQ
  • Cmnli
  • IFlyTek
  • JDReview
  • LCQMC
  • MultilingualSentiment
  • Ocnli
  • OnlineShopping
  • PAWSX
  • QBQTC
  • TNews
  • Waimai
sample_size
14
subset_count
1
subset_sample
  • default
aggregation_method
mean-of-task-means
model_revision_count
1
model_revision_sample
  • external
source model id
lier007/xiaobu-embedding
Original result ↗

MTEB

54.616%

source id
mteb
leaderboard name
MTEB Clustering
dimension
embedding
metric
Average task score
rank
126
sample size
4
aggregation scope
splits
  • test
subsets
  • default
task_count
4
task_names
  • CLSClusteringP2P
  • CLSClusteringS2S
  • ThuNewsClusteringP2P
  • ThuNewsClusteringS2S
sample_size
4
subset_count
1
subset_sample
  • default
aggregation_method
mean-of-task-means
model_revision_count
1
model_revision_sample
  • external
source model id
lier007/xiaobu-embedding
Original result ↗

MTEB

67.343%

source id
mteb
leaderboard name
MTEB Reranking
dimension
embedding
metric
Average task score
rank
138
sample size
4
aggregation scope
splits
  • dev
  • test
subsets
  • default
task_count
4
task_names
  • CMedQAv1-reranking
  • CMedQAv2-reranking
  • MMarcoReranking
  • T2Reranking
sample_size
4
subset_count
1
subset_sample
  • default
aggregation_method
mean-of-task-means
model_revision_count
1
model_revision_sample
  • external
source model id
lier007/xiaobu-embedding
Original result ↗

MTEB

67.03%

source id
mteb
leaderboard name
MTEB Overall
dimension
embedding
metric
Average task score
rank
148
sample size
35
aggregation scope
splits
  • dev
  • test
  • validation
subsets
  • default
  • zh
  • zh-CN
task_count
35
task_names
  • AFQMC
  • ATEC
  • AmazonReviewsClassification
  • BQ
  • CLSClusteringP2P
  • CLSClusteringS2S
  • CMedQAv1-reranking
  • CMedQAv2-reranking
  • CmedqaRetrieval
  • Cmnli
  • CovidRetrieval
  • DuRetrieval
  • EcomRetrieval
  • IFlyTek
  • JDReview
  • LCQMC
  • MMarcoReranking
  • MMarcoRetrieval
  • MassiveIntentClassification
  • MassiveScenarioClassification
  • MedicalRetrieval
  • MultilingualSentiment
  • Ocnli
  • OnlineShopping
  • PAWSX
  • QBQTC
  • STS22
  • STSB
  • T2Reranking
  • T2Retrieval
  • TNews
  • ThuNewsClusteringP2P
  • ThuNewsClusteringS2S
  • VideoRetrieval
  • Waimai
sample_size
35
subset_count
3
subset_sample
  • default
  • zh
  • zh-CN
aggregation_method
mean-of-task-means
model_revision_count
1
model_revision_sample
  • external
source model id
lier007/xiaobu-embedding
Original result ↗

MTEB

65.019%

source id
mteb
leaderboard name
MTEB Classification
dimension
embedding
metric
Average task score
rank
244
sample size
3
aggregation scope
splits
  • test
subsets
  • zh
  • zh-CN
task_count
3
task_names
  • AmazonReviewsClassification
  • MassiveIntentClassification
  • MassiveScenarioClassification
sample_size
3
subset_count
2
subset_sample
  • zh
  • zh-CN
aggregation_method
mean-of-task-means
model_revision_count
1
model_revision_sample
  • external
source model id
lier007/xiaobu-embedding
Original result ↗

MTEB

72.753%

source id
mteb
leaderboard name
MTEB Semantic Similarity
dimension
embedding
metric
Average task score
rank
296
sample size
2
aggregation scope
splits
  • test
subsets
  • default
  • zh
task_count
2
task_names
  • STS22
  • STSB
sample_size
2
subset_count
2
subset_sample
  • default
  • zh
aggregation_method
mean-of-task-means
model_revision_count
1
model_revision_sample
  • external
source model id
lier007/xiaobu-embedding
Original result ↗

Provider specifications & access

1–1 / 1

lier007/xiaobu-embedding ↗

source model id
HuggingFace/lier007-xiaobu-embedding@1
hosting
foundry-managed-compute
platforms
  • Microsoft Foundry
license
unknown
architecture
input_modalities
  • text
output_modalities
  • embeddings
capabilities

    Original sources

    1–5 / 5

    Hugging Face · lier007/xiaobu-embedding ↗

    Microsoft Foundry · Model page ↗

    Microsoft Foundry · Model documentation ↗

    Hugging Face · Catalog ↗

    Microsoft Foundry · Catalog ↗

    Source links

    1–2 / 2

    Explore more models

    Models

    Loading
    EVIDENCE / COMPARISON

    Benchmarks

    Explore every benchmark

    Loading

    These charts contain model-linked results. The charts above also include unlinked source profiles. Compare scores within each evaluation. Model quality, usage, transparency and system performance measure different things.

    Install TensorTrace