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
32743c1 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:9f72112c7524e3a667c6cce07884b0fb1e1a61d75af0a72bad582c18c6cc5aaf
size 438085208
|