Skip to content
/ LTNER Public

Large Language Model Tagging for Named Entity Recognition with Contextualized Entity Marking

Notifications You must be signed in to change notification settings

YFR718/LTNER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LTNER

Large Language Model Tagging for Named Entity Recognition with Contextualized Entity Marking

quick start

0. create a python env

use windows and install anaconda,crate a env for LTNER

conda create -n ltner python==3.10
conda activate ltner
pip install -r requirement.txt

and put your openai key to common/chatgpt/gpt.py:21

1. create a vector database

you can use milves or cloud service such as zilliz:https://cloud.zilliz.com.cn/

create a index include these fields img.png

put your database service url and token to common/vector/zilliz.py:8

2. embedding data and send to database

run data\sentence_emb\emb.py run data\sentence_emb\emb_TEST.py

3. run LTNER

run main.py

About

Large Language Model Tagging for Named Entity Recognition with Contextualized Entity Marking

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages