codesue commited on
Commit
62e5dd2
1 Parent(s): 3382538

Make mask token explicit

Browse files

Make the mask token explicit to prevent the error `No mask_token (<mask>) found on the input` in the Hosted Inference API. See [related issue](https://github.com/huggingface/transformers/issues/11884#issuecomment-851590598) for more context on this fix.

Files changed (1) hide show
  1. README.md +1 -0
README.md CHANGED
@@ -93,6 +93,7 @@ tags:
93
  - Twitter
94
  - Multilingual
95
  license: "apache-2.0"
 
96
  ---
97
 
98
  # TwHIN-BERT: A Socially-Enriched Pre-trained Language Model for Multilingual Tweet Representations
93
  - Twitter
94
  - Multilingual
95
  license: "apache-2.0"
96
+ mask_token: "[MASK]"
97
  ---
98
 
99
  # TwHIN-BERT: A Socially-Enriched Pre-trained Language Model for Multilingual Tweet Representations