heydariAI commited on
Commit
2b34cc7
·
verified ·
1 Parent(s): 360b405

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -2
README.md CHANGED
@@ -9,8 +9,9 @@ library_name: transformers
9
  ---
10
 
11
  # heydariAI/persian-embeddings
 
12
 
13
- This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 1024 dimensional dense vector space and can be used for tasks like clustering or semantic search.
14
 
15
  <!--- Describe your model here -->
16
 
@@ -51,7 +52,7 @@ def mean_pooling(model_output, attention_mask):
51
 
52
 
53
  # Sentences we want sentence embeddings for
54
- sentences = ['This is an example sentence', 'Each sentence is converted']
55
 
56
  # Load model from HuggingFace Hub
57
  tokenizer = AutoTokenizer.from_pretrained('heydariAI/persian-embeddings')
 
9
  ---
10
 
11
  # heydariAI/persian-embeddings
12
+ This model is a fine-tuned version of xlm-roberta-base, specifically trained on a massive corpus of Persian data to create high-quality contextual embeddings for Persian sentences and paragraphs. It is designed to perform exceptionally well on tasks such as semantic search, clustering, and contextual similarity for Persian text, while also supporting multilingual tasks in English and Persian.
13
 
14
+ The fine-tuning process focused on adapting the pre-trained multilingual XLM-RoBERTa model to better capture Persian linguistic nuances, making it highly effective for tasks requiring embeddings tailored to the Persian language.
15
 
16
  <!--- Describe your model here -->
17
 
 
52
 
53
 
54
  # Sentences we want sentence embeddings for
55
+ sentences = ['what are Large Language Models?', 'مدل های زبانی بزرگ چه هستند؟']
56
 
57
  # Load model from HuggingFace Hub
58
  tokenizer = AutoTokenizer.from_pretrained('heydariAI/persian-embeddings')