Harukaze

 

2021年1月16日

【论文阅读】Position-aware Attention and Supervised Data Improve Slot Filling[EMNLP2017]

摘要: 论文地址:https://www.aclweb.org/anthology/D17-1004.pdf 代码地址:https://github.com/yuhaozhang/tacred-relation (原作者) https://github.com/onehaitao/PA-LSTM-relat 阅读全文

posted @ 2021-01-16 00:32 Harukaze 阅读(566) 评论(0) 推荐(0)

2021年1月15日

【力扣】一处最多的同行或同列石头

摘要: 来源:力扣(LeetCode)链接:https://leetcode-cn.com/problems/most-stones-removed-with-same-row-or-column n 块石头放置在二维平面中的一些整数坐标点上。每个坐标点上最多只能有一块石头。 如果一块石头的 同行或者同列 阅读全文

posted @ 2021-01-15 12:25 Harukaze 阅读(163) 评论(0) 推荐(0)

【代码精读】Graph Convolution over Pruned Dependency Trees for Relation Extraction(3)

摘要: https://www.cnblogs.com/Harukaze/p/14266380.html接上篇文章,详细介绍作者的模型部分。 1 trainer = GCNTrainer(opt, emb_matrix=emb_matrix)#初次训练模型 2 3 trainer = GCNTrainer( 阅读全文

posted @ 2021-01-15 00:21 Harukaze 阅读(595) 评论(6) 推荐(0)

2021年1月14日

消逝的时间

该文被密码保护。 阅读全文

posted @ 2021-01-14 00:23 Harukaze 阅读(0) 评论(0) 推荐(0)

2021年1月13日

【神经网络】依存树

摘要: 主要介绍GCN-Tree模型中依存树的内容。论文中使用的工具来自Standford Parser。 https://www.xfyun.cn/services/semanticDependence 讯飞中文分词平台 http://nlp.stanford.edu:8080/parser/ 这是可以体 阅读全文

posted @ 2021-01-13 22:07 Harukaze 阅读(2476) 评论(0) 推荐(0)

【力扣】冗余连接

摘要: 来源:力扣(LeetCode)链接:https://leetcode-cn.com/problems/redundant-connection 在本问题中, 树指的是一个连通且无环的无向图。 输入一个图,该图由一个有着N个节点 (节点值不重复1, 2, ..., N) 的树及一条附加的边构成。附加的 阅读全文

posted @ 2021-01-13 13:51 Harukaze 阅读(131) 评论(0) 推荐(0)

2021年1月12日

【代码精读】Graph Convolution over Pruned Dependency Trees for Relation Extraction(2)

摘要: Training To train a graph convolutional neural network (GCN) model, run: 1 bash train_gcn.sh 0 2 3 SAVE_ID=$1 4 python train.py --id $SAVE_ID --seed 0 阅读全文

posted @ 2021-01-12 23:34 Harukaze 阅读(276) 评论(0) 推荐(0)

2021年1月11日

【力扣】第223场周赛

摘要: 来源:力扣(LeetCode)链接:https://leetcode-cn.com/problems/decode-xored-array 第一题:解码异或后的数组(3分) 未知 整数数组 arr 由 n 个非负整数组成。 经编码后变为长度为 n - 1 的另一个整数数组 encoded ,其中 e 阅读全文

posted @ 2021-01-11 22:01 Harukaze 阅读(156) 评论(0) 推荐(0)

【代码精读】Graph Convolution over Pruned Dependency Trees for Relation Extraction(1)

摘要: First, download and unzip GloVe vectors from the Stanford NLP group website, with: chmod +x download.sh; ./download.sh 命令chomd+x,使download.sh文件有执行权限 使 阅读全文

posted @ 2021-01-11 15:33 Harukaze 阅读(192) 评论(0) 推荐(0)

2021年1月9日

【力扣】买股票的最佳时机

摘要: 来源:力扣(LeetCode)链接:https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii 给定一个数组,它的第 i 个元素是一支给定的股票在第 i 天的价格。 设计一个算法来计算你所能获取的最大利润。你最多可以完成  阅读全文

posted @ 2021-01-09 13:45 Harukaze 阅读(135) 评论(0) 推荐(0)

导航