Giter Site home page Giter Site logo

lyricsgeneration_markovchain's Introduction

络打油

(神经网)络打油 - 基于 chatGPT API 的罗大佑风格歌词生成器。

用法:

usage: lyrics_master.py [-h] [-c] [-d] [-t TEMPERATURE] [-p TOP_P] [subject]

自动生成罗大佑风格的歌词。 使用前请将 OPENAI_API_KEY 环境变量设成您的 openAI API key 值: export
OPENAI_API_KEY=<您的 openAI API key>

positional arguments:
  subject               歌曲的主题

optional arguments:
  -h, --help            show this help message and exit
  -c, --chatgpt         用 chatGPT 模型来产生歌词
  -d, --davinci         用 Davinci 模型来产生歌词
  -t TEMPERATURE, --temperature TEMPERATURE
                        想象力有多狂野 ([0, 1]区间的实数)
  -p TOP_P, --top_p TOP_P
                        只考虑头部概率的选择 ([0, 1]区间的实数)

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.