ma_ner_v7_distil / README.md
CouchCat's picture
Add ner configs
b698673
metadata
language: en
license: mit
tags:
  - ner
widget:
  - text: These shoes from Tommy Hilfiger fit quite well sincerely, Oscar

Description

A Named Entity Recognition model trained on a customer feedback data using DistilBert. Possible labels are in BIO-notation:

  • PROD: for certain products
  • BRND: for brands
  • PERS: people names

The following tags are simply in place to help better categorize the previous tags

  • MATR: relating to materials, e.g. cloth, leather, seam, etc.
  • TIME: time related entities
  • MISC: any other entities that might skew ther results

Usage

from transformers import AutoTokenizer, AutoModelForTokenClassification

  tokenizer = AutoTokenizer.from_pretrained("CouchCat/ma_ner_v7_distil")

  model = AutoModelForTokenClassification.from_pretrained("CouchCat/ma_ner_v7_distil")