Updated tokenizer
Browse files
README.md
CHANGED
|
@@ -212,7 +212,7 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
| 212 |
# Load the fine-tuned model and tokenizer
|
| 213 |
model_name = "aarohanverma/text2sql-flan-t5-base-qlora-finetuned"
|
| 214 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_name, torch_dtype=torch.bfloat16).to(device)
|
| 215 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
| 216 |
|
| 217 |
# Ensure decoder start token is set
|
| 218 |
if model.config.decoder_start_token_id is None:
|
|
|
|
| 212 |
# Load the fine-tuned model and tokenizer
|
| 213 |
model_name = "aarohanverma/text2sql-flan-t5-base-qlora-finetuned"
|
| 214 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_name, torch_dtype=torch.bfloat16).to(device)
|
| 215 |
+
tokenizer = AutoTokenizer.from_pretrained("aarohanverma/text2sql-flan-t5-base-qlora-finetuned")
|
| 216 |
|
| 217 |
# Ensure decoder start token is set
|
| 218 |
if model.config.decoder_start_token_id is None:
|