Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:254
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use goldenevil/agri-bot-model-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use goldenevil/agri-bot-model-v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("goldenevil/agri-bot-model-v2") sentences = [ "How long should I let my potatoes 'cork over' in storage to prevent rot?", "If fruit sets on the vine but begins to show small, light brown spots on the blossom end of the fruit that turn leathery, the problem may be \"blossom end rot.\"", "Deterioration is rapid since young fruits dry out quickly in storage and are quite sensitive to chilling injury.", "Properly suberize potatoes by initial storage at high humidity with good ventilation (no wet surfaces) at 50-55°F for 10-14 days. [cite: 1873]" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!