lunarlist commited on
Commit
54b5a91
1 Parent(s): a4d915a

fix example

Browse files
Files changed (1) hide show
  1. README.md +3 -2
README.md CHANGED
@@ -41,7 +41,7 @@ This model is train on thai pos_tag datasets to help with pos tagging in Thai la
41
 
42
  ## Example
43
 
44
- '''
45
  from transformers import AutoModelForTokenClassification, AutoTokenizer, TokenClassificationPipeline
46
 
47
  model = AutoModelForTokenClassification.from_pretrained("lunarlist/pos_thai")
@@ -50,7 +50,8 @@ tokenizer = AutoTokenizer.from_pretrained("lunarlist/pos_thai")
50
  pipeline = TokenClassificationPipeline(model=model, tokenizer=tokenizer, grouped_entities=True)
51
  outputs = pipeline("ภาษาไทย ง่าย นิดเดียว")
52
  print(outputs)
53
- '''
 
54
 
55
  ### Training hyperparameters
56
 
 
41
 
42
  ## Example
43
 
44
+ ~~~
45
  from transformers import AutoModelForTokenClassification, AutoTokenizer, TokenClassificationPipeline
46
 
47
  model = AutoModelForTokenClassification.from_pretrained("lunarlist/pos_thai")
 
50
  pipeline = TokenClassificationPipeline(model=model, tokenizer=tokenizer, grouped_entities=True)
51
  outputs = pipeline("ภาษาไทย ง่าย นิดเดียว")
52
  print(outputs)
53
+ ~~~
54
+
55
 
56
  ### Training hyperparameters
57