facebookresearch/fairseq
View on GitHubAdd tokens to extend embeddings during fine-tuning
Open
#2,632 opened on Sep 18, 2020
enhancementhelp wantedneeds triage
Repository metrics
- Stars
- (29,107 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
🚀 Feature Request
Like add_tokens() in huggingface/transformers (link), this will allow fine-tuning add new embeddings of tokens, which will not be sperated.
Motivation
Some NLG tasks may have non-terminals, which are expected not to be separated by subwords.