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: 135 Bytes
c66dc07 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:f97ebdf0199e3f56fac1a6cd07be8eaf6d5691961db60dbadf765819c97966ab
size 1308526197
|