allegro / allegro/allRank

Which loss functions are suitable for sentence ordering?

Đang mở
#45 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
1k
Fork
131
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Given the features are tokenized sentences, and the targets `y_pred` are normalized rankings. A typical model accepts tokenized sentences as inputs and outputs their order/ranks.

`x`: tokenize(['sentence 1', 'sentence 2', 'sentence 3', 'sentence 4'])
`y_true`: [0., 0.33333333, 0.66666667, 1.]

Which of the loss function implementations is suitable for this kind of data?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.