Summarization
Transformers
PyTorch
Arabic
Trained with AutoTrain
How to use from the
Use from the
Transformers library
# Gated model: Login with a HF token with gated access permission
hf auth login
# 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="abdalrahmanshahrour/anchored-ant")
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("abdalrahmanshahrour/anchored-ant", device_map="auto")
Quick Links

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Configuration Parsing Warning:Config file config.json cannot be fetched (too big)

Configuration Parsing Warning:Config file tokenizer_config.json cannot be fetched (too big)

Model Trained Using AutoTrain

  • Problem type: Summarization
  • Model ID: 2306372987
  • CO2 Emissions (in grams): 69.2318

Validation Metrics

  • Loss: 0.157
  • Rouge1: 6.909
  • Rouge2: 2.441
  • RougeL: 6.904
  • RougeLsum: 7.047
  • Gen Len: 19.000

Usage

You can use cURL to access this model:

$ curl -X POST -H "Authorization: Bearer YOUR_HUGGINGFACE_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoTrain"}' https://api-inference.huggingface.co/abdalrahmanshahrour/autotrain-shahroursummarizer-2306372987
Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Dataset used to train abdalrahmanshahrour/anchored-ant