Sentence Similarity
Transformers
Safetensors
Vietnamese
xlm-roberta
feature-extraction
embedding
text-embeddings-inference
Instructions to use namdp-ptit/ViDense with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use namdp-ptit/ViDense with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("namdp-ptit/ViDense") model = AutoModel.from_pretrained("namdp-ptit/ViDense", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -46,7 +46,7 @@ Model Configuration and Methods:
|
|
| 46 |
* **Rank Encoder**: Introduces a Rank Encoder to account for transitive positive relationships. By considering positives
|
| 47 |
of positives as relevant to the anchor, it reranks the corpus using the Spearman metric and integrates Spearman
|
| 48 |
weights into the loss calculation for improved ranking.
|
| 49 |
-
* **Loss Function**: Cross Entropy Loss
|
| 50 |
|
| 51 |
## Usage
|
| 52 |
|
|
|
|
| 46 |
* **Rank Encoder**: Introduces a Rank Encoder to account for transitive positive relationships. By considering positives
|
| 47 |
of positives as relevant to the anchor, it reranks the corpus using the Spearman metric and integrates Spearman
|
| 48 |
weights into the loss calculation for improved ranking.
|
| 49 |
+
* **Loss Function**: Cross Entropy Loss (Sim Scores) + MSE Loss (Spearman Scores)
|
| 50 |
|
| 51 |
## Usage
|
| 52 |
|