$ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoNLP"}' https://api-inference.huggingface.co/models/philschmid/RoBERTa-Banking77
Or Python API:
from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
model_id = 'philschmid/RoBERTa-Banking77'
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForSequenceClassification.from_pretrained(model_id)
classifier = pipeline('text-classification', tokenizer=tokenizer, model=model)
classifier('What is the base of the exchange rates?')
Runs of philschmid RoBERTa-Banking77 on huggingface.co
12
Total runs
2
24-hour runs
2
3-day runs
2
7-day runs
-7
30-day runs
More Information About RoBERTa-Banking77 huggingface.co Model
RoBERTa-Banking77 huggingface.co
RoBERTa-Banking77 huggingface.co is an AI model on huggingface.co that provides RoBERTa-Banking77's model effect (), which can be used instantly with this philschmid RoBERTa-Banking77 model. huggingface.co supports a free trial of the RoBERTa-Banking77 model, and also provides paid use of the RoBERTa-Banking77. Support call RoBERTa-Banking77 model through api, including Node.js, Python, http.
RoBERTa-Banking77 huggingface.co is an online trial and call api platform, which integrates RoBERTa-Banking77's modeling effects, including api services, and provides a free online trial of RoBERTa-Banking77, you can try RoBERTa-Banking77 online for free by clicking the link below.
philschmid RoBERTa-Banking77 online free url in huggingface.co:
RoBERTa-Banking77 is an open source model from GitHub that offers a free installation service, and any user can find RoBERTa-Banking77 on GitHub to install. At the same time, huggingface.co provides the effect of RoBERTa-Banking77 install, users can directly use RoBERTa-Banking77 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.