Update README.md
Browse files
README.md
CHANGED
@@ -33,8 +33,8 @@ from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
|
33 |
model_name = "ssunbear/bert-base-finetuned-ynat-v2"
|
34 |
|
35 |
# 모델과 토크나이저 로드
|
36 |
-
tokenizer = AutoTokenizer.from_pretrained(
|
37 |
-
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
38 |
```
|
39 |
|
40 |
## 훈련 데이터
|
|
|
33 |
model_name = "ssunbear/bert-base-finetuned-ynat-v2"
|
34 |
|
35 |
# 모델과 토크나이저 로드
|
36 |
+
tokenizer = AutoTokenizer.from_pretrained("klue/bert-base")
|
37 |
+
model = AutoModelForSequenceClassification.from_pretrained(model_name, num_labels=7)
|
38 |
```
|
39 |
|
40 |
## 훈련 데이터
|