How to use from
Unsloth Studio
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh
# Run unsloth studio
unsloth studio -H 0.0.0.0 -p 8888
# Then open http://localhost:8888 in your browser
# Search for dan-text2sql/seoul-realestate-sql-agent-v2 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex
# Run unsloth studio
unsloth studio -H 0.0.0.0 -p 8888
# Then open http://localhost:8888 in your browser
# Search for dan-text2sql/seoul-realestate-sql-agent-v2 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required
# Open https://huggingface.co/spaces/unsloth/studio in your browser
# Search for dan-text2sql/seoul-realestate-sql-agent-v2 to start chatting
Load model with FastModel
pip install unsloth
from unsloth import FastModel
model, tokenizer = FastModel.from_pretrained(
    model_name="dan-text2sql/seoul-realestate-sql-agent-v2",
    max_seq_length=2048,
)
Quick Links

seoul-realestate-sql-agent-v2

Developed by: dan-text2sql
License: apache-2.0
Finetuned from model: unsloth/gemma-3-27b-it-bnb-4bit

This model is a Text-to-SQL agent specialized in Korean Real Estate (Seoul) data.
It was trained 2x faster with Unsloth and Huggingface's TRL library.

Model Description (v2)

This is the v2 version of the Seoul Real Estate SQL Agent.

  • Base Model: Gemma-3 27B (IT)
  • Improvement: Unlike v1 (Mistral-7B), this model leverages the massive 27B parameter size of Gemma-3.
  • Objective: Translate natural language queries about Seoul apartment real estate data into executable SQL queries.

Usage Example

from unsloth import FastLanguageModel

# Load the model
model, tokenizer = FastLanguageModel.from_pretrained(
    model_name = "dan-text2sql/seoul-realestate-sql-agent-v2",
    max_seq_length = 2048,
    dtype = None,
    load_in_4bit = True,
)
FastLanguageModel.for_inference(model)

# Test Prompt
prompt = """์•„๋ž˜ ์งˆ๋ฌธ์— ๋Œ€ํ•œ ์˜ฌ๋ฐ”๋ฅธ SQL ์ฟผ๋ฆฌ๋ฅผ ์ž‘์„ฑํ•ด์ฃผ์„ธ์š”.

### ์งˆ๋ฌธ:
์„œ์šธ์‹œ ๊ฐ•๋‚จ๊ตฌ ์‚ผ์„ฑ๋™์˜ 20์–ต ์ดํ•˜ ์•„ํŒŒํŠธ ๋งค๋ฌผ์„ ์ฐพ์•„์ค˜.

### SQL:
"""

inputs = tokenizer([prompt], return_tensors = "pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens = 128, use_cache = True)
print(tokenizer.batch_decode(outputs)[0])
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for dan-text2sql/seoul-realestate-sql-agent-v2

Finetuned
(14)
this model