Code Monkey home page Code Monkey logo

child-poetry-assistant's Introduction

儿童诗歌助理

项目介绍

儿童诗歌助理是一个基于自然语言处理技术的儿童诗歌创作助手,可以根据用户输入的关键词,生成符合儿童阅读习惯的诗歌。

本项目集成了大模型Qwen-7b-chat,可以生成更加丰富的诗歌内容。

文字转语音chatTTS,可以将生成的诗歌内容转换为语音,提供更加丰富的体验。

方案选择

  • CPU型号:Intel(R) Xeon(R) Platinum 8358P CPU @ 2.60GHz

  • 部署方案:vllm-0.4.3-CPU / triton-server-LLM CPU

  • 模型:Qwen1.5-7b-chat Int4量化 或者 Qwen-1_8B-Chat

架构方案

架构图

大模型部署方案

总结

本项目主要探讨大模型在CPU(intel)上的运行可行性。但目前intel的依赖库xtransformer还不够完善,部署过程中遇到了一些问题,需要进一步完善。

目前部署方案仍采用vllm cpu版本。

同时,本项目附上intel方案部署的所有notebook,包含所有的错误,供大家参考。

child-poetry-assistant's People

Contributors

wenyangchou avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.