Transformers
PyTorch
Arabic
encoder-decoder
text2text-generation
AraBERT
BERT
BERT2BERT
MSA
Arabic Text Summarization
Arabic News Title Generation
Arabic Paraphrasing
Instructions to use malmarjeh/bert2bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use malmarjeh/bert2bert with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("malmarjeh/bert2bert") model = AutoModelForSeq2SeqLM.from_pretrained("malmarjeh/bert2bert") - Notebooks
- Google Colab
- Kaggle
Update README.md
#1
by abdalrahmanshahrour - opened
README.md
CHANGED
|
@@ -21,7 +21,7 @@ More details on the fine-tuning of this model will be released later.
|
|
| 21 |
The model can be used as follows:
|
| 22 |
```python
|
| 23 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, pipeline
|
| 24 |
-
from
|
| 25 |
|
| 26 |
model_name="malmarjeh/bert2bert"
|
| 27 |
preprocessor = ArabertPreprocessor(model_name="")
|
|
|
|
| 21 |
The model can be used as follows:
|
| 22 |
```python
|
| 23 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, pipeline
|
| 24 |
+
from preprocess import ArabertPreprocessor
|
| 25 |
|
| 26 |
model_name="malmarjeh/bert2bert"
|
| 27 |
preprocessor = ArabertPreprocessor(model_name="")
|