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 摘要。