Update README.md
Browse files
README.md
CHANGED
@@ -19,9 +19,8 @@ programming_language:
|
|
19 |
- TypeScript
|
20 |
library_name: transformers
|
21 |
tags:
|
22 |
-
- deberta
|
23 |
- deberta-v3
|
24 |
-
|
25 |
datasets:
|
26 |
- wikipedia
|
27 |
- EleutherAI/pile
|
@@ -29,9 +28,9 @@ datasets:
|
|
29 |
- mc4
|
30 |
metrics:
|
31 |
- accuracy
|
32 |
-
mask_token: "[MASK]"
|
33 |
-
widget:
|
34 |
-
|
35 |
---
|
36 |
|
37 |
# Model Card for Japanese DeBERTa V3 base
|
@@ -50,9 +49,9 @@ tokenizer = AutoTokenizer.from_pretrained('ku-nlp/deberta-v3-base-japanese')
|
|
50 |
model = AutoModelForMaskedLM.from_pretrained('ku-nlp/deberta-v3-base-japanese')
|
51 |
|
52 |
sentences = [
|
53 |
-
"
|
54 |
-
"I
|
55 |
-
'int main() { printf("Hello,
|
56 |
]
|
57 |
encodings = tokenizer(sentences, return_tensors='pt')
|
58 |
...
|
|
|
19 |
- TypeScript
|
20 |
library_name: transformers
|
21 |
tags:
|
|
|
22 |
- deberta-v3
|
23 |
+
# - token-classification
|
24 |
datasets:
|
25 |
- wikipedia
|
26 |
- EleutherAI/pile
|
|
|
28 |
- mc4
|
29 |
metrics:
|
30 |
- accuracy
|
31 |
+
# mask_token: "[MASK]"
|
32 |
+
# widget:
|
33 |
+
# - text: "京都大学で機械言語処理を研究する。"
|
34 |
---
|
35 |
|
36 |
# Model Card for Japanese DeBERTa V3 base
|
|
|
49 |
model = AutoModelForMaskedLM.from_pretrained('ku-nlp/deberta-v3-base-japanese')
|
50 |
|
51 |
sentences = [
|
52 |
+
"京都大学で自然言語処理を研究する。",
|
53 |
+
"I research NLP at Kyoto University.",
|
54 |
+
'int main() { printf("Hello, world!"); return 0; }',
|
55 |
]
|
56 |
encodings = tokenizer(sentences, return_tensors='pt')
|
57 |
...
|