Skip to content

Entropy#13

Draft
j321m wants to merge 11 commits into
mainfrom
entropy
Draft

Entropy#13
j321m wants to merge 11 commits into
mainfrom
entropy

Conversation

@j321m
Copy link
Copy Markdown
Collaborator

@j321m j321m commented Jan 19, 2025

No description provided.

Comment thread run.sh
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about we just make a file named entropy_run? Instead of modifying this one

Copy link
Copy Markdown
Owner

@ciebson123 ciebson123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Comment thread explainers/lime.py
attention_mask = encoding['attention_mask'].to(device)

# Pass through the base model (distilbert) to get hidden states
outputs = model.distilbert(
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works only with bert, right? So any other models we try will crash here. Maybe we can at least add a flag for if we want to get it?

Copy link
Copy Markdown
Owner

@ciebson123 ciebson123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does [CLS] token embedding extraction only work with distilbert? If so, we might have a problem running it on different datasets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants