Instructions to use valhalla/t5-base-qg-hl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use valhalla/t5-base-qg-hl with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("valhalla/t5-base-qg-hl") model = AutoModelForSeq2SeqLM.from_pretrained("valhalla/t5-base-qg-hl", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download added_tokens.json from valhalla/t5-base-qg-hl: direct link, hf CLI and curl.
- Browser
- Download file 15 Bytes
-
https://huggingface.co/valhalla/t5-base-qg-hl/resolve/main/added_tokens.json
- Command line
-
hf download hf://valhalla/t5-base-qg-hl/added_tokens.json
-
curl -L -o added_tokens.json https://huggingface.co/valhalla/t5-base-qg-hl/resolve/main/added_tokens.json
15 Bytes
| {"<hl>": 32100} |