Instructions to use dariadaria/reviews_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dariadaria/reviews_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dariadaria/reviews_classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dariadaria/reviews_classifier") model = AutoModelForSequenceClassification.from_pretrained("dariadaria/reviews_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload RobertaForSequenceClassification
6bfa193
-
Upload tokenizer
31a08b5 -
Upload RobertaForSequenceClassification
966a9bc -
Upload tokenizer
089d35f -
Upload RobertaForSequenceClassification
622cffe
-
Upload RobertaForSequenceClassification
74589cd -
Upload tokenizer
bb84a6b
-
Update handler.py
3d192a7
-
changed api. dropped list of texts
3702b9d -
added device to handler
6439837 -
Update README.md
d89e25d
-
reverse reshaping handler output
0f33f24 -
handler output reformating
3f14abd -
handler without datasets
f93531b -
batched handler
1aec583
-
fixed label to id mismatch
c0d4e65 -
handler import fix
02be092 -
Create handler.py
c14b84e -
fixed labels to ids
821fb54 -
Model card metadata
270b173 -
Model card metadata
0673e0e -
Upload tokenizer
4b81a96
-
Create README.md
8214e64 -
Upload RobertaForSequenceClassification
1973869 -
initial commit
3faf6ea