huggingface / huggingface/sentence-transformers
Training custom data using triplet loss
Open
- Dominant language
- Python
- Stars
- 19.1k
- Forks
- 2.9k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 61
Description
I have a sequence classification dataset, which I want to use to make sentence embeddings using triplet loss. How should I restructure the dataset to make it compatible with the codebase.
Also how should I chose the triplets: the positive and negative examples.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no file, test, or entry point. Start by locating the codebase's triplet-loss dataset and training guidance, then document the required restructuring and positive/negative selection; done means an actionable answer for sequence-classification data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100