We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Prompt optimization example doesn't run as-is
Current
import textgrad as tg llm_engine = tg.get_engine("gpt-3.5-turbo") tg.set_backward_engine("gpt-4o") _, val_set, _, eval_fn = load_task("BBH_object_counting", llm_engine) question_str, answer_str = val_set[0] question = tg.Variable(question_str, role_description="question to the LLM", requires_grad=False) answer = tg.Variable(answer_str, role_description="answer to the question", requires_grad=False)
Need to add from textgrad.tasks import load_task for it to run
from textgrad.tasks import load_task
I also needed to brew install wget for it to work
The text was updated successfully, but these errors were encountered:
Thank you for catching this! Will be solved in #89
Sorry, something went wrong.
No branches or pull requests
Prompt optimization example doesn't run as-is
Current
Need to add
from textgrad.tasks import load_task
for it to runI also needed to brew install wget for it to work
The text was updated successfully, but these errors were encountered: