Commit
•
1f96480
1
Parent(s):
11a2aef
Update README.md (#5)
Browse files- Update README.md (1a3a076da7f7b2ae28314f10a9480e0f7ded0544)
Co-authored-by: Suphanat Wongsanuphat <suphanatwong@users.noreply.huggingface.co>
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
|