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

Feature Request: echo=true in llama-server #8942

Open
4 tasks done
ciaran-regan-ie opened this issue Aug 9, 2024 · 2 comments
Open
4 tasks done

Feature Request: echo=true in llama-server #8942

ciaran-regan-ie opened this issue Aug 9, 2024 · 2 comments
Labels
enhancement New feature or request stale

Comments

@ciaran-regan-ie
Copy link

Prerequisites

  • I am running the latest code. Mention the version if possible as well.
  • I carefully followed the README.md.
  • I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
  • I reviewed the Discussions, and have a new and useful enhancement to share.

Feature Description

The llama-server allows api calls with logprobs=1, but it would be very nice to also include the option to set echo=True, as was available for older OpenAI models such as davinci-002.

Motivation

This would allow for a number of interesting possibilities such as inferring the likelihood of a prompt given a completion, as done in this project.

OpenAI depreciates the echo option because it's too useful :) would be great to have it back in llama.cpp.

Possible Implementation

No response

@ciaran-regan-ie ciaran-regan-ie added the enhancement New feature or request label Aug 9, 2024
@sragrawal
Copy link

This would be similar to support --all-logits from llama-perplexity right? This would be very useful in the server allowing us to use the server for benchmarking as well.

@kaetemi
Copy link
Collaborator

kaetemi commented Sep 10, 2024

I have a use case for this as well.

@github-actions github-actions bot removed the stale label Sep 11, 2024
@github-actions github-actions bot added the stale label Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

3 participants