Spaces:
Sleeping
Sleeping
File size: 185 Bytes
0fe2213 |
1 2 3 4 5 |
from transformers import AutoTokenizer, AutoModel
model_name = 'intfloat/e5-base-v2'
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name) |