Instructions to use jsm33/irony-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jsm33/irony-classifier with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, RobertaForSequenceClassificationWithSentiment tokenizer = AutoTokenizer.from_pretrained("jsm33/irony-classifier") model = RobertaForSequenceClassificationWithSentiment.from_pretrained("jsm33/irony-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download bpe.codes from jsm33/irony-classifier: direct link, hf CLI and curl.
- Browser
- Download file 1.08 MB
-
https://huggingface.co/jsm33/irony-classifier/resolve/main/bpe.codes
- Command line
-
hf download hf://jsm33/irony-classifier/bpe.codes
-
curl -L -o bpe.codes https://huggingface.co/jsm33/irony-classifier/resolve/main/bpe.codes
1.08 MB
File too large to display, you can check the raw version instead.