I am trying to reimplement the customized model for text labeling (i.e. Named entity recognition) provided in the documentation of Kashgari framework:
from typing