Skip to content

edubrigham/multilabel-summary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

title emoji colorFrom colorTo sdk app_file pinned
Multi Label Summary Text
📚
indigo
gray
streamlit
app.py
false

Interactive version

This app is hosted on HuggingFace spaces: https://huggingface.co/spaces/pleonova/multi-label-summary-text

Objective

The goal of this app is to identify multiple relevant labels for long text.

Model

facebook/bart-large-mnli zero-shot transfer-learning summarizer and classifier

Approach

Updating the head of the neural network, we can use the same pretrained bart model to first summarize our long text by first splitting out our long text into chunks of 1024 tokens and then generating a summary for each of the text chunks. Next, all the summaries are concanenated and the bart model is used classify the summarized text. Alternatively, one can also classify the whole text as is.

multilabel-summary

multilabel-summary

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages