1. Method 1: Use the plug-in typed.js typed.js website address, click me to open it 1.1. The core code is as follows: //TypeWriteEffect/index.tsx component import React, {<!– –> useEffect, useRef } from ‘react’; import Typed from ‘typed.js’; import {<!– –> PropsType } from ‘./index.d’; const TypeWriteEffect: React.FC<PropsType> = ({<!– –> text = ”, callback, seed […]
Tag: chat
Wen Xin Yi Yan VS iFlytek Spark VS chatgpt (130) — Introduction to Algorithms 11.2 2 questions
2. Using Go language, for a hash table that uses the linking method to resolve conflicts, describe the process of inserting the keywords 5,28,19,15,20,33,12,17,10 into the table. Assume there are 9 slots in the table, and let its hash function be h(k)=k mod 9. Wen Xin’s words: In this problem, we use the Go language […]
Langchain-Chatchat project: 5.1-ChatGLM3-6B tool call
Evaluations on data sets from different perspectives such as semantics, mathematics, reasoning, code, and knowledge show that ChatGLM3-6B-Base has the strongest performance among basic models below 10B. ChatGLM3-6B adopts a newly designed Prompt format, in addition to normal multi-round conversations. At the same time, it natively supports complex scenarios such as tool calling (Function Call), […]
Wen Xin Yi Yan VS iFlytek Spark VS chatgpt (128) — Introduction to Algorithms 11.1 3 questions
3. Using Go language, try to explain how to implement a direct addressing table. The keywords of each element in the table do not have to be different, and each element can have satellite data. All three dictionary operations (INSERT, DELETE and SEARCH) should run in O(1) time (don’t forget that DELETE deals with the […]
Task 1 Deploy the ChatGLM3-6B large model and conduct dialogue testing
Deploy the ChatGLM3-6B large model and conduct conversation testing 0 Introduction: 1 Tendong cloud project creation and environment configuration 1.1 Create project: 1.2 Configuration environment 1.2.1 Enter the terminal 1.2.2 Set mirror source 1.2.3 Clone the project and install dependencies 2 Modify the code, change the path and start the code 3 Run the code […]
AI project practice, create your own chatGPT
Article directory Preface AI projects are deployed on the Trend Cloud Platform. Codes are written and run directly on the cloud, and GPU resources are used for acceleration. Interested students can go to [Register](https://growthdata.virtaicloud.com/t/3s) to get 168 yuan of computing power for free. Project effect: ![Insert picture description here](https://img-blog.csdnimg.cn/e8987df859bc4cc59b28e0e32c63ad49.png) The returned results are quite satisfactory […]
Langchain-Chachat project: Dataset used by 4.2-P-Tuning v2
This article mainly introduces the five tasks in the P-tuning-v2 paper, which are Glue tasks, NER tasks, QA tasks, SRL tasks, and SuperGlue tasks. It focuses on the data sets used for each task. 1.Glue task GLUE (General Language Understanding Evaluation) is a multi-task natural language understanding benchmark and analysis platform created by New York […]
Langchain-Chachat project: 4.1-P-Tuning v2 implementation process
What are the common parameter-efficient fine-tuning methods (Parameter-Efficient Fine-Tuning, PEFT)? Mainly Prompt series and LoRA series. This article mainly introduces the P-Tuning v2 fine-tuning method. As follows: Prompt series, for example, Prefix Tuning(2021.01-Stanford), Prompt Tuning(2021.09-Google), P-Tuning(2021.03-Tsinghua), P-Tuning v2(2022.03-Tsinghua); LoRA series, for example, LoRA(2021.11-Microsoft), AdaLoRA(2023.03-Microsoft), QLoRA(2023.05-Washington). There are also things that I don’t know how to […]
GPT practical series-ChatGLM3 local deployment CUDA11+1080Ti+ graphics card 24G practical solution
Table of Contents 1. ChatGLM3 model 2. Resource requirements 3. Deployment and installation Configuration Environment Installation process Low-cost configuration and deployment solution 4. Start ChatGLM3 5. Functional testing Freshly released, the domestic GPT version has been iteratively updated~ The Tsinghua team has just released ChatGLM3, and just before the Yunqi Conference, Baichuan also released Baichuan2-192K, […]
vue-advanced-chat usage guide (socket.io+node+vue implements chat)
demo address: – Git address of vue-advanced-chat: https://github.com/advanced-chat/vue-advanced-chat 1. Build demo After cloning the demo address, install the dependencies in the demo directory and start it. The page after startup is as follows: 2. Front-end code analysis 2.1 Analysis of key APIs current-user-id: current user id room-id: Can a specific room be loaded at any […]