anarchy-ai / anarchy-ai/LLM-VM

`small_model_filename` cannot be assigned during fine-tuning

未关闭
#149 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug help wanted
主要语言
Python
星标
490
派生
139
PR 合并指标
30 天内没有已合并 PR

描述

The below code

https://github.com/anarchy-ai/LLM-VM/blob/7a5877b6adb2a71892203a71ac2095a01357bb1b/src/llm_vm/completion/optimize.py#L261

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:

https://github.com/anarchy-ai/LLM-VM/blob/7a5877b6adb2a71892203a71ac2095a01357bb1b/src/llm_vm/completion/optimize.py#L254

Resulting in

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。