Feature Extraction
sentence-transformers
ONNX
Safetensors
Laya
Transformers.js
bert
verdict
decision-model
system-one
jev
classification
calibration
Eval Results (legacy)
text-embeddings-inference
Instructions to use Manav2op/verdict-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Manav2op/verdict-small with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Manav2op/verdict-small") sentences = [ "query: Hi, we were billed twice for March. Please refund the duplicate today.", "passage: What does the user want? invoices, payments, refunds", "passage: What does the user want? bugs, outages, errors", "passage: What does the user want? pricing, new contracts" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Laya
How to use Manav2op/verdict-small with Laya:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Transformers.js
How to use Manav2op/verdict-small with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('feature-extraction', 'Manav2op/verdict-small'); - Notebooks
- Google Colab
- Kaggle
Download 2_Normalize/config.json from Manav2op/verdict-small: direct link, hf CLI and curl.
- Browser
- Download file 97 Bytes
-
https://huggingface.co/Manav2op/verdict-small/resolve/main/2_Normalize/config.json
- Command line
-
hf download hf://Manav2op/verdict-small/2_Normalize/config.json
-
curl -L -o config.json https://huggingface.co/Manav2op/verdict-small/resolve/main/2_Normalize/config.json
97 Bytes
| { | |
| "module_input_name": "sentence_embedding", | |
| "module_output_name": "sentence_embedding" | |
| } |