Back to all models
Model: yuvraj/xSumm
summarization mask_token: <mask>
Query this model
πŸ”₯ This model is currently loaded and running on the Inference API. ⚠️ This model could not be loaded by the inference API. ⚠️ This model can be loaded on the Inference API on-demand.
JSON Output
API endpoint
								$
								curl -X POST \
-H "Authorization: Bearer YOUR_ORG_OR_USER_API_TOKEN" \
-H "Content-Type: application/json" \
-d '"json encoded string"' \
https://api-inference.huggingface.co/models/yuvraj/xSumm
Share Copied link to clipboard

Monthly model downloads

yuvraj/xSumm yuvraj/xSumm
156 downloads
last 30 days

pytorch

tf

Contributed by

yuvraj Yuvraj Raghuvanshi
2 models

How to use this model directly from the πŸ€—/transformers library:

			
Copy to clipboard
from transformers import AutoTokenizer, AutoModelWithLMHead tokenizer = AutoTokenizer.from_pretrained("yuvraj/xSumm") model = AutoModelWithLMHead.from_pretrained("yuvraj/xSumm")

​

Model description

​ BartForConditionalGenerationModel for extreme summarization- creates a one line abstractive summary of a given article ​

How to use

​ PyTorch model available ​

from transformers import AutoTokenizer, AutoModelWithLMHead, pipeline
​
tokenizer = AutoTokenizer.from_pretrained("yuvraj/xSumm")            
model = AutoModelWithLMHead.from_pretrained("yuvraj/xSumm")
​
xsumm = pipeline('summarization', model=model, tokenizer=tokenizer)
xsumm("<text to be summarized>")
​
## Limitations and bias
Trained on a small fraction of the xsumm training dataset