Instructions to use HugoGiddins/roberta-base-timeframe-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use HugoGiddins/roberta-base-timeframe-classifier with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("vinai/bertweet-base") model = PeftModel.from_pretrained(base_model, "HugoGiddins/roberta-base-timeframe-classifier") - Notebooks
- Google Colab
- Kaggle
Download added_tokens.json from HugoGiddins/roberta-base-timeframe-classifier: direct link, hf CLI and curl.
- Browser
- Download file 22 Bytes
-
https://huggingface.co/HugoGiddins/roberta-base-timeframe-classifier/resolve/main/added_tokens.json
- Command line
-
hf download hf://HugoGiddins/roberta-base-timeframe-classifier/added_tokens.json
-
curl -L -o added_tokens.json https://huggingface.co/HugoGiddins/roberta-base-timeframe-classifier/resolve/main/added_tokens.json
22 Bytes
| { | |
| "<mask>": 64000 | |
| } | |