khang119966 commited on
Commit
21fc7fc
·
verified ·
1 Parent(s): f5ee113

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -254,7 +254,7 @@ Our training dataset. Because of label ambiguity, with UIT-VSMEC, UIT-ViCTSD, VO
254
  <td>65.54</td>
255
  </tr>
256
  <tr align="center">
257
- <td align="left"><b>5CD-AI/Vietnamese-sentiment-visobert-base</td>
258
  <td><b>88.06</td>
259
  <td><b>88.16</td>
260
  <td><b>88.06</td>
@@ -318,7 +318,7 @@ Our training dataset. Because of label ambiguity, with UIT-VSMEC, UIT-ViCTSD, VO
318
  <td>65.70</td>
319
  </tr>
320
  <tr align="center">
321
- <td align="left"><b>5CD-AI/Vietnamese-sentiment-visobert-base</td>
322
  <td><b>94.35</td>
323
  <td><b>94.74</td>
324
  <td><b>94.35</td>
@@ -346,7 +346,7 @@ Install `transformers` package:
346
  ### Pipeline
347
  ```python
348
  from transformers import pipeline
349
- model_path = '5CD-AI/vietnamese-sentiment-visobert'
350
  sentiment_task = pipeline("sentiment-analysis", model=model_path, tokenizer=model_path)
351
  sentiment_task("Miếng dán dễ xước , ko khít với dt 11 prm")
352
  ```
@@ -450,7 +450,7 @@ import numpy as np
450
  import torch
451
 
452
  #### Load model
453
- model_path = '5CD-AI/Vietnamese-sentiment-visobert-base'
454
  tokenizer = AutoTokenizer.from_pretrained(model_path)
455
  config = AutoConfig.from_pretrained(model_path)
456
  model = AutoModelForSequenceClassification.from_pretrained(model_path).to("cuda")
 
254
  <td>65.54</td>
255
  </tr>
256
  <tr align="center">
257
+ <td align="left"><b>5CD-AI/Vietnamese-Sentiment-visobert</td>
258
  <td><b>88.06</td>
259
  <td><b>88.16</td>
260
  <td><b>88.06</td>
 
318
  <td>65.70</td>
319
  </tr>
320
  <tr align="center">
321
+ <td align="left"><b>5CD-AI/Vietnamese-Sentiment-visobert</td>
322
  <td><b>94.35</td>
323
  <td><b>94.74</td>
324
  <td><b>94.35</td>
 
346
  ### Pipeline
347
  ```python
348
  from transformers import pipeline
349
+ model_path = '5CD-AI/Vietnamese-Sentiment-visobert'
350
  sentiment_task = pipeline("sentiment-analysis", model=model_path, tokenizer=model_path)
351
  sentiment_task("Miếng dán dễ xước , ko khít với dt 11 prm")
352
  ```
 
450
  import torch
451
 
452
  #### Load model
453
+ model_path = '5CD-AI/Vietnamese-Sentiment-visobert'
454
  tokenizer = AutoTokenizer.from_pretrained(model_path)
455
  config = AutoConfig.from_pretrained(model_path)
456
  model = AutoModelForSequenceClassification.from_pretrained(model_path).to("cuda")