上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 107 下一页
摘要: 1.pytorch中给出的例子 https://github.com/pytorch/examples/blob/master/vae/main.py 实现过程非常简单: class VAE(nn.Module): def __init__(self): super(VAE, self).__ini 阅读全文
posted @ 2020-02-10 08:44 lypbendlf 阅读(1003) 评论(0) 推荐(0) 编辑
摘要: 1.训练过程的四个内容 从上面可以看到一个典型的训练过程:处理数据+前向模型+后向传播优化+打印结果 2. .item()作用 import torch a=torch.tensor([0]) print(a.item()) 输出: 0 只针对单个的数 import torch a=torch.te 阅读全文
posted @ 2020-02-09 18:09 lypbendlf 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 1.一个例子 http://sep.stanford.edu/public/docs/sep99/jest_intro_Fig/paper_html/node2.html 2.知乎问答 https://www.zhihu.com/question/48279880 阅读全文
posted @ 2020-02-09 14:23 lypbendlf 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 转自:https://towardsdatascience.com/gamma-distribution-intuition-derivation-and-examples-55f407423840 #似乎还从来没有认真地学习过gamma分布。 1. 从这个图中似乎可以认为,gamma分布中的sha 阅读全文
posted @ 2020-02-09 00:10 lypbendlf 阅读(685) 评论(0) 推荐(0) 编辑
摘要: 1.问题分析 https://leetcode.com/articles/subsets/ 三个问题的解空间如上(看到这种问题真是脑瓜子嗡嗡的,好难) 其中子集问题,为2^n,因为每一个元素可能出现也可能不出现(原来是这样。) 一般的解决方法包括:递归、回溯、以及二进制操作(基于二进制位掩码和对应位 阅读全文
posted @ 2020-02-08 23:40 lypbendlf 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 1.pytorch入门学习 https://pytorch.org/tutorials/beginner/blitz/tensor_tutorial.html#sphx-glr-beginner-blitz-tensor-tutorial-py 这个官方教程还挺好的。可以作为一个手册来查找。 包括创 阅读全文
posted @ 2020-02-04 20:57 lypbendlf 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/Stupid_human/article/details/99414013 1.上下文相同的词,词义很大可能也相同。 比如这个例子中,单词可能意思是beer,和beer相似。 2.怎么做文本分类? 两篇文章的向量相似,那么两篇文章也相似。 3.htt 阅读全文
posted @ 2020-02-01 23:44 lypbendlf 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.bioconductor.org/packages/release/bioc/vignettes/splatter/inst/doc/splatter.html 1.quickstart library(splatter) library(scater)# 创建模拟数据 阅读全文
posted @ 2020-02-01 22:35 lypbendlf 阅读(1282) 评论(0) 推荐(0) 编辑
摘要: 1.目前还是在看MTB的代码,其中预训练的部分,有很多不明白的,地方: 使用的预训练的数据集是cnn.txt,不知道是否是使用的QA数据集https://cs.nyu.edu/~kcho/DMQA/。 它整个的格式是这个样子的: 分为两个部分:一个是短文,另一个是4个@highlight,强调部分的 阅读全文
posted @ 2020-01-29 14:34 lypbendlf 阅读(295) 评论(0) 推荐(0) 编辑
摘要: ——————————1月8日———————————— 1. 继续这个https://www.cnblogs.com/BlueBlueSea/p/12129104.html来解决问题。 2.在这里搜到https://huggingface.co/transformers/main_classes/to 阅读全文
posted @ 2020-01-06 13:52 lypbendlf 阅读(176) 评论(0) 推荐(0) 编辑
上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 107 下一页