Update README.md
Browse files
README.md
CHANGED
|
@@ -38,4 +38,17 @@ model = EncoderDecoderModel.from_pretrained("Goud/DarijaBERT-summarization-goud"
|
|
| 38 |
input_ids = tokenizer(article, return_tensors="pt", truncation=True, padding=True).input_ids
|
| 39 |
generated = model.generate(input_ids)[0]
|
| 40 |
output = tokenizer.decode(generated, skip_special_tokens=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
```
|
|
|
|
| 38 |
input_ids = tokenizer(article, return_tensors="pt", truncation=True, padding=True).input_ids
|
| 39 |
generated = model.generate(input_ids)[0]
|
| 40 |
output = tokenizer.decode(generated, skip_special_tokens=True)
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
## Citation Information
|
| 44 |
+
|
| 45 |
+
```
|
| 46 |
+
@inproceedings{
|
| 47 |
+
issam2022goudma,
|
| 48 |
+
title={Goud.ma: a News Article Dataset for Summarization in Moroccan Darija},
|
| 49 |
+
author={Abderrahmane Issam and Khalil Mrini},
|
| 50 |
+
booktitle={3rd Workshop on African Natural Language Processing},
|
| 51 |
+
year={2022},
|
| 52 |
+
url={https://openreview.net/forum?id=BMVq5MELb9}
|
| 53 |
+
}
|
| 54 |
```
|