Instructions to use silk-road/luotuo-bert-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use silk-road/luotuo-bert-medium with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="silk-road/luotuo-bert-medium", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("silk-road/luotuo-bert-medium", trust_remote_code=True) model = AutoModel.from_pretrained("silk-road/luotuo-bert-medium", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (6f3ed72c81ea6ae108546e662c16ce83f04bbb14) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>892cf0f
-
change the models.py
fd6a002 -
add the models.py
e16b4bd -
add the model
915e12e
-
add the model
c66dc07 -
initial commit
ffeef58