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
f6d813aa
"...composable_kernel.git" did not exist on "a3115568cf4623626882330369b733cd11737a95"
Commit
f6d813aa
authored
Mar 19, 2020
by
Junyi_Li
Committed by
Julien Chaumond
Mar 18, 2020
Browse files
Create README.md
parent
93932811
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
model_cards/clue/albert_chinese_small/README.md
model_cards/clue/albert_chinese_small/README.md
+31
-0
No files found.
model_cards/clue/albert_chinese_small/README.md
0 → 100644
View file @
f6d813aa
## albert_chinese_small
### Overview
**Language model:**
albert-small
**Model size:**
18.5M
**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:**
Since sentencepiece is not used in
`albert_chinese_small`
model, you have to call
**BertTokenizer**
instead of AlbertTokenizer !!!
```
import torch
from transformers import BertTokenizer, AlbertModel
tokenizer = BertTokenizer.from_pretrained("clue/albert_chinese_small")
albert = AlbertModel.from_pretrained("clue/albert_chinese_small")
```
### 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