tykea commited on
Commit
6fb65a8
verified
1 Parent(s): 281407f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -40,8 +40,8 @@ The model supports a maximum sequence length of 512 tokens.
40
  ```python
41
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
42
 
43
- tokenizer = AutoTokenizer.from_pretrained("Tykea/khmer-text-sentiment-analysis-roberta")
44
- model = AutoModelForSequenceClassification.from_pretrained("Tykea/khmer-text-sentiment-analysis-roberta")
45
 
46
  text = "釣⑨瀭釣会瀻CADT"
47
  inputs = tokenizer(text, return_tensors="pt", truncation=True, max_length=512)
 
40
  ```python
41
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
42
 
43
+ tokenizer = AutoTokenizer.from_pretrained("tykea/khmer-text-sentiment-analysis-roberta")
44
+ model = AutoModelForSequenceClassification.from_pretrained("tykea/khmer-text-sentiment-analysis-roberta")
45
 
46
  text = "釣⑨瀭釣会瀻CADT"
47
  inputs = tokenizer(text, return_tensors="pt", truncation=True, max_length=512)