suphanatwong
commited on
Commit
•
1a3a076
1
Parent(s):
11a2aef
Update README.md
Browse files
README.md
CHANGED
@@ -37,10 +37,13 @@ pipeline_tag: table-question-answering
|
|
37 |
|
38 |
The Tubular Question Answering Large Language Model is based on OpenThaiGPT and fine-tuned for converting natural language questions into SQL queries. It learns to map the nuances of Thai language to SQL structures, enabling efficient retrieval of information from databases.
|
39 |
|
40 |
-
|
41 |
-
|
42 |
-
|
|
|
43 |
device_map="auto")
|
|
|
|
|
44 |
|
45 |
|
46 |
### Recommendations
|
|
|
37 |
|
38 |
The Tubular Question Answering Large Language Model is based on OpenThaiGPT and fine-tuned for converting natural language questions into SQL queries. It learns to map the nuances of Thai language to SQL structures, enabling efficient retrieval of information from databases.
|
39 |
|
40 |
+
```python
|
41 |
+
>>> model2_path ="AIAT/The_Scamper-opt70bqt"
|
42 |
+
>>> tokenizer = AutoTokenizer.from_pretrained(model2_path, padding_side="right",use_fast=False)
|
43 |
+
>>> model = AutoModelForCausalLM.from_pretrained(model2_path,
|
44 |
device_map="auto")
|
45 |
+
```
|
46 |
+
|
47 |
|
48 |
|
49 |
### Recommendations
|