Instructions to use kinshuk-h/flan-t5-retacred-kg-direct-peft-qlora-bnb-w-context-large-finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use kinshuk-h/flan-t5-retacred-kg-direct-peft-qlora-bnb-w-context-large-finetuned with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("google/flan-t5-large") model = PeftModel.from_pretrained(base_model, "kinshuk-h/flan-t5-retacred-kg-direct-peft-qlora-bnb-w-context-large-finetuned") - Notebooks
- Google Colab
- Kaggle
File size: 474 Bytes
a5df7ba c07236a a5df7ba aa13305 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ---
library_name: peft
base_model: google/flan-t5-large
---
---
license: mit
language:
- en
pipeline_tag: text2text-generation
tags:
- legal
---
# flan-t5-retacred-kg-direct-peft-qlora-bnb-w-context-large-finetuned
[flan-t5-large](https://huggingface.co/google/flan-t5-large) finetuned over the TACRED corpus patched as per the [Re-TACRED proposal](https://github.com/gstoica27/re-tacred) using direct concise query prompts with additional context alongside the prompts.
|