fanxiao commited on
Commit
720b49d
1 Parent(s): e68a6b7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -3
README.md CHANGED
@@ -8,7 +8,7 @@
8
 
9
  ·easy to use,just like normal generation task.
10
 
11
- ·input is sentence,and output is linearlize triples,such as input:姚明是一名NBA篮球运动员 output:[subj]姚明[obj]NBA[rel]公司[obj]篮球运动员[rel]职业(more details can read on REBEL paper)
12
 
13
 
14
  using model:
@@ -25,5 +25,3 @@ tokenizer_kwargs = {
25
  tokenizer = BertTokenizer.from_pretrained(model_name, **tokenizer_kwargs)
26
 
27
 
28
- model = BartForConditionalGeneration.from_pretrained("fanxiao/rebel-base-chinese-cndbpedia")
29
-
 
8
 
9
  ·easy to use,just like normal generation task.
10
 
11
+ ·input is sentence,and output is linearlize triples,such as input:姚明是一名NBA篮球运动员 output:[subj]姚明[obj]NBA[rel]公司[obj]篮球运动员[rel]职业
12
 
13
 
14
  using model:
 
25
  tokenizer = BertTokenizer.from_pretrained(model_name, **tokenizer_kwargs)
26
 
27