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 tokenizer.json from HugoGiddins/roberta-base-timeframe-classifier: direct link, hf CLI and curl.
- Browser
- Download file 3.56 MB
-
https://huggingface.co/HugoGiddins/roberta-base-timeframe-classifier/resolve/main/tokenizer.json
- Command line
-
hf download hf://HugoGiddins/roberta-base-timeframe-classifier/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/HugoGiddins/roberta-base-timeframe-classifier/resolve/main/tokenizer.json
3.56 MB
File too large to display, you can check the raw version instead.