摘要: written in the foreword Any nonlinear function that has good derivative properties has the potential to become an activation function. So here, we wil 阅读全文
posted @ 2023-11-28 03:33 Daze_Lu 阅读(42) 评论(0) 推荐(0)
摘要: bash code cd /home/ludaze/Docker/Llama/llama conda activate llama_etuning git clone https://github.com/facebookresearch/llama.git wget https://raw.git 阅读全文
posted @ 2023-11-27 06:52 Daze_Lu 阅读(206) 评论(0) 推荐(0)
摘要: 1 login in VM login in the console and then change the configuration sudo -i vim /etc/ssh/sshd_config change the following lines PermitRootLogin yes P 阅读全文
posted @ 2023-11-18 17:28 Daze_Lu 阅读(28) 评论(0) 推荐(0)
摘要: why do we need to split the model Sometimes a model is a little large for a single GPU, we can deploy the model into several GPUS by splitting one nod 阅读全文
posted @ 2023-11-16 03:08 Daze_Lu 阅读(23) 评论(0) 推荐(0)
摘要: run llama2 1 llama2 repository: here dataset mmlu dataset structure RESULT command CUDA_VISIBLE_DEVICES=0 python src/evaluate.py \ --model_name_or_pat 阅读全文
posted @ 2023-11-15 15:43 Daze_Lu 阅读(460) 评论(0) 推荐(0)
摘要: 1、 一般的爬虫只能够爬取静态网页的数据,动态网页的数据需要使用selenium来制作爬虫来爬取,selenium在电脑内部启动了一个浏览器去访问网页,用selenium制作的爬虫行为和人十分相似,因而能够访问到一般爬虫访问不到的数据。 2、使用selenium爬虫需要具备以下条件:a、已经安装好s 阅读全文
posted @ 2020-02-13 14:56 Daze_Lu 阅读(577) 评论(0) 推荐(0)
摘要: SQL学习(二、运算符,函数,子查询) 1、WHERE 语句 WHERE 子句用于提取那些满足指定标准的记录。 WHERE 子句的语法: SELECT column_list FROM table_name WHERE condition; 下面的 SQL 语句从 "customers" 表中选择 阅读全文
posted @ 2020-01-31 14:54 Daze_Lu 阅读(253) 评论(0) 推荐(0)
摘要: 近些日子在学习数据库,操作数据库(MySQL)需要使用SQL,在此将笔记展示一下,希望能够对有这方面需求的技术朋友有所帮助,展示的为一些具体操作: SOL学习(一、基本概念) 1、 SHOW TABLES 命令用于显示当前选定的 MySQL 数据库中的所有表。 2、 SHOW COLUMNS 显示有 阅读全文
posted @ 2020-01-31 13:28 Daze_Lu 阅读(279) 评论(0) 推荐(0)