Update README.md
Browse files
README.md
CHANGED
|
@@ -81,7 +81,7 @@ from premsql.agents.tools import SimpleMatplotlibTool
|
|
| 81 |
from premsql.executors import SQLiteExecutor
|
| 82 |
|
| 83 |
text2_sqlmodel = Text2SQLGeneratorHF(
|
| 84 |
-
model_or_name_or_path="
|
| 85 |
experiment_name="test_generators",
|
| 86 |
device="cuda:0",
|
| 87 |
type="test"
|
|
@@ -128,7 +128,7 @@ dataset = bird_dataset = Text2SQLDataset(
|
|
| 128 |
|
| 129 |
# Define a generator
|
| 130 |
generator = Text2SQLGeneratorHF(
|
| 131 |
-
model_or_name_or_path="
|
| 132 |
experiment_name="test_generators",
|
| 133 |
device="cuda:0",
|
| 134 |
type="test"
|
|
@@ -172,9 +172,9 @@ we provide.
|
|
| 172 |
|
| 173 |
Prem-1B-SQL is trained using the following datasets:
|
| 174 |
|
| 175 |
-
1. [BirdBench Training dataset](https://bird-bench.github.io/) | Uploaded on [PremSQL datasets on HF](https://huggingface.co/datasets/
|
| 176 |
-
2. [Spider dataset](https://yale-lily.github.io/spider) | Uploaded on [PremSQL datasets on HF](https://huggingface.co/datasets/
|
| 177 |
-
3. [Domain specialization dataset, gathered and uploaded to PremSQL datasets](https://huggingface.co/datasets/
|
| 178 |
4. [Gretel AI synthetic dataset](https://huggingface.co/datasets/gretelai/synthetic_text_to_sql?row=0)
|
| 179 |
|
| 180 |
Additionally we made error handling datasets on top of these datasets to make the model learn from its errors and self correct them.
|
|
|
|
| 81 |
from premsql.executors import SQLiteExecutor
|
| 82 |
|
| 83 |
text2_sqlmodel = Text2SQLGeneratorHF(
|
| 84 |
+
model_or_name_or_path="prem-research/prem-1B-SQL",
|
| 85 |
experiment_name="test_generators",
|
| 86 |
device="cuda:0",
|
| 87 |
type="test"
|
|
|
|
| 128 |
|
| 129 |
# Define a generator
|
| 130 |
generator = Text2SQLGeneratorHF(
|
| 131 |
+
model_or_name_or_path="prem-research/prem-1B-SQL",
|
| 132 |
experiment_name="test_generators",
|
| 133 |
device="cuda:0",
|
| 134 |
type="test"
|
|
|
|
| 172 |
|
| 173 |
Prem-1B-SQL is trained using the following datasets:
|
| 174 |
|
| 175 |
+
1. [BirdBench Training dataset](https://bird-bench.github.io/) | Uploaded on [PremSQL datasets on HF](https://huggingface.co/datasets/prem-research/birdbench)
|
| 176 |
+
2. [Spider dataset](https://yale-lily.github.io/spider) | Uploaded on [PremSQL datasets on HF](https://huggingface.co/datasets/prem-research/spider)
|
| 177 |
+
3. [Domain specialization dataset, gathered and uploaded to PremSQL datasets](https://huggingface.co/datasets/prem-research/domains)
|
| 178 |
4. [Gretel AI synthetic dataset](https://huggingface.co/datasets/gretelai/synthetic_text_to_sql?row=0)
|
| 179 |
|
| 180 |
Additionally we made error handling datasets on top of these datasets to make the model learn from its errors and self correct them.
|