上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 102 下一页
摘要: ref: https://towardsdatascience.com/how-to-use-datasets-and-dataloader-in-pytorch-for-custom-text-data-270eed7f7c00 https://pytorch.org/tutorials/begi 阅读全文
posted @ 2021-10-29 11:26 Rogn 阅读(430) 评论(0) 推荐(0)
摘要: 原文 https://rockt.github.io/2018/04/30/einsum 就是说有一种运算,叫做einsum,可以做各种矩阵和向量的运算,而且特别简洁和优美 自己跑一下里面的例子,就知道是怎么回事了, 这里记录一下其中的tensor contraction,算是最general的形式 阅读全文
posted @ 2021-10-28 00:02 Rogn 阅读(153) 评论(0) 推荐(0)
摘要: 视频1 https://www.youtube.com/watch?v=1_gRK9EIQpc&ab_channel=Hung-yiLee 视频2 https://www.youtube.com/watch?v=gh0hewYkjgo&ab_channel=Hung-yiLee Bert论文链接 h 阅读全文
posted @ 2021-10-27 15:00 Rogn 阅读(92) 评论(0) 推荐(0)
摘要: Hung-yi Lee李宏毅的课,没有废话,重难点都讲了,可以说是非常棒了 视频地址https://www.youtube.com/watch?v=ugWDIIOHtPA&ab_channel=Hung-yiLee 1. Seq2Seq采用RNN不能并行化,使用CNN代替RNN 例如CNN三角形选取 阅读全文
posted @ 2021-10-26 00:34 Rogn 阅读(629) 评论(0) 推荐(0)
摘要: 如果之前使用的训练命令是 python train.py --device gpu --save_dir ./checkpoints 添加 -m paddle.distributed.launch 就能使用分布式训练,python -m paddle.distributed.launch train 阅读全文
posted @ 2021-10-19 18:59 Rogn 阅读(1213) 评论(0) 推荐(0)
摘要: 做题一时爽,补题... 2042. 检查句子中的数字是否递增 签到题 class Solution: mymax = -1 def areNumbersAscending(self, s: str) -> bool: x_list = s.split() for x in x_list: if x[ 阅读全文
posted @ 2021-10-19 16:33 Rogn 阅读(111) 评论(0) 推荐(0)
摘要: 视频:https://www.bilibili.com/video/BV1Ly4y1L7aP 就是用google的一个gvisor项目去解决容器安全问题,它引进了user-kernel "感觉就是增加user-kernel层,但是这个user-kernel能跳过Linux kernel去管理网络和储 阅读全文
posted @ 2021-10-17 22:17 Rogn 阅读(135) 评论(0) 推荐(0)
摘要: 安装 // 首先,创建一个虚拟环境 conda create -n my_paddle python=3.8 // 安装Paddle GPU版 // 没有加版本号会自动下载最新版 pip install paddlepaddle-gpu // 安装PaddleNLP pip install padd 阅读全文
posted @ 2021-10-17 21:38 Rogn 阅读(3600) 评论(0) 推荐(0)
摘要: 有时候想给朋友分享一个文件,或者上传一个文件到服务器,需要一个中介,不会有人用百度网盘吧?? 主要考虑的因素:是否收费,空间与流量、上传与下载速度、是否提供外链 Storj DCS 国外产品,官网 优点:150G免费空间,无限免费流量,有外链 缺点:速度不是很快,上传1M左右,下载也是1M左右,用下 阅读全文
posted @ 2021-10-16 23:59 Rogn 阅读(417) 评论(0) 推荐(0)
摘要: 大杂烩,基本翻译自 A brief introduction to XDP and eBPF The eXpress Data Path xdp-ebpf 简介 Kernel Bypass 在过去几年中,我们看到了编程工具包和技术的升级,以克服Linux kernel的限制,来进行高性能数据包处理。 阅读全文
posted @ 2021-10-15 16:40 Rogn 阅读(5625) 评论(0) 推荐(1)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 102 下一页