Instructions to use doc2query/all-with_prefix-t5-base-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use doc2query/all-with_prefix-t5-base-v1 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("doc2query/all-with_prefix-t5-base-v1") model = AutoModelForSeq2SeqLM.from_pretrained("doc2query/all-with_prefix-t5-base-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download trainer_state.json from doc2query/all-with_prefix-t5-base-v1: direct link, hf CLI and curl.
- Browser
- Download file 730 kB
-
https://huggingface.co/doc2query/all-with_prefix-t5-base-v1/resolve/refs%2Fpr%2F1/trainer_state.json
- Command line
-
hf download hf://doc2query/all-with_prefix-t5-base-v1@refs/pr/1/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/doc2query/all-with_prefix-t5-base-v1/resolve/refs%2Fpr%2F1/trainer_state.json
730 kB
File too large to display, you can check the raw version instead.