Instructions to use castorini/t5-base-canard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use castorini/t5-base-canard with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("castorini/t5-base-canard") model = AutoModelForSeq2SeqLM.from_pretrained("castorini/t5-base-canard") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
This model is trained for conversational question rewriting.
Usage:
Source text format: ${HISTORY} ||| ${CURRENT_QUESTION}
example from CANARD: Frank Zappa ||| Disbandment ||| What group disbanded ||| Zappa and the Mothers of Invention ||| When did they disband?
Target text: When did Zappa and the Mothers of Invention disband?
You can find our guide to reproduce the training in this repo.
- Downloads last month
- 941
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support