Contrastive learning transformer for PL Network
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 24/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- python, pytorch
- Área
- machine-learning
Línea de trabajo
Start by reading the linked prior implementation in benchmarks/cifar_exp/fte_bte_exp.py and the preliminary results in benchmarks/cifar_exp/result/figs, then review the official SupCon implementation linked in the issue. Compare candidate contrastive losses on accuracy and transfer efficiency; done when the loss choice is justified by those comparisons and integrated into the progressive learning network.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Background
Currently, the progressive learning network transformer is learned as a byproduct of optimizing the softmax objective loss for classification accuracy.
Contrastive loss (reference 1, reference 2) explicitly learns a transformer, penalizing samples of different classes that are close to one another (see also margin loss). This may be better suited for using kNN later, and shows state of the art accuracy.
See official implementation here.
Proposed feature: implement contrastive loss.
Validate by comparing accuracy and then compare transfer efficiency. Determine the best form of contrastive loss to use.
Prior experiments
I had fiddled with this a bit. See attempted contrastive learning implementation here and preliminary transfer efficiency benchmarks for variations in the contrastive loss layers.
- Lenguaje dominante
- Jupyter Notebook
- Estrellas
- 39
- Forks
- 44
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de neurodata/ProgLearn
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
-
FIX migrate Netlify image from Xenial to FocalPosiblemente ocupada @PSSF23 la tomó hace 1550 días. Abierto
-
DOC fix typos in model attribute titlesPosiblemente ocupada @PSSF23 la tomó hace 1684 días. Abierto
-
Investigate combined honest trees + isotonic calibrationQuizá libre de nuevo @jzheng17 la tomó hace 1751 días y no hay ningún pull request abierto. Abiertondd sklearn
-
ndd
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Todos los issues de neurodata/ProgLearn
Issues similares
-
type/bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
h2oai/h2o-llmstudio#1163 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
srbhr/Resume-Matcher#1107 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Bug: AttributeError: 'GptOssConfig' object has no attribute 'rope_scaling_factor' with transformers >= 5.xPosiblemente ocupada @NimaVaziri la tomó hoy. AbiertoPytorch
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
NVIDIA/TensorRT-LLM#23406 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
lakshaychhaba0001-sys/openbench-ai#230 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día