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

Implement standard inference modes #13

Closed
justheuristic opened this issue Jun 21, 2022 · 1 comment
Closed

Implement standard inference modes #13

justheuristic opened this issue Jun 21, 2022 · 1 comment
Assignees

Comments

@justheuristic
Copy link
Collaborator

It would be awesome to have a collection of standard inference methods, e.g. greedy, temperature, top-p, top-k, eventually tree / beam search and batched inference, once we support it on the backend.

For now, perhaps, it would be best to implement them as standalone functions / functors that take the full model as input and do the inference. Eventually, we'll figure out the best way of integrating them together.

Roadmap (tentative)

  1. sampling, greedy, top-k, nucleus, etc -- with obligatory support for prefixes
  2. inference with prompt-tuned model
  3. beam search (requires changes on backend)

.. and then, in no particular order,

  • inference with LoRA / AdaMix
  • user-defined, constraints, other crazy stuff
@justheuristic
Copy link
Collaborator Author

Done by @artek0chumak in #87 , will discuss next steps in a separate issue

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

2 participants