Instructions to use sentence-transformers/all-MiniLM-L6-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use sentence-transformers/all-MiniLM-L6-v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("sentence-transformers/all-MiniLM-L6-v2") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Transformers
How to use sentence-transformers/all-MiniLM-L6-v2 with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("sentence-transformers/all-MiniLM-L6-v2") model = AutoModel.from_pretrained("sentence-transformers/all-MiniLM-L6-v2") - Inference
- Notebooks
- Google Colab
- Kaggle
I built a unified wrapper for llmcompressor, llama.cpp & coremltools. Looking for LLM users to help me break it!
Hey everyone,
If you regularly quantize models, you know the pain of jumping between different libraries depending on your target format. I’ve been working on Qwodel, a Python package that acts as a clean, single-API wrapper around llmcompressor, coremltools, and llama.cpp.
The goal is to let you export to AWQ, GGUF, or Apple's CoreML without rewriting your pipeline or fighting with dependencies.
I need heavy LLM users to test this and tell me exactly where it fails. >
If you are currently converting heavy models or custom fine-tunes, please try running them through Qwodel. I am specifically looking for:
Edge cases: Which model architectures cause the wrapper to crash?
Dependency conflicts: Did it break your existing environment?
Missing pass-throughs: Are there specific llama.cpp or llmcompressor arguments you need exposed in the Qwodel API?
Read the Docs & Quickstart: http://docs.qwodel.com
Report Bugs / Contribute: www.github.com/qwodel/qwodel
Drop your error logs in the GitHub issues. Brutal feedback is welcome!