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