Instructions to use CarloSgara/t5_base_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use CarloSgara/t5_base_model with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("CarloSgara/t5_base_model") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download 2_Dense/config.json from CarloSgara/t5_base_model: direct link, hf CLI and curl.
- Browser
- Download file 115 Bytes
-
https://huggingface.co/CarloSgara/t5_base_model/resolve/main/2_Dense/config.json
- Command line
-
hf download hf://CarloSgara/t5_base_model/2_Dense/config.json
-
curl -L -o config.json https://huggingface.co/CarloSgara/t5_base_model/resolve/main/2_Dense/config.json
115 Bytes
| {"in_features": 768, "out_features": 768, "bias": false, "activation_function": "torch.nn.modules.linear.Identity"} |