How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf StellaYoon/data-sql-7b-oracle-postgresql:Q4_K_M
# Run inference directly in the terminal:
llama-cli -hf StellaYoon/data-sql-7b-oracle-postgresql:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf StellaYoon/data-sql-7b-oracle-postgresql:Q4_K_M
# Run inference directly in the terminal:
llama-cli -hf StellaYoon/data-sql-7b-oracle-postgresql:Q4_K_M
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf StellaYoon/data-sql-7b-oracle-postgresql:Q4_K_M
# Run inference directly in the terminal:
./llama-cli -hf StellaYoon/data-sql-7b-oracle-postgresql:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf StellaYoon/data-sql-7b-oracle-postgresql:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama-cli -hf StellaYoon/data-sql-7b-oracle-postgresql:Q4_K_M
Use Docker
docker model run hf.co/StellaYoon/data-sql-7b-oracle-postgresql:Q4_K_M
Quick Links

data-sql-7b-oracle-postgresql

This model is a fine-tuned version of Chinastark/DatA-SQL-7B on an unknown dataset.

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 0.0002
  • train_batch_size: 4
  • eval_batch_size: 8
  • seed: 42
  • gradient_accumulation_steps: 4
  • total_train_batch_size: 16
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_steps: 100
  • num_epochs: 3

Training results

Framework versions

  • PEFT 0.13.0
  • Transformers 4.45.0
  • Pytorch 2.9.0+cu126
  • Datasets 3.1.0
  • Tokenizers 0.20.3
Downloads last month
5
GGUF
Model size
8B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for StellaYoon/data-sql-7b-oracle-postgresql

Adapter
(1)
this model