openai-cookbook icon indicating copy to clipboard operation
openai-cookbook copied to clipboard

No such File object: file-c3shd8wqF3vSCKaukW4Jr1TT in notebook fine-tuned_qa

Open Bulmenisaurus opened this issue 1 year ago • 1 comments

I am trying to get the notebooks in the fine-tuned_qa. I am experiencing an error with notebook, specifically in the code block with the following code

for name, is_disc in [('discriminator', True), ('qa', False)]:
    for train_test, dt in [('train', train_df), ('test', test_df)]:
        ft = create_fine_tuning_dataset(dt, discriminator=is_disc, n_negative=1, add_related=True)
        ft.to_json(f'{name}_{train_test}.jsonl', orient='records', lines=True)
No such File object: file-c3shd8wqF3vSCKaukW4Jr1TT
No such File object: file-c3shd8wqF3vSCKaukW4Jr1TT
No such File object: file-c3shd8wqF3vSCKaukW4Jr1TT
...

Searching online for this file id didn't return any results, and from my understanding of the Files documentation I'm supposed to upload this file, but I don't know how or where?

Bulmenisaurus avatar Dec 14 '22 02:12 Bulmenisaurus

Alright, this seems to be caused by the fact that even though we do generate correct file id in notebook 2 in section 2.5, it is then overwritten in notebook three. Leaving this issue open because this still needs to be solved, probably by removing the reassignment

olympics_search_fileid = "file-c3shd8wqF3vSCKaukW4Jr1TT"

in the very beginning of notebook 3.

Bulmenisaurus avatar Dec 14 '22 04:12 Bulmenisaurus

I'm going to close this because I don't think we're going to get to it, unfortunately. Best wishes.

ted-at-openai avatar Jun 21 '23 16:06 ted-at-openai