Instructions to use NbAiLabArchive/test_w5_long_roberta_tokenizer_adafactor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NbAiLabArchive/test_w5_long_roberta_tokenizer_adafactor with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="NbAiLabArchive/test_w5_long_roberta_tokenizer_adafactor")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("NbAiLabArchive/test_w5_long_roberta_tokenizer_adafactor") model = AutoModelForMaskedLM.from_pretrained("NbAiLabArchive/test_w5_long_roberta_tokenizer_adafactor", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from NbAiLabArchive/test_w5_long_roberta_tokenizer_adafactor: direct link, hf CLI and curl.
- Browser
- Download file 1.39 MB
-
https://huggingface.co/NbAiLabArchive/test_w5_long_roberta_tokenizer_adafactor/resolve/main/tokenizer.json
- Command line
-
hf download hf://NbAiLabArchive/test_w5_long_roberta_tokenizer_adafactor/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/NbAiLabArchive/test_w5_long_roberta_tokenizer_adafactor/resolve/main/tokenizer.json
1.39 MB
File too large to display, you can check the raw version instead.