Instructions to use mspoulaei/NLP_HF_Workshop_roberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mspoulaei/NLP_HF_Workshop_roberta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mspoulaei/NLP_HF_Workshop_roberta")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mspoulaei/NLP_HF_Workshop_roberta") model = AutoModelForSequenceClassification.from_pretrained("mspoulaei/NLP_HF_Workshop_roberta", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
5b523cd | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:bc9f160660cb002c2eb7bf640ff244e4bab587a52e85c60620db4deb302ccddc
size 498625128
|