microsoft / CodeBERT

CodeBERT
MIT License
2.15k stars 442 forks source link

For code imbedding, what is the maximum length of input in UniXcoder? #267

Open zqxyus opened 1 year ago

zqxyus commented 1 year ago

512 or 1024?

Does the CodeBert has the same maximum length of input as UniXcoder?

Thanks

guoday commented 1 year ago

The maximum length of CodeBert is 512.

HamzaBale commented 3 months ago

The maximum length of CodeBert is 512.

if the input sequence length is greater than 512, what happens? it truncates the input sequence?