jojo-ai-mst commited on
Commit
fe262c9
1 Parent(s): 04d745a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -2
README.md CHANGED
@@ -32,8 +32,6 @@ widget:
32
  # thai-opt350m-instruct
33
  a generative language model for thai language based on opt350m
34
 
35
- ![Thai Open Pretrained Transformer 350M - Generative](/thai-opt350m.png)
36
-
37
  **Thai-OPT350M-Instruct** is a fine-tuned pretrained transformer for **thai language** based on facebook/opt-350m.
38
 
39
  Dataset for thai-opt350m-instruct
@@ -63,6 +61,10 @@ User: อะไรคือวิธีที่ดีที่สุดใน
63
  # How to use
64
 
65
  ```python
 
 
 
 
66
  model = AutoModelForCausalLM.from_pretrained("jojo-ai-mst/thai-opt350m-instruct")
67
  tokenizer = AutoTokenizer.from_pretrained("jojo-ai-mst/thai-opt350m-instruct")
68
 
 
32
  # thai-opt350m-instruct
33
  a generative language model for thai language based on opt350m
34
 
 
 
35
  **Thai-OPT350M-Instruct** is a fine-tuned pretrained transformer for **thai language** based on facebook/opt-350m.
36
 
37
  Dataset for thai-opt350m-instruct
 
61
  # How to use
62
 
63
  ```python
64
+ # pip install transformers
65
+
66
+ from transformers import AutoModelForCausalLM,AutoTokenizer
67
+
68
  model = AutoModelForCausalLM.from_pretrained("jojo-ai-mst/thai-opt350m-instruct")
69
  tokenizer = AutoTokenizer.from_pretrained("jojo-ai-mst/thai-opt350m-instruct")
70