Update README.md
Browse files
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
base_model:
|
3 |
language:
|
4 |
- en
|
5 |
license: apache-2.0
|
@@ -9,14 +9,31 @@ tags:
|
|
9 |
- unsloth
|
10 |
- llama
|
11 |
- trl
|
|
|
|
|
|
|
|
|
12 |
---
|
13 |
|
14 |
-
#
|
15 |
|
16 |
- **Developed by:** cahaj
|
17 |
- **License:** apache-2.0
|
18 |
-
- **Finetuned from model :**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
|
21 |
|
22 |
-
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|
|
|
1 |
---
|
2 |
+
base_model: microsoft/Phi-3.5-mini-instruct
|
3 |
language:
|
4 |
- en
|
5 |
license: apache-2.0
|
|
|
9 |
- unsloth
|
10 |
- llama
|
11 |
- trl
|
12 |
+
- ollama
|
13 |
+
- text2sql
|
14 |
+
datasets:
|
15 |
+
- Clinton/Text-to-sql-v1
|
16 |
---
|
17 |
|
18 |
+
# Phi3.5 text2sql
|
19 |
|
20 |
- **Developed by:** cahaj
|
21 |
- **License:** apache-2.0
|
22 |
+
- **Finetuned from model :** microsoft/Phi-3.5-mini-instruct
|
23 |
+
- **Dataset :** Clinton/Text-to-sql-v1
|
24 |
+
- **LoRa :** 64/64
|
25 |
+
|
26 |
+
## Training template
|
27 |
+
```py
|
28 |
+
prompt = """<|system|>
|
29 |
+
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|>
|
30 |
+
<|user|>
|
31 |
+
{}
|
32 |
+
SQL table schema: {}<|end|>
|
33 |
+
<|assistant|>
|
34 |
+
{}<|end|>"""
|
35 |
+
```
|
36 |
|
37 |
This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
|
38 |
|
39 |
+
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|