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)# 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
File size: 129 Bytes
c66dc07 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:d6af80fd09672dd29b0facf9856807334d2bdc623e79e4001ce1e108d2132487
size 3579
|