Feature Extraction
sentence-transformers
Safetensors
bert
embeddings
mplads
lok-sabha
indian-government
multilingual
text-embeddings-inference
Instructions to use ZeroiJ/mplads-ls-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ZeroiJ/mplads-ls-encoder with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ZeroiJ/mplads-ls-encoder") 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
MPLADS Lok Sabha Embedding Model
Fine-tuned paraphrase-multilingual-MiniLM-L12-v2 for Lok Sabha MPLADS work descriptions.
Use with sentence-transformers
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("ZeroiJ/mplads-ls-encoder")
emb = model.encode("construction of pucca road in Gram Panchayat")
Use with the Hugging Face Inference API
curl https://api-inference.huggingface.co/models/ZeroiJ/mplads-ls-encoder \
-X POST \
-H "Authorization: Bearer ${HF_TOKEN}" \
-H "Content-Type: application/json" \
-d '{"inputs": "construction of pucca road in Gram Panchayat"}'
Model details
- Base:
sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2 - Fine-tuning objective: cosine-similarity contrastive loss on curated MPLADS work pairs
- Output: 384-dimensional L2-normalized embeddings
- Validation cosine accuracy: ~96.3%
- Built for the MPLADS (SIH26102) fraud-detection demo.
- Downloads last month
- 1