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

Any way to run without an OpenAI key? #34

Open
mohummedalee opened this issue Dec 8, 2023 · 3 comments
Open

Any way to run without an OpenAI key? #34

mohummedalee opened this issue Dec 8, 2023 · 3 comments

Comments

@mohummedalee
Copy link

Hi, I have access to Llama through Huggingface and am trying to run FactScore through the CLI: python -m factscore.factscorer --input_path data/unlabeled/InstructGPT.jsonl --model_name retrieval+llama+npm

Shouldn't this use llama to do atomic fact generation? I am getting an error: AssertionError: Please place your OpenAI APT Key in api.key. Is there a way to use FactScore without an OpenAI key?

@martiansideofthemoon
Copy link
Collaborator

Hi @mohummedalee, OpenAI API is still needed for atomic fact generation. We welcome any contributions that replace it with LLAMA-based atomic fact generation.

@Rosenberg37
Copy link

@martiansideofthemoon Hi, I was wondering if you have any experience in replacing text davinci with open-source models for atomic fact generation? Will llama2-65b be a viable option? Thanks a lot🙏

@martiansideofthemoon
Copy link
Collaborator

Hi @Rosenberg37, a collaborator of @shmsw25 has seen it work well enough with the LLAMA-2 models. However adding them to the codebase for atomic fact extraction may need some non-trivial refactoring. We welcome any contributions here.

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

3 participants