🤖 feature-extraction

all-MiniLM-L6-v2

Xenova/all-MiniLM-L6-v2

Get AI Model →
3.7M
Downloads
�����
120
Likes
�����
8
Tags
📦
transformers.js
Library
Model Details
Full Model IDXenova/all-MiniLM-L6-v2
Pipeline / Taskfeature-extraction
Librarytransformers.js
Downloads (all-time)3.7M
Likes120
Last Modified7/22/2025
Author / OrgXenova
PrivateNo � public
⚡ Quick Usage (Python)

Using the 🤗 Transformers library. Install with pip install transformers

from transformers import pipeline

# Load the model
pipe = pipeline("feature-extraction", model="Xenova/all-MiniLM-L6-v2")

# Run inference
result = pipe("Your input here")
print(result)
����� Tags
transformers.jsonnxbertfeature-extractionbase_model:sentence-transformers/all-MiniLM-L6-v2base_model:quantized:sentence-transformers/all-MiniLM-L6-v2license:apache-2.0region:us
More feature-extraction Models
See all →
all-MiniLM-L6-v2

sentence-transformers/all-MiniLM-L6-v2

261.7M����� 4.9K
Get AI Model →
bge-small-en-v1.5

BAAI/bge-small-en-v1.5

52.6M����� 473
Get AI Model →
paraphrase-multilingual-MiniLM-L12-v2

sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2

49.4M����� 1.2K
Get AI Model →
🚀 Use This Model

Access model files, inference API, and full documentation on Hugging Face.

Open on Hugging Face →Browse Model Files ↗�� Browse All Models
🤖 Task: feature-extraction

This model is designed for the feature-extraction task. Explore more models for this use case.

All feature-extraction Models →
📊 Popularity
Downloads3.7M
����� Community Likes120
🛠�� Requirements
  • Install: pip install transformers.js
  • Python 3.8+ recommended for Transformers.
  • GPU (CUDA) speeds up inference significantly.
  • Use model.half() for fp16 on limited VRAM.
👋 Need help with code?