allenai / allenai/sequential_sentence_classification
Implementation of segmentation embeddings
未关闭
- 主要语言
- Python
- 星标
- 77
- 派生
- 28
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi,
Thanks for releasing this awesome repo.
In your implementation, I found each input sentence has a separate id in the "bert-type-ids". I wonder if you use these sentences ids to generate the segmentation embeddings?
BERT uses the sum of the token embeddings, the segmentation embeddings, and the position embeddings as input embeddings. They define there are no more than two input segments and only use 0 and 1 as the segment ids, which means the segment ids greater than 1 have not appeared in the pre-training of BERT.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。