-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mieb] Investigate voc2007 vlm2vec #1825
base: mieb
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gowitheflow-1998 I've left some notes below to supplement findings. It seems like when LoRA was run, samples_per_label might have been low, e.g. 8, instead of 64.
_unique_train_embeddings = normalize_embeddings_to_numpy( | ||
model.get_image_embeddings( | ||
unique_train_images, | ||
**encode_kwargs, | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No change from adding normalize_embeddings_to_numpy
. Will revert before merging.
X_test = normalize_embeddings_to_numpy( | ||
model.get_image_embeddings(test_images, **encode_kwargs) | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here, will revert this change.
"languages": [ | ||
"eng-Latn" | ||
], | ||
"lrap": 0.7205710375157255, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using commits to track lrap scores for both models at different samples_per_label
. Will remove before merging.
@@ -55,3 +55,5 @@ class VOC2007Classification(AbsTaskImageMultilabelClassification): | |||
|
|||
# To be removed when we want full results | |||
n_experiments: int = 5 | |||
|
|||
samples_per_label: int = 64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Main change.
Fixes #1792
samples_per_label
samples_per_label=64
.Checklist
make test
.make lint
.