hiyouga / hiyouga/Dual-Contrastive-Learning
Some logical problems
- Dominant language
- Python
- Stars
- 168
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
Using the calculation comparison loss method in the source code, the calculated loss may be negative, My input is(batchsize*dim, batchsize*class_num*dim, class_num),And Lz and Lθ may be negative at the same time
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the calculation comparison loss implementation in the Python source and reproduce the report with the stated input shapes: batchsize*dim, batchsize*class_num*dim, and class_num. Trace the values of Lz, Lθ, and the calculated loss; the issue is resolved when the cause of negative values is identified and covered by a regression check or documented as expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100