Sentence Similarity
sentence-transformers
ONNX
Safetensors
Italian
distilbert
feature-extraction
dense
matryoshka
information-retrieval
Generated from Trainer
text-embeddings-inference
Instructions to use nickprock/multi-sentence-BERTino with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use nickprock/multi-sentence-BERTino with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("nickprock/multi-sentence-BERTino") sentences = [ "Ci stiamo muovendo \"... rispetto al commovente telaio cosmico di riposo ... a circa 371 km/s verso la costellazione del Leone\".", "Una donna sta tagliando le cipolle verdi.", "Non c'è un 'fermo' che non sia relativo a qualche altro oggetto.", "Un gruppo di anziani si mette in posa attorno a un tavolo da pranzo." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Inference
- Notebooks
- Google Colab
- Kaggle
| { | |
| "activation": "gelu", | |
| "architectures": [ | |
| "DistilBertModel" | |
| ], | |
| "attention_dropout": 0.1, | |
| "bos_token_id": null, | |
| "dim": 768, | |
| "dropout": 0.1, | |
| "dtype": "float32", | |
| "eos_token_id": null, | |
| "hidden_dim": 3072, | |
| "initializer_range": 0.02, | |
| "max_position_embeddings": 512, | |
| "model_type": "distilbert", | |
| "n_heads": 12, | |
| "n_layers": 6, | |
| "output_hidden_states": true, | |
| "pad_token_id": 0, | |
| "qa_dropout": 0.1, | |
| "seq_classif_dropout": 0.2, | |
| "sinusoidal_pos_embds": false, | |
| "tie_weights_": true, | |
| "tie_word_embeddings": true, | |
| "transformers_version": "5.3.0", | |
| "vocab_size": 32102 | |
| } | |