필터 지우기
필터 지우기

BERT:how to change the output feature?

조회 수: 7 (최근 30일)
XT
XT 2022년 9월 19일
편집: XT 2022년 9월 21일
When I use the bert to extract features,the output features are always 768 dimension.How can I change them into 300 dimension?
  댓글 수: 9
David Willingham
David Willingham 2022년 9월 20일
Hi Rik,
I spoke with development on this, they state:
==
Reducing the features of BERT might not help and wouldn’t recommend doing that in that situation.
It seems that they are trying to extract features of protein sequence from BERT, which is something BERT is not trained for.
==
I note that you have tried Bert already. Are you able to provide some example code? This may help us provide more guidence on this.
XT
XT 2022년 9월 21일
편집: XT 2022년 9월 21일
I have uploaded the code and data. I dont't know whether the loss function is correct

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by