How can i the change the provided classes on the mapping into my own [Token_Classification_Named_Entity_Recognition]
If your labels are not a subset of the provided labels, it's recommended to use [this script](https://github.com/NVIDIA/NeMo/blob/main/examples/nlp/token_classification/token_classification.py). Note, you `shouldn't` use a pre-trained TokenClassificationModel, instead start fine-tuning with the original BERT model. When you provide a path to your data directory, the text to int labels mapping will be created automatically based on the training data.

The data directory should follow the format described in the script or in the [tutorial](https://github.com/NVIDIA/NeMo/blob/main/tutorials/nlp/Token_Classification_Named_Entity_Recognition.ipynb).  I now have loaded the files into `DATA_DIR = "DATA_DIR"` but I still get the same error though it's a different tag that is caught (B-GPU above but now B-Price)

I also stopped the pre-trained TokenClassificationModel and ran the original BERT model
![gh4](https://user-images.githubusercontent.com/45226851/98708429-177fb000-23bc-11eb-954e-bc13afec15d3.PNG)
 Could you please try following the `Model Training From Scratch` section of the [tutorial](https://github.com/NVIDIA/NeMo/blob/main/tutorials/nlp/Token_Classification_Named_Entity_Recognition.ipynb) and initialize your model with `model = nemo_nlp.models.TokenClassificationModel(cfg=config.model, trainer=trainer)`?
This should create labels mapping from your training data.

If you're running locally, it might be easier to use the training script with the default config: 
`python examples/nlp/token_classification/token_classification.py model.dataset.data_dir=<PATH_TO_DATA_DIR>`

If the issue persists, please add the output of the model initialization call here. I got it to work now thank you!
Hi, I am using the Token_Classification_Named_Entity_Recognition tutorial for a project.

By default, the dataset provided these labels: 
LOC = Geographical Entity
ORG = Organization
PER = Person
GPE = Geopolitical Entity
TIME = Time indicator
ART = Artifact
EVE = Event
NAT = Natural Phenomenon

How can I change the classes in the provided mapping such that it can use my labels and text file instead?

(My labels include: label_names = ['O', 'B-Product', 'B-Processor', 'B-WindowVersion','B-GPU','B-Display','B-MemoryStorage','B-Storage','B-Weight','B-Warranty','B-Price'] )

Attached is the error I received.
![gh2](https://user-images.githubusercontent.com/45226851/98646694-ad8ce980-236e-11eb-82e5-6ef86bf05d07.PNG)
