摘要: Introduction 该模型来自于文章 A General Framework for Information Extraction using Dynamic Span Graphs , 简称 Dynamic Graph IE (DYGIE)模式, 是事件抽取中一些数据集的 SOTA. 这是一 阅读全文
posted @ 2021-09-04 17:40 虾野百鹤 阅读(650) 评论(1) 推荐(0) 编辑
摘要: Leetcode__1508. Range Sum of Sorted Subarray Sums 这一题是一道十分典型的二分查找与双指针的使用,题目的大意是,给出一个数组 \(nums\) , 我们可以通过该数组得到子数组, 子数组的大小从 1 到 \(n\), 因此有 \(\frac{n(n+1 阅读全文
posted @ 2021-08-28 22:01 虾野百鹤 阅读(58) 评论(0) 推荐(0) 编辑
摘要: Batch Normalization 以及 Pytorch的实现 Internal Covariate Shift 在说明 Batch Normalization 之前, 我们需要知道为什么要引入 Batch Normalization, Batch Normalization可以使得我们在训练阶 阅读全文
posted @ 2021-08-27 20:11 虾野百鹤 阅读(2658) 评论(0) 推荐(0) 编辑
摘要: Pytorch Transformer 中 Position Embedding 的实现 The Positional Encoding part in Transformer is a special part, it isn't part of the network module, it is 阅读全文
posted @ 2021-08-26 11:48 虾野百鹤 阅读(3990) 评论(0) 推荐(0) 编辑
摘要: 树状数组及其实现 引言 树状数组也是一种通过数组来表示树的结构,我们所熟悉的堆与完全二叉树通常也会使用这种方式实现,即,使用数组来表示树。至于完全二叉树(堆是一种特殊的完全二叉树),树中元素之间的关系较为简单,主要是父节点与子节点之间的关系,这种关系在数组中我们可以通过下标来实现。例如,如果用数组表 阅读全文
posted @ 2021-08-24 10:14 虾野百鹤 阅读(125) 评论(0) 推荐(0) 编辑
摘要: Leetcode Ugly Number The Problem Ugly Number II and Super Ugly Number , because I didn't write the Ugly Number I, so, I don't have any idea at first. 阅读全文
posted @ 2021-08-17 11:44 虾野百鹤 阅读(36) 评论(0) 推荐(0) 编辑
摘要: This Lab is mainly the part of the file system in the JOS. It is mainly related to the disk related to file storage, and the form of file storage on t 阅读全文
posted @ 2020-07-17 12:26 虾野百鹤 阅读(327) 评论(0) 推荐(0) 编辑
摘要: Copy-on-Write Fork As mentioned earlier, Unix provides the fork() system call as its primary process creation primitive. The fork() system call copies 阅读全文
posted @ 2020-07-14 16:48 虾野百鹤 阅读(651) 评论(0) 推荐(0) 编辑
摘要: Introduction In part A we should add multiprocessor support to JOS, implement round-robin scheduling, and add basic environment management system call 阅读全文
posted @ 2020-07-11 21:47 虾野百鹤 阅读(343) 评论(0) 推荐(0) 编辑
摘要: Monte Carlo Integration Monte Carlo integration uses a different perspective from Quadrature Integration to consider the problem of integration. Quadr 阅读全文
posted @ 2020-06-12 22:46 虾野百鹤 阅读(476) 评论(0) 推荐(0) 编辑