Feature Extraction
sentence-transformers
Safetensors
English
bert
supply-chain
rag
text-embeddings-inference
Instructions to use mathurvarun84/supply-chain-embeddings with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use mathurvarun84/supply-chain-embeddings with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("mathurvarun84/supply-chain-embeddings") 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
Supply Chain RAG Embeddings
Fine-tuned all-MiniLM-L6-v2 for supply-chain RAG retrieval (historical precedents,
export controls, India sourcing, mitigation QA pairs).
Usage
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("mathurvarun84/supply-chain-embeddings")
q = model.encode("Red Sea shipping disruption semiconductor")
Local project
Set in .env:
EMBEDDING_MODEL_PATH=mathurvarun84/supply-chain-embeddings
Then rebuild ChromaDB:
python scripts/build_rag_collections.py --flush
- Downloads last month
- 49