File size: 2,045 Bytes
c1dda0b
 
fcf27f8
 
c1dda0b
 
fcf27f8
c1dda0b
fcf27f8
c1dda0b
 
 
 
 
 
 
 
 
 
fcf27f8
 
 
 
c1dda0b
 
fcf27f8
 
 
c1dda0b
 
 
fcf27f8
c1dda0b
fcf27f8
c1dda0b
 
 
fcf27f8
c1dda0b
 
 
fcf27f8
c1dda0b
fcf27f8
c1dda0b
 
 
 
 
fcf27f8
c1dda0b
fcf27f8
 
 
c1dda0b
 
 
fcf27f8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
library_name: transformers
license: cc-by-sa-4.0
pipeline_tag: text-generation
---

# Model Card for SQLCoder-70B-Alpha

A capable large language model for natural language to SQL generation. Outperforms all generalist models (including GPT-4) on text to SQL.


## Model Details

### Model Description

<!-- Provide a longer summary of what this model is. -->

This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.

- **Developed by:** [Defog, Inc](https://defog.ai)
- **Model type:** [Text to SQL]
- **License:** [CC-by-SA-4.0]
- **Finetuned from model:** [CodeLlama-70B]

### Model Sources [optional]
- **HuggingFace:** [https://huggingface.co/defog/sqlcoder-70b-alpha]
- **GitHub:** [https://github.com/defog-ai/sqlcoder]
- **Demo:** [https://defog.ai/sqlcoder-demo/]

## Uses

This model is intended to be used by non-technical users to understand data inside their SQL databases. It is meant as an analytics tool, and not as a database admin tool.

This model has not been trained to reject malicious requests from users with write access to databases, and should only be used by users with read-only access.

## How to Get Started with the Model

Use the code [here](https://github.com/defog-ai/sqlcoder/blob/main/inference.py) to get started with the model.

## Evaluation

This model was evaluated on [SQL-Eval](https://github.com/defog-ai/sql-eval), a PostgreSQL based evaluation framework developed by Defog for testing and alignment of model capabilities.

You can read more about the methodology behind SQLEval [here](https://defog.ai/blog/open-sourcing-sqleval/).

### Results

[More Information Needed]

## Model Card Authors

- [Rishabh Srivastava](https://twitter.com/rishdotblog)
- [Wendy Aw](https://www.linkedin.com/in/wendyaw/)
- [Wong Jing Ping](https://www.linkedin.com/in/jing-ping-wong/)

## Model Card Contact

Contact us on X at [@defogdata](https://twitter.com/defogdata), or on email at [[email protected]](mailto:[email protected])