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