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