Feature Extraction
sentence-transformers
Safetensors
Transformers
gemma2
sentence-similarity
mteb
Eval Results (legacy)
Instructions to use BAAI/bge-multilingual-gemma2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use BAAI/bge-multilingual-gemma2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("BAAI/bge-multilingual-gemma2") 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-multilingual-gemma2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="BAAI/bge-multilingual-gemma2")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("BAAI/bge-multilingual-gemma2") model = AutoModel.from_pretrained("BAAI/bge-multilingual-gemma2") - Inference
- Notebooks
- Google Colab
- Kaggle
Further fine-tuning for domain adaptation
#12
by al-h - opened
Hello, thanks for the great work.
I have lexical specific data, would it be possible to further fine-tune the model on it using https://github.com/FlagOpen/FlagEmbedding/blob/master/examples/finetune/README.md ?
If not, do you have any documentation to do so ?
thanks for helping
For fine-tuning in domain adaptation , do the same rules apply as in the previos version of this model, or have they changed?