Instructions to use CounterNarratives/flan-t5-base_english_premises_no-strategy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CounterNarratives/flan-t5-base_english_premises_no-strategy with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("CounterNarratives/flan-t5-base_english_premises_no-strategy") model = AutoModelForSeq2SeqLM.from_pretrained("CounterNarratives/flan-t5-base_english_premises_no-strategy", device_map="auto") - Notebooks
- Google Colab
- Kaggle