Instructions to use dani0f/quant_bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dani0f/quant_bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="dani0f/quant_bert")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("dani0f/quant_bert") model = AutoModelForMaskedLM.from_pretrained("dani0f/quant_bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
a5c0fb3 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:8400f6450bd2650cc28e881d3ac26282e242a7dae52b32a5887bc96f48132838
size 438127737
|