How to use DMetaSoul/Dmeta-embedding-zh-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="DMetaSoul/Dmeta-embedding-zh-small")
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("DMetaSoul/Dmeta-embedding-zh-small") model = AutoModel.from_pretrained("DMetaSoul/Dmeta-embedding-zh-small")
The community tab is the place to discuss and collaborate with the HF community!