$ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoTrain"}' https://api-inference.huggingface.co/models/lewtun/autotrain-my-eval-project-615-5694363
Or Python API:
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("lewtun/autotrain-my-eval-project-615-5694363", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("lewtun/autotrain-my-eval-project-615-5694363", use_auth_token=True)
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
outputs = model(**inputs)
Runs of lewtun test-hub-pr-1 on huggingface.co
21
Total runs
0
24-hour runs
0
3-day runs
1
7-day runs
16
30-day runs
More Information About test-hub-pr-1 huggingface.co Model
test-hub-pr-1 huggingface.co
test-hub-pr-1 huggingface.co is an AI model on huggingface.co that provides test-hub-pr-1's model effect (), which can be used instantly with this lewtun test-hub-pr-1 model. huggingface.co supports a free trial of the test-hub-pr-1 model, and also provides paid use of the test-hub-pr-1. Support call test-hub-pr-1 model through api, including Node.js, Python, http.
test-hub-pr-1 huggingface.co is an online trial and call api platform, which integrates test-hub-pr-1's modeling effects, including api services, and provides a free online trial of test-hub-pr-1, you can try test-hub-pr-1 online for free by clicking the link below.
lewtun test-hub-pr-1 online free url in huggingface.co:
test-hub-pr-1 is an open source model from GitHub that offers a free installation service, and any user can find test-hub-pr-1 on GitHub to install. At the same time, huggingface.co provides the effect of test-hub-pr-1 install, users can directly use test-hub-pr-1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.