Text Summarization (CPU/GPU)

  • Model: sshleifer/distilbart-cnn-12-6 (Apache-2.0)
  • Task: Abstractive summarization.
  • Note: Here we just provide the resources for to run this models in the laptops we didn't develop this entire models we just use the open source models for the experiment this model is developed by sshleifer

Quick start (any project)

# 1) Create env
python -m venv venv && source .venv/bin/activate  # Windows: ./venv/Scripts/activate

# 2) Install deps
pip install -r requirements.txt

# 3) Run
python main.py --help

Tip: If you have a GPU + CUDA, PyTorch will auto-use it. If not, everything runs on CPU (slower but works).


Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for remiai3/Text_Summarization_by_sshleifer_distilbart-cnn-12-6

Finetuned
(38)
this model