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:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("malmarjeh/bert2bert") model = AutoModelForSeq2SeqLM.from_pretrained("malmarjeh/bert2bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vocab.txt from malmarjeh/bert2bert: direct link, hf CLI and curl.
- Browser
- Download file 761 kB
-
https://huggingface.co/malmarjeh/bert2bert/resolve/main/vocab.txt
- Command line
-
hf download hf://malmarjeh/bert2bert/vocab.txt
-
curl -L -o vocab.txt https://huggingface.co/malmarjeh/bert2bert/resolve/main/vocab.txt
761 kB
File too large to display, you can check the raw version instead.