[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"similar-robbiebarrat--rapping-neural-network":3,"tool-robbiebarrat--rapping-neural-network":64},[4,17,27,35,43,56],{"id":5,"name":6,"github_repo":7,"description_zh":8,"stars":9,"difficulty_score":10,"last_commit_at":11,"category_tags":12,"status":16},3808,"stable-diffusion-webui","AUTOMATIC1111\u002Fstable-diffusion-webui","stable-diffusion-webui 是一个基于 Gradio 构建的网页版操作界面，旨在让用户能够轻松地在本地运行和使用强大的 Stable Diffusion 图像生成模型。它解决了原始模型依赖命令行、操作门槛高且功能分散的痛点，将复杂的 AI 绘图流程整合进一个直观易用的图形化平台。\n\n无论是希望快速上手的普通创作者、需要精细控制画面细节的设计师，还是想要深入探索模型潜力的开发者与研究人员，都能从中获益。其核心亮点在于极高的功能丰富度：不仅支持文生图、图生图、局部重绘（Inpainting）和外绘（Outpainting）等基础模式，还独创了注意力机制调整、提示词矩阵、负向提示词以及“高清修复”等高级功能。此外，它内置了 GFPGAN 和 CodeFormer 等人脸修复工具，支持多种神经网络放大算法，并允许用户通过插件系统无限扩展能力。即使是显存有限的设备，stable-diffusion-webui 也提供了相应的优化选项，让高质量的 AI 艺术创作变得触手可及。",162132,3,"2026-04-05T11:01:52",[13,14,15],"开发框架","图像","Agent","ready",{"id":18,"name":19,"github_repo":20,"description_zh":21,"stars":22,"difficulty_score":23,"last_commit_at":24,"category_tags":25,"status":16},1381,"everything-claude-code","affaan-m\u002Feverything-claude-code","everything-claude-code 是一套专为 AI 编程助手（如 Claude Code、Codex、Cursor 等）打造的高性能优化系统。它不仅仅是一组配置文件，而是一个经过长期实战打磨的完整框架，旨在解决 AI 代理在实际开发中面临的效率低下、记忆丢失、安全隐患及缺乏持续学习能力等核心痛点。\n\n通过引入技能模块化、直觉增强、记忆持久化机制以及内置的安全扫描功能，everything-claude-code 能显著提升 AI 在复杂任务中的表现，帮助开发者构建更稳定、更智能的生产级 AI 代理。其独特的“研究优先”开发理念和针对 Token 消耗的优化策略，使得模型响应更快、成本更低，同时有效防御潜在的攻击向量。\n\n这套工具特别适合软件开发者、AI 研究人员以及希望深度定制 AI 工作流的技术团队使用。无论您是在构建大型代码库，还是需要 AI 协助进行安全审计与自动化测试，everything-claude-code 都能提供强大的底层支持。作为一个曾荣获 Anthropic 黑客大奖的开源项目，它融合了多语言支持与丰富的实战钩子（hooks），让 AI 真正成长为懂上",138956,2,"2026-04-05T11:33:21",[13,15,26],"语言模型",{"id":28,"name":29,"github_repo":30,"description_zh":31,"stars":32,"difficulty_score":23,"last_commit_at":33,"category_tags":34,"status":16},2271,"ComfyUI","Comfy-Org\u002FComfyUI","ComfyUI 是一款功能强大且高度模块化的视觉 AI 引擎，专为设计和执行复杂的 Stable Diffusion 图像生成流程而打造。它摒弃了传统的代码编写模式，采用直观的节点式流程图界面，让用户通过连接不同的功能模块即可构建个性化的生成管线。\n\n这一设计巧妙解决了高级 AI 绘图工作流配置复杂、灵活性不足的痛点。用户无需具备编程背景，也能自由组合模型、调整参数并实时预览效果，轻松实现从基础文生图到多步骤高清修复等各类复杂任务。ComfyUI 拥有极佳的兼容性，不仅支持 Windows、macOS 和 Linux 全平台，还广泛适配 NVIDIA、AMD、Intel 及苹果 Silicon 等多种硬件架构，并率先支持 SDXL、Flux、SD3 等前沿模型。\n\n无论是希望深入探索算法潜力的研究人员和开发者，还是追求极致创作自由度的设计师与资深 AI 绘画爱好者，ComfyUI 都能提供强大的支持。其独特的模块化架构允许社区不断扩展新功能，使其成为当前最灵活、生态最丰富的开源扩散模型工具之一，帮助用户将创意高效转化为现实。",107662,"2026-04-03T11:11:01",[13,14,15],{"id":36,"name":37,"github_repo":38,"description_zh":39,"stars":40,"difficulty_score":23,"last_commit_at":41,"category_tags":42,"status":16},3704,"NextChat","ChatGPTNextWeb\u002FNextChat","NextChat 是一款轻量且极速的 AI 助手，旨在为用户提供流畅、跨平台的大模型交互体验。它完美解决了用户在多设备间切换时难以保持对话连续性，以及面对众多 AI 模型不知如何统一管理的痛点。无论是日常办公、学习辅助还是创意激发，NextChat 都能让用户随时随地通过网页、iOS、Android、Windows、MacOS 或 Linux 端无缝接入智能服务。\n\n这款工具非常适合普通用户、学生、职场人士以及需要私有化部署的企业团队使用。对于开发者而言，它也提供了便捷的自托管方案，支持一键部署到 Vercel 或 Zeabur 等平台。\n\nNextChat 的核心亮点在于其广泛的模型兼容性，原生支持 Claude、DeepSeek、GPT-4 及 Gemini Pro 等主流大模型，让用户在一个界面即可自由切换不同 AI 能力。此外，它还率先支持 MCP（Model Context Protocol）协议，增强了上下文处理能力。针对企业用户，NextChat 提供专业版解决方案，具备品牌定制、细粒度权限控制、内部知识库整合及安全审计等功能，满足公司对数据隐私和个性化管理的高标准要求。",87618,"2026-04-05T07:20:52",[13,26],{"id":44,"name":45,"github_repo":46,"description_zh":47,"stars":48,"difficulty_score":23,"last_commit_at":49,"category_tags":50,"status":16},2268,"ML-For-Beginners","microsoft\u002FML-For-Beginners","ML-For-Beginners 是由微软推出的一套系统化机器学习入门课程，旨在帮助零基础用户轻松掌握经典机器学习知识。这套课程将学习路径规划为 12 周，包含 26 节精炼课程和 52 道配套测验，内容涵盖从基础概念到实际应用的完整流程，有效解决了初学者面对庞大知识体系时无从下手、缺乏结构化指导的痛点。\n\n无论是希望转型的开发者、需要补充算法背景的研究人员，还是对人工智能充满好奇的普通爱好者，都能从中受益。课程不仅提供了清晰的理论讲解，还强调动手实践，让用户在循序渐进中建立扎实的技能基础。其独特的亮点在于强大的多语言支持，通过自动化机制提供了包括简体中文在内的 50 多种语言版本，极大地降低了全球不同背景用户的学习门槛。此外，项目采用开源协作模式，社区活跃且内容持续更新，确保学习者能获取前沿且准确的技术资讯。如果你正寻找一条清晰、友好且专业的机器学习入门之路，ML-For-Beginners 将是理想的起点。",84991,"2026-04-05T10:45:23",[14,51,52,53,15,54,26,13,55],"数据工具","视频","插件","其他","音频",{"id":57,"name":58,"github_repo":59,"description_zh":60,"stars":61,"difficulty_score":10,"last_commit_at":62,"category_tags":63,"status":16},3128,"ragflow","infiniflow\u002Fragflow","RAGFlow 是一款领先的开源检索增强生成（RAG）引擎，旨在为大语言模型构建更精准、可靠的上下文层。它巧妙地将前沿的 RAG 技术与智能体（Agent）能力相结合，不仅支持从各类文档中高效提取知识，还能让模型基于这些知识进行逻辑推理和任务执行。\n\n在大模型应用中，幻觉问题和知识滞后是常见痛点。RAGFlow 通过深度解析复杂文档结构（如表格、图表及混合排版），显著提升了信息检索的准确度，从而有效减少模型“胡编乱造”的现象，确保回答既有据可依又具备时效性。其内置的智能体机制更进一步，使系统不仅能回答问题，还能自主规划步骤解决复杂问题。\n\n这款工具特别适合开发者、企业技术团队以及 AI 研究人员使用。无论是希望快速搭建私有知识库问答系统，还是致力于探索大模型在垂直领域落地的创新者，都能从中受益。RAGFlow 提供了可视化的工作流编排界面和灵活的 API 接口，既降低了非算法背景用户的上手门槛，也满足了专业开发者对系统深度定制的需求。作为基于 Apache 2.0 协议开源的项目，它正成为连接通用大模型与行业专有知识之间的重要桥梁。",77062,"2026-04-04T04:44:48",[15,14,13,26,54],{"id":65,"github_repo":66,"name":67,"description_en":68,"description_zh":69,"ai_summary_zh":69,"readme_en":70,"readme_zh":71,"quickstart_zh":72,"use_case_zh":73,"hero_image_url":74,"owner_login":75,"owner_name":76,"owner_avatar_url":77,"owner_bio":78,"owner_company":79,"owner_location":80,"owner_email":81,"owner_twitter":82,"owner_website":83,"owner_url":84,"languages":85,"stars":90,"forks":91,"last_commit_at":92,"license":93,"difficulty_score":10,"env_os":94,"env_gpu":94,"env_ram":94,"env_deps":95,"category_tags":100,"github_topics":101,"view_count":10,"oss_zip_url":93,"oss_zip_packed_at":93,"status":16,"created_at":113,"updated_at":114,"faqs":115,"releases":146},796,"robbiebarrat\u002Frapping-neural-network","rapping-neural-network","Rap song writing recurrent neural network trained on Kanye West's entire discography","rapping-neural-network 是一款基于循环神经网络（RNN）的开源生成式项目，它深入学习了 Kanye West 的全部音乐作品。它能根据用户输入的歌词片段，逐字续写出一首新的说唱歌曲，并努力保持押韵和 Flow 的节奏感。\n\n它主要解决了创意写作中的灵感辅助难题，让 AI 能够模仿特定艺人的独特风格进行歌词创作。对于想要探索 NLP 技术的开发者、研究生成式 AI 的研究人员，或是寻找创作灵感的音乐人来说，这都是一个极佳的实验样本。此外，项目提供了 Google Colab 笔记本，普通用户无需复杂配置即可在线体验 AI 写歌的乐趣。\n\n技术亮点在于模型针对单一艺术家语料库的深度训练，使生成的文本在词汇选择和句式结构上高度还原了原风格。尽管受限于当时的技术水平，但它展示了深度学习在音乐与诗歌创作领域的早期应用潜力，是理解序列生成模型的一个生动案例。","# Rapping-neural-network\nThis is a generative art project I made for my high school's programming club - which ~I'm the president\u002Ffounder of~ I was the president\u002Ffounder of until I graduated.\n\nIt's a neural network that has been trained on Kanye West's discography, and can use any lyrics you feed it and write a new song *word by word* that rhymes and has a flow (to an extent).\n\nQuartz did a really nice profile on me and the program here; https:\u002F\u002Fqz.com\u002F920091\u002Fa-west-virginia-teen-taught-himself-how-to-build-a-rapping-ai-using-kanye-west-lyrics\u002F\n\n## UPDATE: Here's a Google Colab notebook that runs the project: https:\u002F\u002Fgoo.gl\u002FGHSWzZ\n\n# Let's hear something it made\nOkay... Here's a song it wrote *word by word* using kanye's discography - excuse the vulgarities, the neural network wrote it and not me.\nhttps:\u002F\u002Fsoundcloud.com\u002Frapping_neural_network\u002Fnetworks-with-attitude\n\n# Lyrics to above song\n\u003Cdetails>\n  \u003Csummary>Click to expand\u003C\u002Fsummary>\n\nBust a playa with the kids I never had\n\nAll his time, all he had, all he had, all he had\n\nMost you rappers don't even stop to get the most press kit\n\nPlayas is jealous cause we got the whole city lit\n\nBut without it I'd be worried if they playing that bullshit\n\nYou wanna complain about the nights even wilder\n\nI swear to God I hope you have got to hear\n\nI'll touch every curve of your favorite author\n\nNo more wasting time, you can't roam without Caesar\n\nBack when Gucci was the best summer ever\n\nBefore Cam got the hundred with the peer pressure\n\nShe walking around looking like Herve Leger\n\nSo next time I'm in between but way more fresher\n\nAnd they say you never know, never never NEVER\n\n...\n\nYou the number one I'mma beat my brother\n\nAnd I know a sign when I heard it's the magic hour\n\nGet Olga Kurylenko, tell her to do better\n\nThat know we get them hammers, go on, call the lawyer\n\n\nBut still supported me when I get richer\n\nThis my first pair of shoes, I made the Bulls play better\n\nOr use my arrogance as a wholesaler\n\nPrince Williams ain't do it can't be your damn liar\n\nYou say I dress white, but my broad way thicker\n\nIf I be Don C, we got that, that thing clear\n\nI dropped out of your body like a wrestler\n\nI can't believe I'm back to a cold killer\n\nLady Eloise I need another lover\n\nHe loved Jesus when he off the power\n\nSo I pour the potion, so we gone dress whiter\n\nOld folks talking bout Linda, from last September\n\nMight spend 50 racks on my life like a fucking loser\n\n...\n\nHe don't even stop to get this difficult\n\nShe told me that I stayed at home with my own vault\n\nShe's so precious with the space for the safe belt\n\nGirl he had the strangest feeling lately\n\nFuck you playa I know it's especially\n\nBut let some black people to think logically\n\nFire Marshall said I could give you this feeling\n\nAnd wrote hooks about slaves that the youth is missing\n\nI know this part right here, history in the ring\n\nWell I guess she was messin wit me when I'm cumming\n\nI'm way better than some head on a chain gang\n\nOn a scale of this, and now you doing your thang\n\nY'all I know you're living your life so exciting\n\nStarted a little blog just to say nothing\n\nI'mma need a fix, girl you was celebrating\n\nMayonnaise colored Benz I get my engine revving\n\nAnd my chick in that old lady on Boomerang\n\nWifey gonna kill me, I do a gangbang\n\nI put an angel in your life so exciting\n\nRight when I do it right if you was celebrating\n\nI was in Benzes, I was still at Burger King\n\nIt feel like this but playas don't know what you're drinking\n\nReally Doe told you come on homie they wilding\n\nI swear this right here, feel free to sing along\n\nShoulda known that was gonna come as it's good I'm young\n\n...\n\nThese playas read the pimp manual, but I just want your girl you was clubbin'\n\nFirst I spin around and vomit, then I made it from the day you just pretendin'\n\nBut I bet you they respect the name Kanye from the heart, y'all all frontin'\n\nWe in the same thing like a fat trainer takin a bite or somethin\n\nAbbey Lee too, I'm a jerk, you need that happy beginnin', middle and endin'\n\nThat mean I forgot better shit than you ever heard about all this name callin'\n\nCause I can never be as laid back as this flow end, I'mma let Mos begin\n\nAnd I bet you they respect the name Kanye from the heart, y'all all frontin'\n\n...\n\nMy mama used to stay recession free\n\nAll my friends says implants is a beat from Ye\n\nI want is what I do, act more stupidly\n\nWith no response make you wait longer than A.C.\n\nLoud as a shorty I looked up to this degree\n\nYoung Walt Disney, I'ma tell you once ting\n\nStraight to jail, yo, in a Bentley shining\n\nWhy you trying to make it just ring and ring\n\nNow why would I listen to T-Pain and sing\n\nEverything I throw them all laughing\n\nSo glad I ain't gotta borrow nothing\n\nSo I promised her everything\n\nI've been waiting on this rocket, Yao Ming\n\nI don't drink the drama that your dude bring\n\nKanye West is the making of a romantic\n\nPlay strings for the World's game, this is tragic\n\n...and this is the making of a romantic\n\nI done wore designers I won't get specific\n\nThe layers to my roots, I'm like a paraplegic\n\nCome on, let's take a lot more than the music\n\nI mean, after all the way we was magic\n\n...\n\n\u003C\u002Fdetails>\n\n## Setup\n\nInstall (with python 2.x)\n\n    pip install -U -r requirements.txt \n\n## Usage\n\n### See [documented_model.py](https:\u002F\u002Fraw.githubusercontent.com\u002Frobbiebarrat\u002Frapping-neural-network\u002Fmaster\u002Fdocumented_model.py) for notes as python comments.\n\n### Data preperation\n**If you'd like to use Kanye's lyrics - skip this section**\n`Lyrics.txt` comes with Kanye's entire discography in it. You can either use this, or fill it with other lyrics.\n\nGuide to using your own lyrics with `lyrics.txt`\n* Avoid including things like \"[bridge]\" or \"[intro]\" \n\n* Seperate each line by a newline\n\n* Avoid non alphanumeric characters (besides basic punctuation)\n\n* You don't have to retype everything - just copy and paste from some lyrics website\n\n### Training\n**Skip this part if you are using the default kanye lines**\n\n* In `model.py`, change the variable `artist` to the name of the new artist you've used in `lyrics.txt`\n\n* In `model.py`, change the variable `train_mode` to `True`\n\n* Run the program with `python model.py`, and allow training to finish.\n\n### Generating raps\n\n* In `model.py`, if you've trained a new network, the variable `train_mode` will be `True`, set this back to `False`\n\n* Run the program with `python model.py`\n\n* The rap will be written to the output of your terminal, and also to a file called `neural_rap.txt`\n\n### Performing raps\n\n* speech.py will \"rap\" the generated songs with a text to speech over a generic rap beat (`beat.mp3`), just run `python speech.py`\n\n## How it works\n\nAlright, so basically a markov chain will look at the lyrics you entered and generate new lines. Then, it feeds this to a recurrent neural net that will generate a sequence of tuples in the format of \n\n    (desired rhyme, desired count of syllables)\n\nThe program will then sift through the lines the markov chain generated, and match the lines to their corresponding tuples. The result is the rap.\n\n# Future goals:\n\n1. Use lyrebird.ai to have it rap in Kanye's voice... I'll probably have to hire a Kanye voice impersonator to supply me with 5 minutes of audio to train the net with though... Either that or jailbreak an old iPod and use it to do text to speech with Siri's voice.\n\n\n2. Bring back the seperate 'verses' and appropriate pauses that the first version had.\n\n\n3. Generative rap beats that it can rap over.\n\n\n\nOnce I get the lyrebird.ai thing working where it can rap and imitate someone's voice, I really want to do some type of 'album' where there's a separate track on it for each really popular dead rapper (The 90's had some really good ones, Notorious B.I.G., Big L, etc.) - where each track would have the network rapping with lyrics \u002F flow in the style of the said rapper, and imitating their voice with lyrebird's network (admit it, the current text to speech I have is pretty trash). Kind of like an AI resurrection of dead rappers...\n","# Rapping-neural-network\n这是一个生成艺术项目，是我为我高中的编程俱乐部制作的——直到我毕业之前，我一直担任该项目的主席\u002F创始人。\n\n这是一个基于坎耶·韦斯特 (Kanye West) 唱片目录 (discography) 训练的神经网络 (neural network)，它可以利用你输入的任意歌词，逐字逐句地创作一首新歌，使其押韵并拥有一定的节奏感 (flow)（在一定范围内）。\n\nQuartz 在这里对我及该程序做了非常好的介绍；https:\u002F\u002Fqz.com\u002F920091\u002Fa-west-virginia-teen-taught-himself-how-to-build-a-rapping-ai-using-kanye-west-lyrics\u002F\n\n## 更新：这里有一个可以运行该项目的 Google Colab (云端 Jupyter 笔记本) 笔记本：https:\u002F\u002Fgoo.gl\u002FGHSWzZ\n\n# 听听它创作的作品\n好吧……这是它使用坎耶的唱片目录逐字逐句创作的一首歌——请原谅其中的粗俗用语，这是神经网络写的，不是我。\nhttps:\u002F\u002Fsoundcloud.com\u002Frapping_neural_network\u002Fnetworks-with-attitude\n\n# 上述歌曲的歌词\n\u003Cdetails>\n  \u003Csummary>点击展开\u003C\u002Fsummary>\n\nBust a playa with the kids I never had\n\nAll his time, all he had, all he had, all he had\n\nMost you rappers don't even stop to get the most press kit\n\nPlayas is jealous cause we got the whole city lit\n\nBut without it I'd be worried if they playing that bullshit\n\nYou wanna complain about the nights even wilder\n\nI swear to God I hope you have got to hear\n\nI'll touch every curve of your favorite author\n\nNo more wasting time, you can't roam without Caesar\n\nBack when Gucci was the best summer ever\n\nBefore Cam got the hundred with the peer pressure\n\nShe walking around looking like Herve Leger\n\nSo next time I'm in between but way more fresher\n\nAnd they say you never know, never never NEVER\n\n...\n\nYou the number one I'mma beat my brother\n\nAnd I know a sign when I heard it's the magic hour\n\nGet Olga Kurylenko, tell her to do better\n\nThat know we get them hammers, go on, call the lawyer\n\n\nBut still supported me when I get richer\n\nThis my first pair of shoes, I made the Bulls play better\n\nOr use my arrogance as a wholesaler\n\nPrince Williams ain't do it can't be your damn liar\n\nYou say I dress white, but my broad way thicker\n\nIf I be Don C, we got that, that thing clear\n\nI dropped out of your body like a wrestler\n\nI can't believe I'm back to a cold killer\n\nLady Eloise I need another lover\n\nHe loved Jesus when he off the power\n\nSo I pour the potion, so we gone dress whiter\n\nOld folks talking bout Linda, from last September\n\nMight spend 50 racks on my life like a fucking loser\n\n...\n\nHe don't even stop to get this difficult\n\nShe told me that I stayed at home with my own vault\n\nShe's so precious with the space for the safe belt\n\nGirl he had the strangest feeling lately\n\n## 工作原理\n\n好吧，基本上，马尔可夫链 (Markov chain) 会查看你输入的歌词并生成新的行。然后，它将这些输入到一个循环神经网络 (Recurrent Neural Net) 中，该网络将生成一系列元组 (tuples)，格式如下\n\n    (desired rhyme, desired count of syllables)\n\n随后，程序将筛选马尔可夫链 (Markov chain) 生成的行，并将这些行与对应的元组进行匹配。结果就是生成的说唱。\n\n# 未来目标：\n\n1. 使用 lyrebird.ai 让它用 Kanye 的声音说唱……不过我可能得雇一个 Kanye 的模仿者来提供 5 分钟的音频以便训练网络……或者越狱一台旧 iPod，用它配合 Siri 的声音进行文本转语音 (Text to Speech)。\n\n2. 恢复第一个版本中独立的 verse (段落) 和适当的停顿。\n\n3. 生成它可以伴奏的 beat (节拍)。\n\n一旦我让 lyrebird.ai 的功能运行起来，能够说唱并模仿某人的声音，我真的想做某种类型的“专辑”，其中每首真正流行的已故说唱歌手都有一首单独的曲目（90 年代有一些非常棒的，比如 Notorious B.I.G., Big L 等）——每首曲目将由网络以该说唱歌手的风格创作歌词 \u002F flow (韵律)，并使用 lyrebird 的网络模仿他们的声音（承认吧，我目前的文本转语音 (Text to Speech) 技术真的很烂）。有点像已故说唱歌手的 AI 复活……","# rapping-neural-network 快速上手指南\n\n**rapping-neural-network** 是一个生成式艺术项目，利用神经网络在 Kanye West 的歌词库上进行训练，能够根据输入生成押韵且带有节奏感的说唱歌词。\n\n## 环境准备\n\n- **操作系统**：任意支持 Python 的系统\n- **编程语言**：**Python 2.x**（注意：本项目依赖 Python 2 环境）\n- **包管理工具**：pip\n\n*(提示：在国内网络环境下，建议在安装前配置 pip 国内镜像源以加速下载)*\n\n## 安装步骤\n\n进入项目目录后，执行以下命令安装依赖：\n\n```bash\npip install -U -r requirements.txt \n```\n\n## 基本使用\n\n### 1. 生成歌词（默认模式）\n\n项目自带了 Kanye West 的完整歌词库 (`Lyrics.txt`)，无需重新训练即可直接使用。\n\n1. 打开 `model.py` 文件，确保变量设置如下：\n   ```python\n   train_mode = False\n   ```\n2. 运行程序，生成的歌词将输出到终端并保存为 `neural_rap.txt`：\n   ```bash\n   python model.py\n   ```\n\n### 2. 自定义训练（可选）\n\n如果你想使用其他歌手的歌词进行训练：\n\n1. 准备歌词文件 `Lyrics.txt`（每行一句，避免包含 `[bridge]` 等非字母数字字符）。\n2. 修改 `model.py` 中的参数：\n   ```python\n   artist = '你的歌手名'\n   train_mode = True\n   ```\n3. 运行训练：\n   ```bash\n   python model.py\n   ```\n4. 训练完成后，将 `train_mode` 改回 `False` 即可开始生成。\n\n### 3. 语音合成表演\n\n使用文本转语音功能配合通用节拍播放生成的歌曲：\n\n```bash\npython speech.py\n```","独立制作人小陈需要在 24 小时内完成一首 Demo 的歌词创作，但面对空白的文档陷入了严重的创作瓶颈。\n\n### 没有 rapping-neural-network 时\n- 反复推敲韵脚导致效率低下，半天写不出完整段落，严重拖慢项目进度。\n- 灵感枯竭时难以找到新颖的比喻和押韵组合，内容容易陷入俗套重复。\n- 手动调整 Flow 节奏耗时费力，频繁修改破坏了原本的音乐创作心流。\n- 缺乏专业说唱训练背景，难以把握特定风格（如 Kanye）的叙事口吻和用词习惯。\n\n### 使用 rapping-neural-network 后\n- rapping-neural-network 能快速生成符合 Kanye 风格的押韵句子，提供大量高质量参考素材。\n- 模型输出的意外词汇组合激发了新的创作思路，帮助打破思维定势寻找独特切入点。\n- 直接基于输入关键词续写歌词，大幅缩短从构思到成稿的时间周期，满足紧急交付需求。\n- 自动学习到的韵律模式为初稿提供了流畅的骨架，后续只需微调即可适配 Beat。\n\n它让创作者从机械的押韵工作中解放出来，专注于音乐情感表达与整体艺术编排。","https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Frobbiebarrat_rapping-neural-network_08e99d26.png","robbiebarrat","Robbie Barrat","https:\u002F\u002Foss.gittoolsai.com\u002Favatars\u002Frobbiebarrat_2619151d.jpg","Artist working with new media + AI","N\u002FA","Paris, France","robbiebarrat@gmail.com","videodrome","robbiebarrat.github.io","https:\u002F\u002Fgithub.com\u002Frobbiebarrat",[86],{"name":87,"color":88,"percentage":89},"Python","#3572A5",100,1059,164,"2026-03-02T05:08:59",null,"未说明",{"notes":96,"python":97,"dependencies":98},"需使用 Python 2.x 环境；运行前需准备歌词文本 Lyrics.txt 及伴奏 beat.mp3；数据预处理需去除非字母数字字符及标记如 [bridge]；支持通过 Google Colab 在线运行；训练模式与生成模式需在 model.py 中切换 train_mode 变量","2.x",[99],"未说明（依赖 requirements.txt 内容未在文档列出）",[51,13,53],[102,103,104,105,106,107,108,109,110,111,112],"neural-network","lyrics","songs","rhymes","machine","learning","rap","rap-songs","generative-art","songwriting","mp3","2026-03-27T02:49:30.150509","2026-04-06T07:16:13.982215",[116,121,126,131,136,141],{"id":117,"question_zh":118,"answer_zh":119,"source_url":120},3427,"训练模型时出现 TypeError: Received unknown keyword arguments: {'epochs': 5} 错误怎么办？","这是由于 Keras 版本差异导致的。旧版本 Keras 使用 nb_epoch 参数而非 epochs。解决方法是将代码中的 epochs 改为 nb_epoch。如果问题依旧，可以尝试使用维护者提供的旧版本代码分支（https:\u002F\u002Fgithub.com\u002Frobbiebarrat\u002Frapping-neural-network\u002Ftree\u002Fd1d341dd6f46263f790a3dc5c65a70d9a4eb0492），或者卸载 tensorflow-gpu 并安装 CPU 版 tensorflow 进行测试。","https:\u002F\u002Fgithub.com\u002Frobbiebarrat\u002Frapping-neural-network\u002Fissues\u002F18",{"id":122,"question_zh":123,"answer_zh":124,"source_url":125},3428,"训练新歌词时出现 IndexError: string index out of range 错误如何解决？","这通常是因为歌词文件包含特殊字符或格式错误。请检查输入文件，移除连字符（如\"-\"）或连续的空格。程序在解析单词首字母时若遇到空字符串会崩溃。确保歌词文件干净，没有异常符号或多余空格。","https:\u002F\u002Fgithub.com\u002Frobbiebarrat\u002Frapping-neural-network\u002Fissues\u002F21",{"id":127,"question_zh":128,"answer_zh":129,"source_url":130},3429,"运行 model.py 生成歌词时报错，提示层权重不匹配（Layer #0... expects 12 weights...）怎么办？","模型结构与保存的权重文件可能不兼容。建议直接使用维护者提供的 Google Colab 笔记本运行网络，可避免本地环境配置问题。链接：https:\u002F\u002Fgoo.gl\u002FGHSWzZ。注意在 Notebook 中需先定义 main(depth) 后再运行。","https:\u002F\u002Fgithub.com\u002Frobbiebarrat\u002Frapping-neural-network\u002Fissues\u002F19",{"id":132,"question_zh":133,"answer_zh":134,"source_url":135},3430,"在 Windows 上运行时出现 UnicodeDecodeError 编码错误如何处理？","这是 Python 2.7 在 Windows 下的常见编码问题。用户反馈通过删除代码中的 `rhymeslist = [x.encode('UTF8') for x in rhymeslist]` 这一行可以解决。此外，如果遇到 bytes 和 str 比较的 TypeError，也需检查相关编码处理逻辑。","https:\u002F\u002Fgithub.com\u002Frobbiebarrat\u002Frapping-neural-network\u002Fissues\u002F16",{"id":137,"question_zh":138,"answer_zh":139,"source_url":140},3431,"这个脚本只能重新排列现有歌词吗？如何生成独特的原创歌词？","早期版本主要用于重新排列现有 bars。但维护者已更新 deeprap.py，现在支持逐词写作，能够生成独特的歌词。请确保使用最新版本的代码以启用此功能。","https:\u002F\u002Fgithub.com\u002Frobbiebarrat\u002Frapping-neural-network\u002Fissues\u002F2",{"id":142,"question_zh":143,"answer_zh":144,"source_url":145},3432,"如何理解 model.py 中 rhymeindex() 和 rhyme() 函数的具体作用？","关于代码逻辑的详细解释，建议查看 README 中 \"usage\" 部分下方的 `documented_model.py` 链接。这些函数用于构建网络的 2x2 输入数据，其中 float_rhyme 帮助 LSTM 理解押韵模式，reverselist 涉及押韵列表的处理逻辑。","https:\u002F\u002Fgithub.com\u002Frobbiebarrat\u002Frapping-neural-network\u002Fissues\u002F17",[147],{"id":148,"version":149,"summary_zh":150,"released_at":151},103033,"2.0","Rewrote the original project in keras instead of pybrain.\r\n\r\nNew version offers better raps, and more adjustable performance (e.g. control over syllables, etc.)\r\n\r\nNew format for saved networks (.rap files) and for the rhymes (.rhymes files) are introduced instead of the folders used in previous versions.\r\n\r\nFixed issues with the Markov chain and users getting stuck on \"writing the raps word by word\"\r\n\r\n","2017-10-11T20:50:39"]