KordingLab / llm4papers

Apache License 2.0
22 stars 0 forks source link

Try HuggingFace instead of OpenAI #26

Open wrongu opened 1 year ago

wrongu commented 1 year ago

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:

j6k4m8 commented 1 year ago

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 commented 1 year ago

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

j6k4m8 commented 1 year ago

yes besides installing subsets of dependencies (extras)