Update README.md
Browse files
README.md
CHANGED
@@ -22,7 +22,7 @@ import numpy as np
|
|
22 |
|
23 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
24 |
model_dir = "kfkas/RoBERTa-large-Detection-P2G"
|
25 |
-
tokenizer = AutoTokenizer.from_pretrained(
|
26 |
model = RobertaForSequenceClassification.from_pretrained(model_dir).to(device)
|
27 |
|
28 |
text = "μλ컀 νλμν λνν°λ© νμ°λ¬ μ΄λ¬λ¬ μ΄μμμ₯ μ λ¬Ό"
|
|
|
22 |
|
23 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
24 |
model_dir = "kfkas/RoBERTa-large-Detection-P2G"
|
25 |
+
tokenizer = AutoTokenizer.from_pretrained('klue/roberta-large')
|
26 |
model = RobertaForSequenceClassification.from_pretrained(model_dir).to(device)
|
27 |
|
28 |
text = "μλ컀 νλμν λνν°λ© νμ°λ¬ μ΄λ¬λ¬ μ΄μμμ₯ μ λ¬Ό"
|