lime icon indicating copy to clipboard operation
lime copied to clipboard

Question: using LIME for text generation

Open dyomed93 opened this issue 1 year ago • 2 comments

Good evening, is it possible to use LIME for text generation tasks? Or only for classification? Thanks

dyomed93 avatar May 30 '24 17:05 dyomed93

Okay

Sent from Outlook for Androidhttps://aka.ms/AAb9ysg


From: Marco Diomedi @.> Sent: Thursday, May 30, 2024 6:10:10 PM To: marcotcr/lime @.> Cc: Subscribed @.***> Subject: [marcotcr/lime] Question: using LIME for text generation (Issue #747)

Good evening, is it possible to use LIME for text generation tasks? Or only for classification? Thanks

— Reply to this email directly, view it on GitHubhttps://github.com/marcotcr/lime/issues/747, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APH5BTM5MLXFMXL43KJP5RDZE5MPFAVCNFSM6AAAAABIRJ7G3WVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZDMMJVG42DCMY. You are receiving this because you are subscribed to this thread.Message ID: @.***>

spook95 avatar May 30 '24 17:05 spook95

Most text generation is carried via classification of tokens, with a probability score for each token based on how likely it is to be the correct token at that position. You should be able to hence use LIME just as you would use it normally, and get a feature importance score for every token generated

ShaileshSridhar2403 avatar Nov 25 '24 04:11 ShaileshSridhar2403