DHBaek commited on
Commit
6718cc7
โ€ข
1 Parent(s): cfd2662

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -14,8 +14,8 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
14
  tokenizer = AutoTokenizer.from_pretrained("ainize/klue-bert-base-re")
15
  model = AutoModelForSequenceClassification.from_pretrained("ainize/klue-bert-base-re")
16
 
17
- # Add "<subj>", "</subj>" to both ends of the subject object and "<obj>", "</obj>" to both ends of the object object.
18
- sentence = "<subj>์†ํฅ๋ฏผ</subj>์€ <obj>๋Œ€ํ•œ๋ฏผ๊ตญ</obj>์—์„œ ํƒœ์–ด๋‚ฌ๋‹ค."
19
 
20
  encodings = tokenizer(sentence,
21
  max_length=128,
14
  tokenizer = AutoTokenizer.from_pretrained("ainize/klue-bert-base-re")
15
  model = AutoModelForSequenceClassification.from_pretrained("ainize/klue-bert-base-re")
16
 
17
+ # Add "&ltsubj&gt", "&lt/subj&gt" to both ends of the subject object and "&ltobj&gt", "&lt/obj&gt" to both ends of the object object.
18
+ sentence = "&ltsubj&gt์†ํฅ๋ฏผ&lt/subj&gt์€ &ltobj&gt๋Œ€ํ•œ๋ฏผ๊ตญ&lt/obj&gt์—์„œ ํƒœ์–ด๋‚ฌ๋‹ค."
19
 
20
  encodings = tokenizer(sentence,
21
  max_length=128,