YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Create the README.md file in the 'text_summarization' folder

model_card = """# Model Card for text_summarization

Model Details

  • Model Description:
    This model is a fine-tuned version of facebook/bart-base for text summarization using the CNN/DailyMail dataset. It is designed to take long articles as input and generate concise summaries that capture the key points of the text.

  • Developed by: Mirza Jamal Nasir

  • Model Type: BART-based model for text summarization

  • Language(s): English

  • License: Apache 2.0

  • Finetuned from: facebook/bart-base

  • Dataset: CNN/DailyMail (version 3.0.0)

  • Repository: text_summarization


Model Usage

Direct Use

You can directly use this model to generate summaries of articles. Below is an example of how to use it in Python:

from transformers import pipeline

summarizer = pipeline("summarization", model="mirzajamal750/text_summarization")
article = "Your long news article goes here..."
summary = summarizer(article)
print(summary)
Downloads last month
2
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support