初始化项目,由ModelHub XC社区提供模型
Model: cahaj/Phi-3.5-mini-instruct-text2sql-GGUF Source: Original Platform
This commit is contained in:
35
README.md
Normal file
35
README.md
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
base_model: microsoft/Phi-3.5-mini-instruct
|
||||
language:
|
||||
- en
|
||||
license: apache-2.0
|
||||
tags:
|
||||
- text-generation-inference
|
||||
- transformers
|
||||
- unsloth
|
||||
- llama
|
||||
- trl
|
||||
- ollama
|
||||
- text2sql
|
||||
datasets:
|
||||
- Clinton/Text-to-sql-v1
|
||||
---
|
||||
|
||||
# Phi3.5 text2sql
|
||||
|
||||
- **Developed by:** cahaj
|
||||
- **License:** apache-2.0
|
||||
- **Finetuned from model:** microsoft/Phi-3.5-mini-instruct
|
||||
- **Dataset:** Clinton/Text-to-sql-v1
|
||||
- **LoRa:** 64/64
|
||||
|
||||
## Training template
|
||||
```py
|
||||
prompt = """<|system|>
|
||||
You are a SQL database query generator. User provides you with sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables.<|end|>
|
||||
<|user|>
|
||||
{}
|
||||
SQL table schema: {}<|end|>
|
||||
<|assistant|>
|
||||
{}<|end|>"""
|
||||
```
|
||||
Reference in New Issue
Block a user