Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
93932811
Commit
93932811
authored
Mar 19, 2020
by
Junyi_Li
Committed by
Julien Chaumond
Mar 18, 2020
Browse files
Create README.md
roberta_chinese_base card
parent
29442d2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
model_cards/clue/roberta_chinese_base/README.md
model_cards/clue/roberta_chinese_base/README.md
+31
-0
No files found.
model_cards/clue/roberta_chinese_base/README.md
0 → 100644
View file @
93932811
## roberta_chinese_base
### Overview
**Language model:**
roberta-base
**Model size:**
392M
**Language:**
Chinese
**Training data:**
[
CLUECorpusSmall
](
https://github.com/CLUEbenchmark/CLUECorpus2020
)
**Eval data:**
[
CLUE dataset
](
https://github.com/CLUEbenchmark/CLUE
)
### Results
For results on downstream tasks like text classification, please refer to
[
this repository
](
https://github.com/CLUEbenchmark/CLUE
)
.
### Usage
**NOTE:**
You have to call
**BertTokenizer**
instead of RobertaTokenizer !!!
```
import torch
from transformers import BertTokenizer, BertModel
tokenizer = BertTokenizer.from_pretrained("clue/roberta_chinese_base")
roberta = BertModel.from_pretrained("clue/roberta_chinese_base")
```
### About CLUE benchmark
Organization of Language Understanding Evaluation benchmark for Chinese: tasks & datasets, baselines, pre-trained Chinese models, corpus and leaderboard.
Github: https://github.com/CLUEbenchmark
Website: https://www.cluebenchmarks.com/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment