上一页 1 2 3 4 5 6 7 ··· 15 下一页
摘要: https://github.com/google-research/bert Abstract: 我们提出...,与之前的语言表示不同的是,Bert用到左边和右边的context,用来训练双向表示。结果:预训练的Bert只需要一个额外的output layer作为 fine-tune 使用。 Be 阅读全文
posted @ 2019-02-22 10:40 hozhangel 阅读(1187) 评论(0) 推荐(0)
摘要: gather squeeze 将维度为1的压缩掉。如size为(3,1,1,2),压缩之后为(3,2) 输出: expand 扩展某个size为1的维度。如(2,2,1)扩展为(2,2,3) 输出: 参考:https://blog.csdn.net/hbu_pig/article/details/8 阅读全文
posted @ 2018-11-28 09:40 hozhangel 阅读(402) 评论(0) 推荐(0)
摘要: 如 想对字典wordhash排序: 通过list实现:wordlist 判断某个key是否在字典中 阅读全文
posted @ 2018-11-15 22:03 hozhangel 阅读(175) 评论(0) 推荐(0)
摘要: 解决两个问题: 之前还好好的代码 时隔一个月就出现了问题 询问了实验室的小伙,then发现问题: 然后解决问题: 好吧,兜兜转转后续儿重装,不是安装cuda就相对简单了: 安装NVIDIA驱动程序(如果事先有装但失败的,先卸载,所以要卸载。。) 1)禁用nouveau驱动 终端中运行: 2)关闭图形 阅读全文
posted @ 2018-11-14 21:35 hozhangel 阅读(4933) 评论(0) 推荐(0)
摘要: 查看python某个模块安装位置 import module(所查询的模块) print(module.__file__) 查看anaconda版本: conda -V 驱动版本: cat /proc/driver/nvidia/version 查看Cuda版本: cat /usr/local/cu 阅读全文
posted @ 2018-11-13 09:19 hozhangel 阅读(1948) 评论(0) 推荐(0)
摘要: gpu4@gpu4:~$ sudo useradd -m -s /bin/bash haiou[sudo] gpu4 的密码: gpu4@gpu4:~$ sudo passwd haiou输入新的 UNIX 密码: 重新输入新的 UNIX 密码: passwd:已成功更新密码gpu4@gpu4:~$ 阅读全文
posted @ 2018-10-12 16:10 hozhangel 阅读(124) 评论(0) 推荐(0)
摘要: 142. Linked List Cycle II Similiar problem:141. Linked List Cycle Given a linked list, return the node where the cycle begins. If there is no cycle, r 阅读全文
posted @ 2018-08-15 09:55 hozhangel 阅读(112) 评论(0) 推荐(0)
摘要: 我在discussion区的更新:C++-solutioneasy-to-understand 160. Intersection of Two Linked Lists Write a program to find the node at which the intersection of tw 阅读全文
posted @ 2018-08-14 21:22 hozhangel 阅读(178) 评论(0) 推荐(0)
摘要: 网页版Instagram如何发照片? 教程如下~~首先打开ins主页: 按键盘F12键 或者右键审查(检查): 按键盘F12键 或者右键审查(检查): 然后点击右面的: 点击之后刷新下页面(F5),你会发现左边会变成这样的如图: 发现多了一栏哦 仔细看看界面是不是跟手机版一样?我们点击最中间的那个“ 阅读全文
posted @ 2018-08-14 10:55 hozhangel 阅读(27669) 评论(1) 推荐(1)
摘要: 141. Linked List Cycle Given a linked list, determine if it has a cycle in it. Follow up:Can you solve it without using extra space? 第二次遇到这个题 竟然忘记怎么做: 阅读全文
posted @ 2018-08-13 20:30 hozhangel 阅读(147) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 15 下一页