Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language: vi
|
3 |
+
tags:
|
4 |
+
- vi
|
5 |
+
- vietnamese
|
6 |
+
- gpt2
|
7 |
+
- text-generation
|
8 |
+
- lm
|
9 |
+
- nlp
|
10 |
+
datasets:
|
11 |
+
- oscar
|
12 |
+
widget:
|
13 |
+
- text: "生命、宇宙、そして万物についての究極の疑問の答えは"
|
14 |
+
---
|
15 |
+
|
16 |
+
# How to use the model
|
17 |
+
|
18 |
+
~~~~
|
19 |
+
from transformers import GPT2Tokenizer, AutoModelForCausalLM
|
20 |
+
|
21 |
+
tokenizer = GPT2Tokenizer.from_pretrained("nhanv/vi-gpt2")
|
22 |
+
|
23 |
+
model = AutoModelForCausalLM.from_pretrained("nhanv/vi-gpt2")
|
24 |
+
~~~~
|
25 |
+
|
26 |
+
# Model architecture
|
27 |
+
A 12-layer, 768-hidden-size transformer-based language model.
|