How to use from the
Use from the
Transformers library
# 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")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("miscovery/model", device_map="auto")
Quick Links

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:
pip install miscovery-model
  1. Run the model using a script:
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.

Downloads last month
20
Safetensors
Model size
0.2B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Dataset used to train miscovery/model