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