Sentence Similarity
sentence-transformers
Safetensors
Transformers
Dutch
xlm-roberta
feature-extraction
text-embeddings-inference
Instructions to use clips/e5-base-trm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use clips/e5-base-trm with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("clips/e5-base-trm") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Transformers
How to use clips/e5-base-trm with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("clips/e5-base-trm") model = AutoModel.from_pretrained("clips/e5-base-trm", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Vocabulary Trimmed [intfloat/multilingual-e5-base](https://huggingface.co/intfloat/multilingual-e5-base): `nicolaebanari/me5-base-trimmed-nl-test`
|
| 2 |
This model is a trimmed version of [intfloat/multilingual-e5-base](https://huggingface.co/intfloat/multilingual-e5-base) by [`vocabtrimmer`](https://github.com/asahi417/lm-vocab-trimmer), a tool for trimming vocabulary of language models to compress the model size.
|
| 3 |
Following table shows a summary of the trimming process.
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- nl
|
| 5 |
+
base_model:
|
| 6 |
+
- intfloat/multilingual-e5-base
|
| 7 |
+
pipeline_tag: sentence-similarity
|
| 8 |
+
---
|
| 9 |
# Vocabulary Trimmed [intfloat/multilingual-e5-base](https://huggingface.co/intfloat/multilingual-e5-base): `nicolaebanari/me5-base-trimmed-nl-test`
|
| 10 |
This model is a trimmed version of [intfloat/multilingual-e5-base](https://huggingface.co/intfloat/multilingual-e5-base) by [`vocabtrimmer`](https://github.com/asahi417/lm-vocab-trimmer), a tool for trimming vocabulary of language models to compress the model size.
|
| 11 |
Following table shows a summary of the trimming process.
|