Summarization
Transformers
PyTorch
Safetensors
multilingual
miscovery
transformer
translation
question-answering
english
arabic
Instructions to use miscovery/model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use miscovery/model 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="miscovery/model")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("miscovery/model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| language: multilingual | |
| license: mit | |
| tags: | |
| - transformer | |
| - summarization | |
| - translation | |
| - question-answering | |
| - english | |
| - arabic | |
| datasets: | |
| - miscovery/arabic_egypt_english_world_facts | |
| pipeline_tag: summarization | |
| library_name: transformers | |
| # Miscovery Transformer Model | |
| This model is a transformer-based encoder-decoder model for multiple NLP tasks: | |
| - Text summarization | |
| - Translation (English-Arabic) | |
| - Question-answering | |
| ## Model Architecture | |
| - Model type: miscovery | |
| - Number of parameters: 485674144 | |
| - Encoder layers: 12 | |
| - Decoder layers: 12 | |
| - Attention heads: 12 | |
| - Hidden size: 768 | |
| - Feed-forward size: 3072 | |
| ## Training | |
| The model was trained in two stages: | |
| 1. Pre-training on sentence rearrangement tasks | |
| 2. Fine-tuning on downstream tasks | |
| ## Usage | |
| 1. Install the package: | |
| ```bash | |
| pip install miscovery-model | |
| ``` | |
| 2. Run the model using a script: | |
| ```python | |
| from miscovery_model import standard_pipeline | |
| # Create a pipeline | |
| model = standard_pipeline("miscovery/model") | |
| # Use it | |
| result = model("Translate this to Arabic: What year did World War I begin?") | |
| print(result) | |
| ``` | |
| ## Limitations | |
| This model was trained on specific datasets and may not generalize well to all domains. |