Skip to content

huseyincenik/streamlit_ner_with_gliner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

NER (Named Entity Recognition) Application with Gliner

NER Application

Extract Any Entity from Text with GLiNER

This is a Named Entity Recognition (NER) application powered by Gliner, implemented using Streamlit. NER allows users to identify and classify named entities in unstructured text.

Features

  • Upload your dataset in CSV or Excel format.
  • Select a GLiNER model from the available options.
  • Define new columns with NER labels (separated by commas for multiple labels in one column).
  • Set thresholds for precision.
  • Process the data and visualize the results for each new column.
  • Download the processed data as an Excel file.

GLiNER Models

The application provides the following GLiNER models to choose from:

  • urchade/gliner_multi-v2.1
  • urchade/gliner_medium-v2.1
  • urchade/gliner_small-v2.1
  • urchade/gliner_large-v2.1

Installation

  1. Clone the repository:
git clone https://github.com/huseyincenik/streamlit_ner_with_gliner.git
cd streamlit_ner_with_gliner
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Run the Streamlit application:
streamlit run app.py

Usage

  1. Upload your data file (in CSV or Excel format).
  2. Select the GLiNER model.
  3. Enter the number of new columns and define the details for each new column (column name, label, threshold).
  4. Click on the "Process Data" button to start the data processing.
  5. Download the processed data as an Excel file.

Links