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