How to use from the
Use from the
Transformers library
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModel

tokenizer = AutoTokenizer.from_pretrained("GanymedeNil/text2vec-large-chinese")
model = AutoModel.from_pretrained("GanymedeNil/text2vec-large-chinese", device_map="auto")
Quick Links

Based on the derivative model of https://huggingface.co/shibing624/text2vec-base-chinese, replace MacBERT with LERT, and keep other training conditions unchanged。

News

2024-06-25 text2vec-large-chinese onnxruntime version.

Talk to me: https://twitter.com/GanymedeNil

Downloads last month
2,009
Safetensors
Model size
0.3B params
Tensor type
I64
Β·
F32
Β·
Inference Providers NEW

Model tree for GanymedeNil/text2vec-large-chinese

Finetunes
1 model
Quantizations
2 models

Spaces using GanymedeNil/text2vec-large-chinese 100