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

running with OpenAI GPT #18

Open
raywgs opened this issue Jun 7, 2023 · 4 comments
Open

running with OpenAI GPT #18

raywgs opened this issue Jun 7, 2023 · 4 comments

Comments

@raywgs
Copy link

raywgs commented Jun 7, 2023

Hey,

Do I just replace the KEYS with my OpenAI API key for the run.sh to run using gpt-4? Or where do I configure that?

Thanks

@simran-arora
Copy link
Collaborator

Yes, you should include your key in the bash script

The keys get pulled in here, when the Manifest objects are being constructed:

def get_manifest_sessions(MODELS, MODEL2URL=None, KEYS=[]):

@raywgs
Copy link
Author

raywgs commented Jun 9, 2023

Hey simran, how do I run evaporate on my own dataset where I don't have a ground truth? I just want to test the performance on my own data that is a list of txt files.

@simran-arora
Copy link
Collaborator

Hi! the gold extractions are used to provide feedback in a couple places in the pipeline.

  1. When the WS label model is being trained. You can just put in a dummy file or modify the code to not perform the scoring.
    args.gold_extractions_file,
  2. In the run_profiler.py code you can comment out anything that's an evaluation method. For instance:
    results = evaluate_synthetic_main(

Hope that helps!

@raywgs
Copy link
Author

raywgs commented Jun 15, 2023

So, I can use an empty json file in place for the gold extractions and still have evaporate run normally?

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