Skip to content

small_model_filename cannot be assigned during fine-tuning #149

@rozeappletree

Description

@rozeappletree

The below code

small_model_filename = kwargs.get("small_model_filename", None)

tries to extract small_model_filename from kwargs which is passed down from client.complete(...) -> optimizer.complete(...) -> optimizer.complete_delay_train(...)

I think the main purpose of this is to make sure we can save finetuned model to any location via llm_vm.client, but it will cause error because the same kwargs with small_model_filename will be passed to chat_gpt model:

best_completion = self.call_big(prompt, **kwargs)

Resulting in

openai.error.InvalidRequestError: Unrecognized request argument supplied: small_model_filename

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions