Skip to content

API built with FastAPI on top of HuggingFace API's pipeline and model-hub services. Users can make arbitrary category + arbitrary text classification and correct the prediction and add training data for fine-tuning.

Notifications You must be signed in to change notification settings

LaverdeS/Fine-Tuning-Zero-Shot-TextClasification-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zero-Shot Text Classification RestAPI and Exploratory Faceted Search for Assinting Research

  • Download fastapi folder or clone repository
  • Install requirements.txt
  • Execute from root directory (fastapi): uvicorn src.fastapi:app

requests

Overview

This application is design for content-level exploration of documents collections. The idea is to guide the user into molding a dataset that he/she is not directly seeing. The dataset is then build around an initial topic. This topic will quiery Wikipedia databases to aggregate information from several articles (100 for the demo). Once the data is collected, the user can proceed to dynamically filter and rearrange the data for his/her research interest.

While the data collection process is being done, a data story is displayed to the user in real-time. The story is built with some short facts and interesting information about the query (root article), including some images and the most representative video aboout it. It's possible the apply zero-shot text classification to the collected articles to label them accordingly to the research interest.

The application was developed keeping in mind the context of assisting research exploration for Human Sciences but can naturally work for other areas.

The following is a demonstration for the queries: Burning Man, Mariinsky Theatre

exploratory_search_demo.mp4

About

API built with FastAPI on top of HuggingFace API's pipeline and model-hub services. Users can make arbitrary category + arbitrary text classification and correct the prediction and add training data for fine-tuning.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published