Instructions to use Goud/DarijaBERT-summarization-goud with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Goud/DarijaBERT-summarization-goud with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("summarization", model="Goud/DarijaBERT-summarization-goud")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Goud/DarijaBERT-summarization-goud") model = AutoModelForSeq2SeqLM.from_pretrained("Goud/DarijaBERT-summarization-goud", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -43,8 +43,7 @@ output = tokenizer.decode(generated, skip_special_tokens=True)
|
|
| 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},
|
|
|
|
| 43 |
## Citation Information
|
| 44 |
|
| 45 |
```
|
| 46 |
+
@inproceedings{issam2022goudma,
|
|
|
|
| 47 |
title={Goud.ma: a News Article Dataset for Summarization in Moroccan Darija},
|
| 48 |
author={Abderrahmane Issam and Khalil Mrini},
|
| 49 |
booktitle={3rd Workshop on African Natural Language Processing},
|