AryanLala/autonlp-data-Scientific_Title_Generator
Preview โข Updated โข 219 โข 2
How to use AryanLala/autonlp-Scientific_Title_Generator-34558227 with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("AryanLala/autonlp-Scientific_Title_Generator-34558227")
model = AutoModelForSeq2SeqLM.from_pretrained("AryanLala/autonlp-Scientific_Title_Generator-34558227")You can use cURL to access this model:
$ curl -X POST -H "Authorization: Bearer YOUR_HUGGINGFACE_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoNLP"}' /static-proxy?url=https%3A%2F%2Fapi-inference.huggingface.co%2FAryanLala%2Fautonlp-Scientific_Title_Generator-34558227