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

78 create prodigy app #79

Merged
merged 18 commits into from
Oct 9, 2023
Merged

78 create prodigy app #79

merged 18 commits into from
Oct 9, 2023

Conversation

RFOxbury
Copy link
Contributor

No description provided.

@RFOxbury RFOxbury linked an issue Sep 19, 2023 that may be closed by this pull request
@beingkk
Copy link
Contributor

beingkk commented Oct 4, 2023

Hey @RFOxbury, first off, thanks a lot for getting started with this - it's been super helpful!

I've now pushed the changes to the recipe and an expanded readme with instructions. I've also moved a bunch of code in a "scrap" folder, as I ended up not using it for this PR (which is about setting up the platform).

I've gitignored the scrap folder for now as it was throwing up formatting errors from git commit hooks. I can perhaps still reuse some of it when I'll do some quick analysis of the evaluation results. That's just to say that we still have the code you wrote for eg fetching stuff from s3 or viewing annotation results, but it's at the moment not visible for simplicity purposes.

It'd be great if you can take a look and see if everything makes sense - no need to spend too much time with the review or re-running all the scripts. Simply checking the readme and looking at the changes in the code will also be fine. Thank you!

prompt = MessageTemplate(role="user", content=question)
response = TextGenerator.generate(
model="gpt-4",
temperature=0.6,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious, why is this the temperature setting?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question - not a really good answer, but Kostas said this value worked well for him in other tasks, which is why I've left it at 0.6.

In principle, as I understand this value would suggest a balance between stable (temperature=0) and more random (max temperature=2) modes of operation, with a preference towards the more stable end.

Copy link
Contributor Author

@RFOxbury RFOxbury left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Karlis :) It was really useful for me to see how you progressed best_answer_recipe.py into the final app.

@beingkk beingkk marked this pull request as ready for review October 9, 2023 11:30
@beingkk beingkk merged commit f2f2a32 into dev Oct 9, 2023
@beingkk beingkk deleted the 78-create-prodigy-app branch October 9, 2023 11:30
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

Successfully merging this pull request may close these issues.

Create Prodigy app
2 participants