Instructions to use ybelkada/opt-125m-debug with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ybelkada/opt-125m-debug with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ybelkada/opt-125m-debug")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("ybelkada/opt-125m-debug") model = AutoModel.from_pretrained("ybelkada/opt-125m-debug", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update config.json
This makes it backward compatiblec681052
-
Change BOS token from 0 to 2 as BOS token is equal to EOS for OPT. See: https://github.com/huggingface/transformers/issues/17431 (#1)
ybelkada +1: patrickvonplaten - Change BOS token from 0 to 2 as BOS token is equal to EOS for OPT. See: https://github.com/huggingface/transformers/issues/17431 (57bc06d0f4b83079b66f1faf67f29b0157447764) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>ef108af
-
v1 - config
Younes Belkadaa80dcef -
v1 - model
Younes Belkadaef91513 -
Create README.md
Younes Belkada0e17657 -
initial commit
Younes Belkadaf8acd36