Note: This issue was copied from ggml-org#7559
Original Author: @mofosyne
Original Issue Number: ggml-org#7559
Created: 2024-05-27T09:31:05Z
GG in this PR was suggesting a refactoring of examples and provided an example of what he would like to refactor. This is a ticket to inform others about opportunities to improve examples
I think a bigger advantage would be to do some refactoring in the existing examples and "hide" some of the state for sampling and KV cache management that we expose behind the common API
If there is any other aspect of the example which is currently a pain point for developer grokking, feel free to also suggest some so it can be added here.
Note: This issue was copied from ggml-org#7559
Original Author: @mofosyne
Original Issue Number: ggml-org#7559
Created: 2024-05-27T09:31:05Z
GG in this PR was suggesting a refactoring of examples and provided an example of what he would like to refactor. This is a ticket to inform others about opportunities to improve examples
If there is any other aspect of the example which is currently a pain point for developer grokking, feel free to also suggest some so it can be added here.