Update README.md
Browse files
README.md
CHANGED
@@ -46,7 +46,7 @@ table_name2 ...
|
|
46 |
|
47 |
Here is how to use this model to answer the question on a given context using 🤗 Transformers in PyTorch:
|
48 |
|
49 |
-
```
|
50 |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
51 |
|
52 |
model_path = 'gaussalgo/T5-LM-Large-text2sql-spider'
|
@@ -72,7 +72,7 @@ print(output_text)
|
|
72 |
|
73 |
The model has been trained using [Adaptor library](https://github.com/gaussalgo/adaptor) 0.2.1, on training splits of Spider and Spider-syn datasets with the following parameters:
|
74 |
|
75 |
-
```
|
76 |
training_arguments = AdaptationArguments(output_dir="train_dir",
|
77 |
learning_rate=5e-5,
|
78 |
stopping_strategy=StoppingStrategy.ALL_OBJECTIVES_CONVERGED,
|
|
|
46 |
|
47 |
Here is how to use this model to answer the question on a given context using 🤗 Transformers in PyTorch:
|
48 |
|
49 |
+
```python
|
50 |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
51 |
|
52 |
model_path = 'gaussalgo/T5-LM-Large-text2sql-spider'
|
|
|
72 |
|
73 |
The model has been trained using [Adaptor library](https://github.com/gaussalgo/adaptor) 0.2.1, on training splits of Spider and Spider-syn datasets with the following parameters:
|
74 |
|
75 |
+
```python
|
76 |
training_arguments = AdaptationArguments(output_dir="train_dir",
|
77 |
learning_rate=5e-5,
|
78 |
stopping_strategy=StoppingStrategy.ALL_OBJECTIVES_CONVERGED,
|