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