Numpy implements GPT’s decoder to generate old poems

numpy implements GPT’s decoder to generate old poems numpy_transformer/gpt/gpt_train_potry3000.py at master · ZouJiu1/numpy_transformer (github.com)?github.com/ZouJiu1/numpy_transformer/blob/master/gpt/gpt_train_potry3000.py Mainly using the neural network layer previously written in numpy, numpy_transformer/net at master · ZouJiu1/numpy_transformer (github.com), including full connect, softmax, embedding, attention, and decoder layers. See the following for details. The train accuracy can reach 96%. 9. Is it a random […]

Poetry’s help documentation

github original text blog Video tutorial Directory Table of contents poetry command view Poetry command explanation poetry command view Poetry (version 1.5.1) Usage: command [options] [arguments] Options: -h, –help Display help for the given command. When no command is given display help for the list command. -q, –quiet Do not output any message. -V, –version […]

From Python code to poetry

Preface In the Python community, there are no mandatory coding standards. Although this gives developers more freedom, it also leads to inconsistent coding styles. Making some codes obscure and difficult to understand, this article will explore a series of development techniques and best practices to develop elegant Python scripts. 1. Parameter reception and verification The […]

National Day and Mid-Autumn Festival Special (1) Romantic Blessing Method Use Recurrent Neural Network (RNN) or Long Short-Term Memory Network (LSTM) to generate blessing poems

National Day and Mid-Autumn Festival special series of articles: National Day and Mid-Autumn Festival Special (8) How to use JPA in Spring Boot projects National Day and Mid-Autumn Festival Special (7) 20 Common Programming Interview Questions for Java Software Engineers National Day and Mid-Autumn Festival Special (6) 30 Common Treasure Programming Interview Questions for College […]

android annotation APT and javapoet

Foreword We have already talked about the basic knowledge of annotations before. If you don’t know much about annotations, you can read the previous articles. Detailed explanation of android annotations_Yuan Zhen’s blog-CSDN blog. When we talked about annotations before, we mentioned APT and JavaPoet, so what are APT and JavaPoet? Let’s explain it in detail […]

How to make Android network requests as elegant as poetry

In Android application development, network requests are essential. How to encapsulate them to make your request code more concise and elegant, and more convenient for future development? Here we use Kotlin’s functional programming and Retrofit to encapsulate a network request framework from scratch. Let’s take a look! First, introduce some necessary dependencies. implementation ‘com.squareup.okhttp3:okhttp:4.9.1’ implementation […]

AI face-changing tool, ChatGPT Admin Web page application, API call Midjourney for AI drawing, Chinese ancient poetry database, Neutrino-Proxy is a high-performance network proxy software

AI face changing tool, ChatGPT Admin Web page application, API call Midjourney for AI drawing, Chinese ancient poetry database, Neutrino-Proxy is a high-performance network proxy software. full text outline AI Face Swap Tool ChatGPT Admin Web web application API calls Midjourney for AI drawing Open AI-Cook Book is an API usage guide for Open AI […]

Python Poetry dependency management tool

Python dependency management tool poetry Install Linux, macOS, Windows (WSL) curl -sSL https://install.python-poetry.org | python3 – Windows (Powershell) (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py Configuration Use poetry config –list to view the configuration PS C:\Users\lingh\Desktop\poetry-demo> poetry config –list cache-dir = “C:\Users\lingh\AppData\Local\pypoetry\Cache” experimental.system-git-client=false installer.max-workers = null installer.modern-installation = true installer.no-binary = null installer.parallel = true repositories.tsinghua.url […]