breadlicker45/autotrain-data-yahoo-answer-small
Preview • Updated • 9 • 1
How to use breadlicker45/yahoo-answers-small with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("breadlicker45/yahoo-answers-small", dtype="auto")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 AutoTrain"}' https://api-inference.huggingface.co/breadlicker45/autotrain-yahoo-answer-small-2422175450