Show HN: A surprisingly effective way to predict token importance in LLM prompts We explored a novel method to gauge the significance of tokens in prompts given to large language models, without needing direct model access. Essentially, we just did an ablation study on the prompt using cosine similarity of the embeddings as the measure. We got surprisingly promising results when comparing this really simple approach to integrated gradients. Curious to hear thoughts from the community! https://ift.tt/Ys1925Q September 11, 2023 at 10:59PM
Show HN: A surprisingly effective way to predict token importance in LLM prompts https://ift.tt/QXNwbRZ
Related Articles
Show HN: Next-token prediction in JavaScript – build fast LLMs from scratch https://ift.tt/0GW13EAShow HN: Next-token prediction in JavaScript – build fast LLMs from sc… Read More
Show HN: We built a no-code tool on top of a spreadsheet (Game of Life example) https://ift.tt/yCGH8AJShow HN: We built a no-code tool on top of a spreadsheet (Game of Life… Read More
Show HN: Visualize eBay laptops in bulk with laptopscout https://ift.tt/PRLe2lGShow HN: Visualize eBay laptops in bulk with laptopscout A bit late in… Read More
Show HN: Hacker News Blogroll https://ift.tt/YHdjXESShow HN: Hacker News Blogroll This was submitted about 9 months ago as… Read More
Show HN: Wunderbar, Learn Language While Working on Your Mac https://ift.tt/gP1sCp9Show HN: Wunderbar, Learn Language While Working on Your Mac Hey every… Read More
Show HN: CodeFusion, use LLMs with large codebases (with token context in mind) https://ift.tt/9LdHICfShow HN: CodeFusion, use LLMs with large codebases (with token context… Read More
Show HN: Aarde – Self Replicating Programs https://ift.tt/nADEhxMShow HN: Aarde – Self Replicating Programs Last weekend I created a ne… Read More
Show HN: Generate Docker Artifacts to $PWD https://ift.tt/mhRTviKShow HN: Generate Docker Artifacts to $PWD I wanted to use a Dockerfil… Read More
0 Comments: