Comments (1)
Thanks! The correct approach should be to subtract the two distributions rather than adjust the value of the rejected elements. We have already adjusted the non-greedy code. Since sampling without replacement is performed here, a mask is used to adjust the draft distribution. The rest is consistent with the code in the screenshot you provided.
All the experimental results we provided were under the greedy decoding setting and are not affected.
from eagle.
Related Issues (20)
- bsne1 branch "last_hidden = out_hidden[ab,last_nopadding][:,None]" gets wrong HOT 4
- How to support new model? HOT 1
- run with vllm HOT 1
- About project structure HOT 1
- Question on draft process HOT 1
- Questions about pre-allocated kv_cache. HOT 1
- Questions about the EAGLE parameters, not match the pytorch_model.bin HOT 2
- About KVCache of Eagle vs Origin LLM
- Is there scripts to calculate the overall acceptance rate? HOT 1
- Qs on self.act HOT 1
- training efficiency HOT 1
- About reproducing speedup ratio HOT 1
- new model HOT 6
- Llama 3 support? HOT 3
- The initiization of tree_buffers
- difference between the target input_ids and original LLMs in function getkacc()
- Updates on training moe eagle model?
- During training, only one decoder layer(draft model) is trained, right? HOT 1
- Using EAGLE will slow down inference HOT 7
- Question about sampling HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eagle.