Sentence Similarity
Transformers
Safetensors
Italian
bert
feature-extraction
text-embeddings-inference
Instructions to use DeepMount00/Anita with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DeepMount00/Anita with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("DeepMount00/Anita") model = AutoModel.from_pretrained("DeepMount00/Anita") - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -53,6 +53,9 @@ print("Similarità tra la sentenza 2 e 3:", similarity_matrix[1, 2])
|
|
| 53 |
```
|
| 54 |
|
| 55 |
## How to use with SentenceTransformer
|
|
|
|
|
|
|
|
|
|
| 56 |
```python
|
| 57 |
from sentence_transformers import SentenceTransformer
|
| 58 |
sentences = ["Oggi sono andato al mare", "La torre di Pisa si trova in Toscana"]
|
|
|
|
| 53 |
```
|
| 54 |
|
| 55 |
## How to use with SentenceTransformer
|
| 56 |
+
```
|
| 57 |
+
pip install -U sentence-transformers
|
| 58 |
+
```
|
| 59 |
```python
|
| 60 |
from sentence_transformers import SentenceTransformer
|
| 61 |
sentences = ["Oggi sono andato al mare", "La torre di Pisa si trova in Toscana"]
|