Instructions to use BAAI/bge-base-zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BAAI/bge-base-zh with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="BAAI/bge-base-zh")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("BAAI/bge-base-zh") model = AutoModel.from_pretrained("BAAI/bge-base-zh", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
0d90ab2 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:0a6f7fbaf3027936898e5f8532a1ee6d623568592f8b02635868f21613dbf30d
size 409138989
|