Giter Club home page Giter Club logo

rods's People

Contributors

xiaolinandy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rods's Issues

中文对话/会议摘要数据集

你好,除了论文中提到的CSDS和MC数据集,是否还有其他中文对话/会议摘要数据集呢?尤其是会议摘要(长对话)

关于基于BERT的模型实验结果的疑问,rouge得分比论文中高很多

您好,我最近基于CSDS的数据集进行实验,和您的实验结果进行了对比。但是我们发现基于BERT的模型的rouge得分要比您论文中的结果高很多。我们也对您提供的结果文件进行了评价,发现结果也是比您论文里的结果高很多。评价的方式和您代码中的一样。想问一下,您在论文里报道的结果是不是并不是最优的结果。
我们对您提供的结果文件评价的结果:
user summary:
58.88/43.26/56.80
agent summary:
53.40/38.65/51.10

AttributeError: 'str' object has no attribute 'size'

Hello, when I run the BERTAbs interact experiment, run_CSDS.sh , I encountered a problem, as follows:


Traceback (most recent call last):
File "train.py", line 131, in
train_abs(args, device_id)
File "/mnt/ssd/lcq/RODS/models/BERT_interact/train_abstractive.py", line 274, in train_abs
train_abs_single(args, device_id)
File "/mnt/ssd/lcq/RODS/models/BERT_interact/train_abstractive.py", line 335, in train_abs_single
trainer.train(train_iter_fct, args.train_steps)
File "/mnt/ssd/lcq/RODS/models/BERT_interact/models/trainer.py", line 162, in train
report_stats)
File "/mnt/ssd/lcq/RODS/models/BERT_interact/models/trainer.py", line 249, in _gradient_accumulation
outputs, _, scores = self.model(src, tgts, segs, clss, mask_src, mask_tgts, mask_cls, self.args.merge, self.args.inter_weight, role_mask)
File "/home/ubuntu/anaconda3/envs/rods/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "/mnt/ssd/lcq/RODS/models/BERT_interact/models/model_builder.py", line 274, in forward
user_outputs, agent_outputs, state_user, state_agent, user_scores, agent_scores, kl_mask_user, kl_mask_agent = self.role_decoder(tgts[0][:, :-1], tgts[1][:, :-1], top_vec, user_dec_state, agent_dec_state, merge_type, inter_weight, role_mask)
File "/home/ubuntu/anaconda3/envs/rods/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "/mnt/ssd/lcq/RODS/models/BERT_interact/models/decoder.py", line 477, in forward
step=step)
File "/home/ubuntu/anaconda3/envs/rods/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "/mnt/ssd/lcq/RODS/models/BERT_interact/models/decoder.py", line 186, in forward
type="context")
File "/home/ubuntu/anaconda3/envs/rods/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "/mnt/ssd/lcq/RODS/models/BERT_interact/models/neural.py", line 341, in forward
batch_size = key.size(0)
AttributeError: 'str' object has no attribute 'size'


I try to print the 'key'(batch_size = key.size(0)) in the neural.py, the last output is not tensor, but the string "last_hidden_state"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.