Instructions to use hattran/bloom-560m_PROMPT_TUNING_CAUSAL_LM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use hattran/bloom-560m_PROMPT_TUNING_CAUSAL_LM with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("bigscience/bloom-560m") model = PeftModel.from_pretrained(base_model, "hattran/bloom-560m_PROMPT_TUNING_CAUSAL_LM") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Add base_model information to model
#1 opened almost 3 years ago
by
librarian-bot