Downloads · 30 days
19
3% of all-time downloads
delayedkarma/mistral-7b-text-to-sql_full-model
mistral-7b-text-to-sql_full-model is a text generation model from delayedkarma. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
19
3% of all-time downloads
All-time downloads
674
Public
Parameters
7.2B
14.5 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors14.5 GB · 100%
From the Hugging Face model README
import torch
from datasets import load_dataset
from transformers import AutoTokenizer, AutoModelForCausalLM
# Load model directly
tokenizer = AutoTokenizer.from_pretrained("delayedkarma/mistral-7b-text-to-sql_full-model")
model = AutoModelForCausalLM.from_pretrained("delayedkarma/mistral-7b-text-to-sql_full-model")
text = "How many matched scored 3–6, 7–6(5), 6–3?"
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=40)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
The following hyperparameters were used during training: