Instructions to use GanymedeNil/text2vec-base-chinese-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GanymedeNil/text2vec-base-chinese-onnx with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="GanymedeNil/text2vec-base-chinese-onnx")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("GanymedeNil/text2vec-base-chinese-onnx") model = AutoModel.from_pretrained("GanymedeNil/text2vec-base-chinese-onnx") - Notebooks
- Google Colab
- Kaggle
text2vec-base-chinese-onnx
text2vec-base-chinese onnxruntime version.
It is recommended to use the adapted text2vec-onnx library for model inference.
- Downloads last month
- 16