kfkas commited on
Commit
65c91f2
1 Parent(s): 8f6c674

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -20,7 +20,7 @@ OUTPUT = 각 label에 맞는 뉴스 기사 제목을 생성합니다.
20
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
21
 
22
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
23
- model_dir = "t5-base-korean-news-title-klue-ynat"
24
  tokenizer = AutoTokenizer.from_pretrained(model_dir)
25
  model = AutoModelForSeq2SeqLM.from_pretrained(model_dir)
26
  model.to(device)
 
20
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
21
 
22
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
23
+ model_dir = "kfkas/t5-base-korean-news-title-klue-ynat"
24
  tokenizer = AutoTokenizer.from_pretrained(model_dir)
25
  model = AutoModelForSeq2SeqLM.from_pretrained(model_dir)
26
  model.to(device)