copy from original repo 7fd9b52
Joao Gante commited on
How to use transformers-community/custom_generate_example with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("transformers-community/custom_generate_example", dtype="auto")