#7470 model 'qwen2.5:7b-instruct' not foundhttp://127.0.0.1:11434/v1

120.230**1 Posted at: 1 hour ago

model 'qwen2.5:7b-instruct' not found
http://127.0.0.1:11434/v1
{'model': 'qwen2.5:7b-instruct', 'timeout': 300, 'temperature': 0.1, 'max_tokens': 4096}
Traceback (most recent call last):
File "videotrans\translator\_openaicompat.py", line 77, in _item_task
File "openai\_utils\_utils.py", line 298, in wrapper
File "openai\resources\chat\completions\completions.py", line 1215, in create
File "openai\_base_client.py", line 1332, in post
File "openai\_base_client.py", line 1105, in request
openai.NotFoundError: Error code: 404 - {'error': {'message': "model 'qwen2.5:7b-instruct' not found", 'type': 'not_found_error', 'param': None, 'code': None}}

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 73, in run
File "videotrans\task\_stage_translate.py", line 31, in trans
File "videotrans\translator\_runner.py", line 63, in run
File "videotrans\translator\_base.py", line 68, in run
File "videotrans\translator\_base.py", line 107, in _run_text
File "tenacity\__init__.py", line 338, in wrapped_f
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 400, in
File "concurrent\futures\_base.py", line 451, in result
File "concurrent\futures\_base.py", line 403, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_openaicompat.py", line 82, in _item_task
videotrans.configure.excepts.StopTask: model 'qwen2.5:7b-instruct' not found
http://127.0.0.1:11434/v1
{'model': 'qwen2.5:7b-instruct', 'timeout': 300, 'temperature': 0.1, 'max_tokens': 4096}

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: E:/剪影视频/9月18日 (1).mp4,
输出结果保存到文件夹: E:/中配视频/9月18日 (1)-mp4,
临时文件夹: E:/pyVideoTrans/tmp/14716/df850fb8e2
已选 清理已存在
未选 启用CUDA加速
未选 降噪
语音识别:faster-whisper(本地内置), model_name: large-v3, 发音语言: 英语, 断句方式:默认断句
翻译渠道:OpenAI ChatGPT,原始语言:英语,目标语言:简体中文, 未选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:YunJhe(Male/TW), 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 已选 强制对齐字幕和声音
字幕: 不嵌入字幕
已选 分离人声与背景声, 已选 重新嵌入背景声, 背景音量0.8, 背景声音时长 短于 视频时长时: 拉长(降速播放),存在分离后的纯净人声文件,存在分离后的背景声音文件
已选 仅输出mp4
代理地址:


=
system:Windows-10-10.0.22621-SP0
version:v4.07
frozen:True
language:zh
root_dir:E:/pyVideoTrans

1 Replies

#1 DeepSeek reply at 1 hour ago

`
这是由于本地 Ollama 服务中并未安装名为 qwen2.5:7b-instruct 的模型,导致请求返回 404 Not Found。

解决方案(任选其一):

方案 A:安装对应模型

  1. 打开终端(CMD/PowerShell),执行:ollama pull qwen2.5:7b-instruct
  2. 等待下载完成后,在软件中重新执行任务。

方案 B:改用你本地已有的模型名称

  1. 在终端执行 ollama list 查看本地已安装的模型名称(例如可能是 qwen2.5:7b 而非 qwen2.5:7b-instruct)。
  2. 打开软件菜单 翻译设置OpenAI ChatGPT(或对应兼容渠道),将「模型名称」修改为本地实际存在的模型名,保存后重试。

注意:报错日志显示你的软件版本为 v4.07,与当前最新版 v4.12 存在较大差距,建议升级后再使用。

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Dondate via ko-fi.com

Related resource