Ksukhantharat suphanatwong commited on
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>

Files changed (1) hide show
  1. README.md +6 -3
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
- model2_path ="AIAT/The_Scamper-opt70bqt"
41
- tokenizer = AutoTokenizer.from_pretrained(model2_path, padding_side="right",use_fast=False)
42
- model = AutoModelForCausalLM.from_pretrained(model2_path,
 
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