Feature Extraction
sentence-transformers
Safetensors
Transformers
mistral
sentence-similarity
mteb
Eval Results (legacy)
text-embeddings-inference
Instructions to use BAAI/bge-en-icl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use BAAI/bge-en-icl with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("BAAI/bge-en-icl") 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] - Transformers
How to use BAAI/bge-en-icl with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="BAAI/bge-en-icl")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("BAAI/bge-en-icl") model = AutoModel.from_pretrained("BAAI/bge-en-icl", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1719,7 +1719,7 @@ The technical report for **BGE-EN-ICL** can be found in [Making Text Embedders F
|
|
| 1719 |
|
| 1720 |
| Data | Introduction |
|
| 1721 |
| ------------------------------------------------------------ | ------------------------------------------------------------ |
|
| 1722 |
-
| [
|
| 1723 |
| [full-data](https://huggingface.co/datasets/cfli/bge-full-data) | The full dataset we used for training |
|
| 1724 |
|
| 1725 |
## Usage
|
|
|
|
| 1719 |
|
| 1720 |
| Data | Introduction |
|
| 1721 |
| ------------------------------------------------------------ | ------------------------------------------------------------ |
|
| 1722 |
+
| [public-data](https://huggingface.co/datasets/cfli/bge-e5data) | Public data identical to [e5-mistral](https://huggingface.co/intfloat/e5-mistral-7b-instruct) |
|
| 1723 |
| [full-data](https://huggingface.co/datasets/cfli/bge-full-data) | The full dataset we used for training |
|
| 1724 |
|
| 1725 |
## Usage
|