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