Comments (3)
嗨您好,感谢您对我们工作的关注~
由于组合中的某个伪触发词可能缺失,因此在BK算法解码后,还可能会残留只有一个伪触发词的组合。这部分组合是一种特殊情况,需要单独纳入考量。可以结合代码进一步理解:
DocEE/dee/modules/adj_decoding.py
Lines 241 to 249 in a32b6f8
from docee.
好的,谢谢您,我先自己阅读理解一下
from docee.
老师,您好,请问这里为什么self_loop是false的时候,会将邻接矩阵的对角线置为1。这里是不是弄反了?还是我理解错了。
if self.config.self_loop:
rel_adj_mat = (
doc_arg_rel_info.whole_arg_rel_mat.reveal_adj_mat(
masked_diagonal=None, tolist=False
)
.to(scores.device)
.float()
)
else:
rel_adj_mat = (
doc_arg_rel_info.whole_arg_rel_mat.reveal_adj_mat(
masked_diagonal=1, tolist=False
)
.to(scores.device)
.float()#给whole_arg_rel_mat主对角线置为1
)
from docee.
Related Issues (20)
- 实验结果 HOT 4
- 相似度的一些问题 HOT 8
- 分布式训练 HOT 3
- importance分数 HOT 15
- deppn模型F1只有33 HOT 2
- "pred_results"中的classification得分 HOT 25
- 分句 (uncommon sentence cutoff in DuEE-fin) HOT 14
- Duee_Fin预测结果 HOT 2
- 测试集结果 HOT 2
- 单事件&多事件 HOT 3
- Greedy-Dec模型如何运行? HOT 6
- Evaluation Metric HOT 11
- similarity calculation HOT 1
- pretrained model weight HOT 1
- 多事件 HOT 1
- 使用o2m格式的数据时,需要修改那些代码呢 HOT 1
- Potential performance issue: plotting slow in matplotlib == 3.3.0 HOT 1
- 请问老师怎么在自己的数据集上进行训练呢? HOT 14
- 关于ptpcg论文的一些问题 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docee.