Instructions to use token-classifier/roBERTa-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use token-classifier/roBERTa-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="token-classifier/roBERTa-v2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("token-classifier/roBERTa-v2") model = AutoModelForTokenClassification.from_pretrained("token-classifier/roBERTa-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from token-classifier/roBERTa-v2: direct link, hf CLI and curl.
- Browser
- Download file 1.42 GB
-
https://huggingface.co/token-classifier/roBERTa-v2/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://token-classifier/roBERTa-v2/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/token-classifier/roBERTa-v2/resolve/main/pytorch_model.bin
1.42 GB
- Xet hash:
- 092522a733eb2d8f614eae5f5c4dbf3f47595817587db6da7a2821242d3394b3
- Size of remote file:
- 1.42 GB
- SHA256:
- 8d744fccbaf0a88489a4f5ad76d91e9286abcb6a9a0b4317c9723cf52b4b98a5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.