Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

MIDI Search

基于 Discover MIDI Dataset 的本地中英文搜索工具。674 万去重 MIDI 文件,支持自然语言查询,结果直接用 GarageBand 打开。

数据集下载

python download_discovermidi.py

自动完成:安装依赖 → 从 HuggingFace 下载(~29 GB)→ 解压(~60 GB)。支持断点续传,中断后重跑会接着下。

搜索工具

cd search
python main.py

支持中英文输入,例如:

搜索> 月光
搜索> 贝多芬的命运
搜索> liszt hungarian rhapsody no 2
搜索> 土耳其进行曲

LLM(本地 ollama gpt-oss:120b)自动识别作曲家和曲名,歧义词(如"月光")会同时搜索所有可能版本。搜到后输入编号用 GarageBand 打开。

依赖

  • Python 3.10+
  • ollama 已安装并运行,拉取 gpt-oss:120b
  • pip install huggingface_hub discovermidi

数据集信息

About

MIDI search tool with ReAct AI agent — searches 6.74M MIDI files using natural language (Chinese/English), powered by local ollama LLM

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages