Update README.md
Browse files123456789101112131415161718123 unmodified lines142143144145---library_name: transformerstags: []---# Prem-1B-SQLPrem-1B-SQL is the one of the very first series of fully local Text-to-SQL models developed by Prem AI. Being a 1B parameter modelit easily fits on low GPU devices (and CPU devices when quantized). We believe that AI assisted data analysis should be a Local firstapproach. Because exposing Databases to third party closed source models can lead to data security breaches. We will be publishing someof the public benchmarks results of this model very soon. We will also be iterating on this model for more better results.- **Developed by:** [Prem AI](https://www.premai.io/)- **License:** [MIT]## How to use Prem-1B-SQL123 unmodified lines## Evaluation results of Prem-1B-SQLThe results of Prem-1B-SQL on some public benchmarks will be published soon.1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859123 unmodified lines183184185186---library_name: transformersdatasets:- premai-io/spider- premai-io/domains- premai-io/birdbench- gretelai/synthetic_text_to_sqlmetrics:- accuracybase_model:- deepseek-ai/deepseek-coder-1.3b-instructpipeline_tag: text2text-generation---# Prem-1B-SQLPrem-1B-SQL is one of the very first series of fully local Text-to-SQL models developed by Prem AI. Being a 1B parameter modelit easily fits on low GPU devices (and CPU devices when quantized). We believe that AI assisted data analysis should be a Local firstapproach. Because exposing Databases to third-party closed-source models can lead to data security breaches. We will be publishing someof the public benchmark results of this model very soon. We will also be iterating on this model for more better results.- **Developed by:** [Prem AI](https://www.premai.io/)- **License:** [MIT]## ResultsWe evaluated our model on two popular benchmark datasets: BirdBench and Spider. BirdBench consists of a public validation dataset (with 1534 data points) and a private test dataset. Spider comes up with only a public validation dataset. Here are the results:| Dataset | Execution Accuracy ||--------------------------|--------------------|| BirdBench (validation) | 46% || BirdBench (private test) | 51.54% || Spider | 85% |The BirdBench dataset is distributed across different difficulty levels. Here is a detailed view of the private results across different difficulty levels.| Difficulty | Count | EX | Soft F1 ||-------------|-------|---------|---------|| Simple | 949 | 60.70 | 61.48 || Moderate | 555 | 47.39 | 49.06 || Challenging | 285 | 29.12 | 31.83 || Total | 1789 | 51.54 | 52.90 |Here is a more detailed comparison of popular closed- and open-source models.| Model | # Params (in Billion) | BirdBench Test Scores ||-------------------------------|-----------------------|-----------------------|| AskData + GPT-4o (current winner) | NA | 72.39 || DeepSeek coder 236B | 236 | 56.68 || GPT-4 (2023) | NA | 54.89 || **PremSQL 1B (ours)** | 1 | 51.4 || Qwen 2.5 7B Instruct | 7 | 51.1 || Claude 2 Base (2023) | NA | 49.02 |## How to use Prem-1B-SQL123 unmodified lines## Evaluation results of Prem-1B-SQLThe results of Prem-1B-SQL on some public benchmarks will be published soon.
README.md+46-5