Update README.md
Browse files
README.md
CHANGED
|
@@ -12,7 +12,7 @@ tags:
|
|
| 12 |
|
| 13 |
llama3-8b-code-sql-slerp is a merge of two fine tuned Llama 3 8B models for coding, intended to have a solid programming foundation with an expertise in SQL.
|
| 14 |
|
| 15 |
-
### Models Merged
|
| 16 |
|
| 17 |
Merge of pre-trained language models merged using the SLERP merge method with [mergekit](https://github.com/cg123/mergekit).
|
| 18 |
|
|
@@ -73,13 +73,15 @@ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
|
| 73 |
```
|
| 74 |
|
| 75 |
**Output**
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
llama3-8b-code-sql-slerp is a merge of two fine tuned Llama 3 8B models for coding, intended to have a solid programming foundation with an expertise in SQL.
|
| 14 |
|
| 15 |
+
### 🤏 Models Merged
|
| 16 |
|
| 17 |
Merge of pre-trained language models merged using the SLERP merge method with [mergekit](https://github.com/cg123/mergekit).
|
| 18 |
|
|
|
|
| 73 |
```
|
| 74 |
|
| 75 |
**Output**
|
| 76 |
+
```
|
| 77 |
+
\```sql
|
| 78 |
+
SELECT c.name, c.email
|
| 79 |
+
FROM customers c
|
| 80 |
+
JOIN sales s ON c.customer_id = s.customer_id
|
| 81 |
+
WHERE s.purchase_date >= DATE_SUB(CURRENT_DATE, INTERVAL 1 MONTH)
|
| 82 |
+
GROUP BY c.name, c.email
|
| 83 |
+
HAVING SUM(s.amount) > 1000;
|
| 84 |
+
\```
|
| 85 |
+
|
| 86 |
+
This query joins the 'customers' and'sales' tables on the 'customer_id' field, filters for sales made in the last month, groups the results by customer name and email, and then applies a condition to only include customers whose total purchase amount exceeds $1000. The result will be a list of names and email addresses for customers who have made purchases totaling over $1000 in the last month.
|
| 87 |
+
```
|