Text Classification
PyTorch
Safetensors
sentence-transformers
Spanish
multitask-learning
spanish
intent-classification
Instructions to use PIBotBCCh/pibot-intent-router with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use PIBotBCCh/pibot-intent-router with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("PIBotBCCh/pibot-intent-router") 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] - Notebooks
- Google Colab
- Kaggle
File size: 420 Bytes
6f07d4d 1c0c437 6f07d4d 1c0c437 ff066af 02bae6c ff066af 1c0c437 02bae6c 6f07d4d 114862d b2df0c9 02bae6c 978732e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | {
"model_name": "sentence-transformers/paraphrase-multilingual-mpnet-base-v2",
"max_length": 128,
"epochs": 25,
"batch_size": 16,
"lr_encoder": 8e-06,
"lr_heads": 0.0004,
"weight_decay": 0.05,
"task_weight_macro": 1.2,
"task_weight_intent": 1.5,
"task_weight_context": 0.8,
"device": "cuda",
"output_dir": "models\\artifacts",
"seed": 42,
"patience": 5,
"min_delta": 0.001
} |