Instructions to use silk-road/luotuo-bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use silk-road/luotuo-bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="silk-road/luotuo-bert", 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", trust_remote_code=True) model = AutoModel.from_pretrained("silk-road/luotuo-bert", 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 (a21bc33e7be5641d2bf2d31b3d43b3dc5d9285ec) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>5f2d82a
-
first version
ubuntubbd6d64 -
initial commit
30cba57