fanxiao commited on
Commit
f4a105c
1 Parent(s): a58d18d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -24,7 +24,7 @@ tokenizer_kwargs = {
24
 
25
  tokenizer = BertTokenizer.from_pretrained(model_name, **tokenizer_kwargs)
26
 
27
- model = BartForConditionalGeneration.from_pretrained('./CGRE_CNDBPedia-Generative-Relation-Extraction',local_files_only=True)
28
 
29
  inputs = tokenizer(sent, max_length=max_source_length, padding="max_length", truncation=True, return_tensors="pt")
30
 
 
24
 
25
  tokenizer = BertTokenizer.from_pretrained(model_name, **tokenizer_kwargs)
26
 
27
+ model = BartForConditionalGeneration.from_pretrained('./CGRE_CNDBPedia-Generative-Relation-Extraction')
28
 
29
  inputs = tokenizer(sent, max_length=max_source_length, padding="max_length", truncation=True, return_tensors="pt")
30