Instructions to use SlothCodes/flan-t5-ppo-truthfulqa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use SlothCodes/flan-t5-ppo-truthfulqa with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("google/flan-t5-base") model = PeftModel.from_pretrained(base_model, "SlothCodes/flan-t5-ppo-truthfulqa") - Notebooks
- Google Colab
- Kaggle
File size: 142 Bytes
b4cd92a | 1 2 3 4 5 6 7 8 | {
"_from_model_config": true,
"decoder_start_token_id": 0,
"eos_token_id": 1,
"pad_token_id": 0,
"transformers_version": "4.36.2"
}
|