yosefw / roberta-medium-am-embed

huggingface.co
Total runs: 73
24-hour runs: 0
7-day runs: -8
30-day runs: -7
Model's Last Updated: January 07 2025
sentence-similarity

Introduction of roberta-medium-am-embed

Model Details of roberta-medium-am-embed

SentenceTransformer based on rasyosef/roberta-medium-amharic

This is a sentence-transformers model finetuned from rasyosef/roberta-medium-amharic . It maps sentences & paragraphs to a 512-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.

Model Details
Model Description
  • Model Type: Sentence Transformer
  • Base model: rasyosef/roberta-medium-amharic
  • Maximum Sequence Length: 510 tokens
  • Output Dimensionality: 512 dimensions
  • Similarity Function: Cosine Similarity
Model Sources
Full Model Architecture
SentenceTransformer(
  (0): Transformer({'max_seq_length': 510, 'do_lower_case': False}) with Transformer model: XLMRobertaModel 
  (1): Pooling({'word_embedding_dimension': 512, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
  (2): Normalize()
)
Usage
Direct Usage (Sentence Transformers)

First install the Sentence Transformers library:

pip install -U sentence-transformers

Then you can load this model and run inference.

from sentence_transformers import SentenceTransformer

# Download from the 🤗 Hub
model = SentenceTransformer("yosefw/roberta-medium-am-embed")
# Run inference
sentences = [
    'The weather is lovely today.',
    "It's so sunny outside!",
    'He drove to the stadium.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 512]

# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
Training Details
Framework Versions
  • Python: 3.10.12
  • Sentence Transformers: 3.3.1
  • Transformers: 4.47.1
  • PyTorch: 2.5.1+cu121
  • Accelerate: 1.2.1
  • Datasets:
  • Tokenizers: 0.21.0
Citation
BibTeX

Runs of yosefw roberta-medium-am-embed on huggingface.co

73
Total runs
0
24-hour runs
-10
3-day runs
-8
7-day runs
-7
30-day runs

More Information About roberta-medium-am-embed huggingface.co Model

roberta-medium-am-embed huggingface.co

roberta-medium-am-embed huggingface.co is an AI model on huggingface.co that provides roberta-medium-am-embed's model effect (), which can be used instantly with this yosefw roberta-medium-am-embed model. huggingface.co supports a free trial of the roberta-medium-am-embed model, and also provides paid use of the roberta-medium-am-embed. Support call roberta-medium-am-embed model through api, including Node.js, Python, http.

roberta-medium-am-embed huggingface.co Url

https://huggingface.co/yosefw/roberta-medium-am-embed

yosefw roberta-medium-am-embed online free

roberta-medium-am-embed huggingface.co is an online trial and call api platform, which integrates roberta-medium-am-embed's modeling effects, including api services, and provides a free online trial of roberta-medium-am-embed, you can try roberta-medium-am-embed online for free by clicking the link below.

yosefw roberta-medium-am-embed online free url in huggingface.co:

https://huggingface.co/yosefw/roberta-medium-am-embed

roberta-medium-am-embed install

roberta-medium-am-embed is an open source model from GitHub that offers a free installation service, and any user can find roberta-medium-am-embed on GitHub to install. At the same time, huggingface.co provides the effect of roberta-medium-am-embed install, users can directly use roberta-medium-am-embed installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

roberta-medium-am-embed install url in huggingface.co:

https://huggingface.co/yosefw/roberta-medium-am-embed

Url of roberta-medium-am-embed

roberta-medium-am-embed huggingface.co Url

Provider of roberta-medium-am-embed huggingface.co

yosefw
ORGANIZATIONS

Other API from yosefw