Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output of llma-2-7b model is repetative. #32

Open
Vithulep opened this issue Dec 9, 2024 · 0 comments
Open

Output of llma-2-7b model is repetative. #32

Vithulep opened this issue Dec 9, 2024 · 0 comments

Comments

@Vithulep
Copy link

Vithulep commented Dec 9, 2024

1. We can see that in the output of the prompt same sentence is repeating. Why is this happening?
Prompt: "AI is going to"
On other prompt also same repetitions are happening.

Lookahead_their code fp16
image

2. When we directly run Lookahead (not run for lookahead=false earlier), we will get less throughput [51.3 tokens/sec], and in second run we are getting around [179 tokens/sec]. Can you explain why is this happening? Are you storing the result in cache or are you using the same Trie tree again?

Their_Lookahead_after first output

Model: llama-2-7b fp16
file run from repo: llama_example.py

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

No branches or pull requests

1 participant