Text Classification
setfit
Safetensors
sentence-transformers
gemma3_text
generated_from_setfit_trainer
text-embeddings-inference
Instructions to use ShiWarai/CVC-Panda with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use ShiWarai/CVC-Panda with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("ShiWarai/CVC-Panda") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - sentence-transformers
How to use ShiWarai/CVC-Panda with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ShiWarai/CVC-Panda") 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
CI: модель обучена и загружена (cf63563)
Browse files
README.md
CHANGED
|
@@ -99,7 +99,7 @@ Then you can load this model and run inference.
|
|
| 99 |
from setfit import SetFitModel
|
| 100 |
|
| 101 |
# Download from the 🤗 Hub
|
| 102 |
-
model = SetFitModel.from_pretrained("
|
| 103 |
# Run inference
|
| 104 |
preds = model("беги бы")
|
| 105 |
```
|
|
|
|
| 99 |
from setfit import SetFitModel
|
| 100 |
|
| 101 |
# Download from the 🤗 Hub
|
| 102 |
+
model = SetFitModel.from_pretrained("tmpuzh_pdlm/panda_commands")
|
| 103 |
# Run inference
|
| 104 |
preds = model("беги бы")
|
| 105 |
```
|