kfkas commited on
Commit
2f3cb15
β€’
1 Parent(s): 25c0033

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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(model_dir)
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 = "μ›”λ“œμ»€ νŒŒλ‚˜μ€ν–‰ λŒ€ν‘œν‹°λ©” ν–‰μš°λŠ¬ μ΄λ‹¬λŸ¬ 이영영μž₯ μ„ λ¬Ό"