Foreword I believe we are all familiar with structures, but structures belong to a custom type, so what is special about these custom types? This issue will be described below. 1. Structure 1. Declaration of structure 1.1 Basic knowledge of structures A structure is a collection of values called member variables. Each member of the […]
Tag: lan
Large language model 16 – long text context fine-tuning Llama-2 based on LongLoRA
Increasing the LLM context length can improve the performance of large language models on some tasks, including multi-round long conversations, long text summaries, high-resolution 4k model understanding of the visual-linguistic Transformer model, code generation, image and audio generation, etc. For long context scenarios, in the decoding stage, caching the Key and Value (KV) of the […]
maven setting.xml configuration and explanation
maven download jar rules When maven downloads the jar package, it will first search for the jar from the configured local repository localRepository. If it cannot find the jar, it will download the jar from the configured remote repository. The configured remote warehouse has a corresponding ID. You can fill in the ID of the […]
Research on artificial potential field path planning (Matlab code implementation)
?About the author: A Matlab simulation developer who loves scientific research. He cultivates his mind and improves his technology simultaneously. For cooperation on MATLAB projects, please send a private message. Personal homepage: Matlab Research Studio Personal credo: Investigate things to gain knowledge. For more complete Matlab code and simulation customization content, click Intelligent optimization algorithm […]
SQL/Data Manipulation Language DML (Data Manipulation Language)
It is the operation of data in the table There are three main forms of data operation (manipulation) language DML: Insert: INSERTUpdate: UPDATEDelete: DELETE #DML language /* Data manipulation language: Insert: insert Modification: update Delete: delete */ #1. Insert statement /* grammar: insert into table name(column name,…) values(value1,…); Table Name List new value */ SELECT […]
C language, convert infix expression to postfix expression and calculate (stack)
1. Convert infix expression to suffix expression and calculate. The suffix expression is in string form. The number is limited to less than 10. Use the number stack operator stack 1 /* Convert infix expression to postfix expression in C language and calculate the result 2 The infix expression contains binary operators and parentheses, and […]
Langchain-Chachat Project: 2.1 – Retrieving NebulaGraph via GPT2 model
The official example shows how to retrieve the NebulaGraph graph database through chain = NebulaGraphQAChain.from_llm(ChatOpenAI(temperature=0), graph=graph, verbose=True). This article introduces the idea and implementation of replacing ChatOpenAI through GPT2, without considering the effect for the time being. The reason why ChatGLM2 is not used is that loading the model is too slow and debugging is […]
Go language advanced network programming
In-depth discussion of network programming in Go language Introduction Network programming in Go (Golang) is easy, powerful, and fun. This guide delves into the intricacies of network programming, covering protocols, TCP/UDP sockets, concurrency, and more, with detailed notes. Key concepts 1. Network protocol TCP (Transmission Control Protocol): Ensures reliable data transmission. UDP (User Datagram Protocol): […]
Understanding of local variables, global variables, stack, heap and other concepts in C language and verification in ubuntu system and stm32
Article directory 1. Global variables and local variables 1.1 Global variables 1.2 Local variables 2. Stack and Heap 2.1 Stack and Heap 2.2stm32 stack 3.ubuntu programming and stm32 programming verification 1. Global variables and local variables 1.1 Global variables In C language, global variables are variables defined outside all functions. Global variables are available throughout […]
Mobile robot path planning based on Dijkstra, A* and dynamic programming (Matlab code implementation)
?About the author: A Matlab simulation developer who loves scientific research. He cultivates his mind and improves his technology simultaneously. For cooperation on MATLAB projects, please send a private message. Personal homepage: Matlab Research Studio Personal credo: Investigate things to gain knowledge. For more complete Matlab code and simulation customization content, click Intelligent optimization algorithm […]