How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="adityarao1612/openhathi-sql-finetuned")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("adityarao1612/openhathi-sql-finetuned")
model = AutoModelForCausalLM.from_pretrained("adityarao1612/openhathi-sql-finetuned")
Quick Links

openhathi-sql-finetuned

This model is a fine-tuned version of sarvamai/OpenHathi-7B-Hi-v0.1-Base on ekshat/text-2-sql-with-context dataset. It achieves the following results on the evaluation set:

  • Training Loss: 0.4696
Downloads last month
2
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train adityarao1612/openhathi-sql-finetuned