text: 
  
  TITLE
  Hosted Inference API for Token Classification doesn't Highlight Tokens correctly
  
  COMMENTS
  8
  
  REACTIONS
  +1: 0
  -1: 0
  laugh: 0
  hooray: 0
  heart: 0
  rocket: 0
  eyes: 0
  
  BODY
  ## Environment info
  - `transformers` version: 3.3.1
  - Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
  - Python version: 3.6.9
  - PyTorch version (GPU?): 1.6.0+cu101 (False)
  - Tensorflow version (GPU?): 2.3.0 (False)
  - Using GPU in script?: Yes
  - Using distributed or parallel set-up in script?: No
  
  ### Who can help
   
   albert, bert, GPT2, XLM: @LysandreJik 
   Model Cards: @julien-c 
   examples/token-classification: @stefan-it
  ## Information
  
  Model I am using (Bert, XLNet ...):
  Bert
  
  The problem arises when using:
  * [X] the official example scripts: (give details below)
  * [ ] my own modified scripts: (give details below)
  
  The tasks I am working on is:
  * [ ] an official GLUE/SQUaD task: (give the name)
  * [X] my own task or dataset: (give details below)
  
  ## To reproduce
  
  Steps to reproduce the behavior:
  
  https://huggingface.co/Rostlab/prot_bert_bfd_ss3?text=N+L+Y+I+Q+W+L+K+D+G+G+P+S+S+G+R+P+P+P+S
  https://huggingface.co/Rostlab/prot_bert_bfd_ss3?text=T+G+N+L+Y+I+Q+W+L+K+D+G+G+P+S+S+G+R+P+P+P+S+A+T+G
  
  
  ## Expected behavior
  
  When the Hosted inference API finds a token tag for special tokens like "[CLS] and [SEP]" also occurs with next or previous tokens, it doesn't highlight it and tag it properly.
  
  Example:
  <img width="617" alt="Screenshot 2020-10-11 at 23 31 35" src="https://user-images.githubusercontent.com/6087313/95690715-f17aba80-0c19-11eb-803d-c439cd9b137d.png">
  Because token "N" had the same token group as the previous special token "[CLS]", it was not highlighted. However, it was detected correctly.