New Show Hacker News story: Show HN: A surprisingly effective way to predict token importance in LLM prompts

Show HN: A surprisingly effective way to predict token importance in LLM prompts
11 by shayanjm | 3 comments on Hacker News.
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!

Comments

Popular posts from this blog

New Show Hacker News story: Show HN: A local Python prototyping tool for Jupyter and Streamlit

New Show Hacker News story: Show HN: Natural language Twitter search using Codex