Open Named Entity Recognition (Multilingual)
You can read the details in this post.
from transformers import pipeline
nlp = pipeline('token-classification', 'yongsun-yoon/deberta-v3-base-open-ner', aggregation_strategy='simple')
text = '30์ผ ์ ์ฃผ์ง๋ฒ ๊ตฐ์ฐ์ง์ ์ 1ํ์ฌ๋ถ๋ ๋ฐ ์์ฅ์ ๋ํ ์ ๊ณ ๊ณตํ์์ ๋ฒ๊ธ 500๋ง์์ ์ ๊ณ ํ๋ค.'
entity_type = 'event'
input_text = f'{text}{nlp.tokenizer.sep_token}{entity_type}' # [SEP]
nlp(input_text) # ์ ๊ณ ๊ณตํ
- Downloads last month
- 33
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.