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

Try HuggingFace instead of OpenAI #26

Open
5 tasks
wrongu opened this issue Jun 22, 2023 · 3 comments
Open
5 tasks

Try HuggingFace instead of OpenAI #26

wrongu opened this issue Jun 22, 2023 · 3 comments

Comments

@wrongu
Copy link
Contributor

wrongu commented Jun 22, 2023

Many of the features that make guidance cool are not supported by the OpenAI API.

Guidance supports using any of the HuggingFace open-source instruct-tuned models.

To-do:

  • add transformers dependency
  • read up on pretrained models and pick a few to try out
  • try em out and see if they're unusably slow or memory hungry or cpu hungry or just bad at doing tasks
  • add choice of llm to the config
  • go write a bunch of guidance programs that make use of the actual guidance features (Build a better prompt for general scientific writing #4)
@j6k4m8
Copy link
Member

j6k4m8 commented Jun 22, 2023

SUPER +1 — maybe make this an optional dependency, so you can run this with llm4papers[openai] or llm4papers[hf], or llm4papers[all]..? that way users can opt into the backends they want

@wrongu
Copy link
Contributor Author

wrongu commented Jun 22, 2023

Does "add choice of llm to the config" meet that criterion for you?

@j6k4m8
Copy link
Member

j6k4m8 commented Jun 22, 2023

yes besides installing subsets of dependencies (extras)

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