juanfra218
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -9,14 +9,16 @@ base_model: google-t5/t5-base
|
|
9 |
metrics:
|
10 |
- exact_match
|
11 |
model-index:
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
20 |
---
|
21 |
|
22 |
# Fine-Tuned Google T5 Model for Text to SQL Translation
|
@@ -35,9 +37,23 @@ A fine-tuned version of the Google T5 model, trained for the task of translating
|
|
35 |
|
36 |
Currently working to implement PICARD (Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Models) to improve the results of this model. More details can be found in the original [PICARD paper](https://arxiv.org/abs/2109.05093).
|
37 |
|
38 |
-
##
|
39 |
|
40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
|
42 |
## Usage
|
43 |
|
|
|
9 |
metrics:
|
10 |
- exact_match
|
11 |
model-index:
|
12 |
+
- name: juanfra218/text2sql
|
13 |
+
results:
|
14 |
+
- task:
|
15 |
+
type: text-to-sql
|
16 |
+
metrics:
|
17 |
+
- name: exact_match
|
18 |
+
type: exact_match
|
19 |
+
value: 0.4322
|
20 |
+
tags:
|
21 |
+
- sql
|
22 |
---
|
23 |
|
24 |
# Fine-Tuned Google T5 Model for Text to SQL Translation
|
|
|
37 |
|
38 |
Currently working to implement PICARD (Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Models) to improve the results of this model. More details can be found in the original [PICARD paper](https://arxiv.org/abs/2109.05093).
|
39 |
|
40 |
+
## Training Parameters
|
41 |
|
42 |
+
```
|
43 |
+
training_args = Seq2SeqTrainingArguments(
|
44 |
+
output_dir="./results",
|
45 |
+
evaluation_strategy="epoch",
|
46 |
+
learning_rate=2e-5,
|
47 |
+
per_device_train_batch_size=8,
|
48 |
+
per_device_eval_batch_size=8,
|
49 |
+
weight_decay=0.01,
|
50 |
+
save_total_limit=3,
|
51 |
+
num_train_epochs=3,
|
52 |
+
predict_with_generate=True,
|
53 |
+
fp16=True,
|
54 |
+
push_to_hub=False,
|
55 |
+
)
|
56 |
+
```
|
57 |
|
58 |
## Usage
|
59 |
|