Nsql 2B by NumbersStation

 ยป  All LLMs  ยป  NumbersStation  ยป  Nsql 2B   URL Share it on

  Autotrain compatible   Codegen   Endpoints compatible   Pytorch   Region:us   Safetensors   Sharded   Tensorflow
Model Card on HF ๐Ÿค—: https://huggingface.co/NumbersStation/nsql-2B 

Nsql 2B Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").
Nsql 2B (NumbersStation/nsql-2B)

Nsql 2B Parameters and Internals

Model Type 
autoregressive, text-to-SQL generation
Use Cases 
Areas:
SQL generation tasks
Applications:
Database querying, Natural language to SQL conversion
Primary Use Cases:
Text-to-SQL generation, Database query formation
Considerations:
The model should be used with the defined prompt format for optimal results.
Additional Notes 
Model is fine-tuned for SQL generation with predefined prompt format and designed to output SELECT queries.
Training Details 
Data Sources:
The Stack, 20 public sources for text-to-SQL pairs
Data Volume:
1M training samples from The Stack
Methodology:
Cross-entropy loss for SQL generation tasks
Hardware Used:
80GB A100s
Model Architecture:
Autoregressive model
LLM NameNsql 2B
Repository ๐Ÿค—https://huggingface.co/NumbersStation/nsql-2B 
Model Size2b
Required VRAM11.3 GB
Updated2025-02-22
MaintainerNumbersStation
Model Typecodegen
Model Files  10.1 GB: 1-of-2   1.2 GB: 2-of-2   10.1 GB: 1-of-2   1.2 GB: 2-of-2
Generates CodeYes
Model ArchitectureCodeGenForCausalLM
Licensebsd-3-clause
Model Max Length2048
Transformers Version4.28.1
Tokenizer ClassGPT2Tokenizer
Vocabulary Size51200
Torch Data Typefloat32
Activation Functiongelu_new

Best Alternatives to Nsql 2B

Best Alternatives
Context / RAM
Downloads
Likes
...Python 18K Alpaca Full Dataset0K / 5.6 GB1070
Archgen 2B V10K / 5.6 GB80
Salesforce Codegen 2B Multi Ov0K / 11.1 GB90
Instruct Codegen 2B Multi0K / 11.3 GB131
Diff Codegen 2B V20K / 5.7 GB446
...en 2B Mono Instruct Py Revised0K / 11.3 GB21
Codegen 2B Mono Xlcost0K / 5.7 GB131
Codegen 2B Multi Xlcost0K / 5.7 GB1081
Fine Tuned Codegen 2B Verilog0K / 11.3 GB2577
Codegen 2B Multi0K / 5.7 GB277136
Note: green Score (e.g. "73.2") means that the model is better than NumbersStation/nsql-2B.

Rank the Nsql 2B Capabilities

๐Ÿ†˜ Have you tried this model? Rate its performance. This feedback would greatly assist ML community in identifying the most suitable model for their needs. Your contribution really does make a difference! ๐ŸŒŸ

Instruction Following and Task Automation  
Factuality and Completeness of Knowledge  
Censorship and Alignment  
Data Analysis and Insight Generation  
Text Generation  
Text Summarization and Feature Extraction  
Code Generation  
Multi-Language Support and Translation  

What open-source LLMs or SLMs are you in search of? 43470 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Release v20241227