Instructions to use hfl/chinese-roberta-wwm-ext-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hfl/chinese-roberta-wwm-ext-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="hfl/chinese-roberta-wwm-ext-large", device_map="auto")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("hfl/chinese-roberta-wwm-ext-large") model = AutoModelForMaskedLM.from_pretrained("hfl/chinese-roberta-wwm-ext-large", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Ctrl+K
hfl-rc
Merge branch 'main' of https://huggingface.co/hfl/chinese-roberta-wwm-ext-large into main
a25cc9e