Update README.md
Browse files
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'
|
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 |
|