PereLluis13 commited on
Commit
9bf109f
1 Parent(s): 64599f3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -2
README.md CHANGED
@@ -7,7 +7,26 @@ tags:
7
  - seq2seq
8
  license: cc-by-nc-sa-4.0
9
  ---
10
- To use the model with a pipeline:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  ```python3
12
  from transformers import pipeline
13
 
@@ -47,7 +66,8 @@ extracted_triplets = extract_triplets(extracted_text)
47
  print(extracted_triplets)
48
  ```
49
 
50
- Or using the transformers
 
51
  ```python3
52
 
53
  from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
 
7
  - seq2seq
8
  license: cc-by-nc-sa-4.0
9
  ---
10
+ # REBEL: Relation Extraction By End-to-end Language generation
11
+
12
+ This is the model card for the Findings of EMNLP 2021 paper REBEL: Relation Extraction By End-to-end Language generation. We present a new linearization aproach and a reframing of Relation Extraction as a seq2seq task. The paper can be found [here](https://github.com/Babelscape/rebel/blob/main/docs/EMNLP_2021_REBEL__Camera_Ready_.pdf). If you use the code, please reference this work in your paper:
13
+
14
+ @inproceedings{huguet-cabot-navigli-2021-rebel,
15
+ title = "REBEL: Relation Extraction By End-to-end Language generation",
16
+ author = "Huguet Cabot, Pere-Llu{\'\i}s and
17
+ Navigli, Roberto",
18
+ booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2021",
19
+ month = nov,
20
+ year = "2021",
21
+ address = "Online and in the Barceló Bávaro Convention Centre, Punta Cana, Dominican Republic",
22
+ publisher = "Association for Computational Linguistics",
23
+ url = "https://github.com/Babelscape/rebel/blob/main/docs/EMNLP_2021_REBEL__Camera_Ready_.pdf",
24
+ }
25
+
26
+ The original repository for the paper can be found [here](https://github.com/Babelscape/rebel)
27
+
28
+ ## Pipeline usage
29
+
30
  ```python3
31
  from transformers import pipeline
32
 
 
66
  print(extracted_triplets)
67
  ```
68
 
69
+ ## Model and Tokenizer using transformers
70
+
71
  ```python3
72
 
73
  from transformers import AutoModelForSeq2SeqLM, AutoTokenizer