xcfcode / plm_annotator Goto Github PK
View Code? Open in Web Editor NEWCodes for our ACL21 paper: Language Model as an Annotator: Exploring DialoGPT for Dialogue Summarization
Codes for our ACL21 paper: Language Model as an Annotator: Exploring DialoGPT for Dialogue Summarization
您好!很感谢你们提供的开源代码。在查看topic_segmentation代码的过程中,我注意到你们筛去了第一和第二句utterance,请问一下是出于什么目的呢?
PLM_annotator/annotator/annotate.py
Lines 175 to 176 in 2018eb8
两个问题:
python get_loss.py -d ami
处理速度慢;每个样例数据需要处理大约1~2min,请问是否为正常速度?
python recover_word_loss.py -d [自己数据集]
报错,Load train_loss.json finished, Data size:100 Load valid_loss.json finished, Data size:30 Load test_loss.json finished, Data size:30 Traceback (most recent call last): File "recover_word_loss.py", line 90, in <module> process(train_datas, dataset, "train") File "recover_word_loss.py", line 70, in process res.append(process_one(data)) File "recover_word_loss.py", line 62, in process_one words, losses = recover_word_level(subwords, losses) # recover word-level losses File "recover_word_loss.py", line 49, in recover_word_level assert len(dialogue.split()) == len(word_level_losses.split()) AssertionError
感谢您的工作,也希望您能尽快解决我的问题,不胜感激!
Hi,
I tried to re-implement the results on SAMSum following the README.md. However, the rouge score I got are only:
rouge-1: 55.71 55.75 53.04
rouge-2: 29.65 29.20 27.85
rouge-l: 51.50 51.57 49.71
ROUGE 1-2-L F: 53.04-27.85-49.71
I can get the exact matched scores shown in your paper by the generated summaries provided:
rouge-1: 57.90 54.90 53.70
rouge-2: 31.22 29.53 28.79
rouge-l: 53.72 51.54 50.81
ROUGE 1-2-L F: 53.70-28.79-50.81
I tested with the best checkpoint which actually didn't update after the first several epochs.
Is this variance acceptable? Are there any details I may lost before?
Thank you very much!
你的另一篇论文,Incorporating Commonsense Knowledge into Abstractive Dialogue
Summarization via Heterogeneous Graph Networks,事实感知的我挺感兴趣的,但是没有找到源码,方便分享一下嘛
Hello, can you release the code for giving annotations about keywords extraction, redundancy detection, and topic segmentation? We want to process some new datasets.
Thanks!
I download your model and put it in ckpt to reproduce your reslults, but it runs error "max sentence length shouldn't exceed 800". I used the data download from here, and ran bpe.sh and binarise.sh to preprocess them. If there is any wrong? I would appreciate if got your reply.
Hello! Do these special tokens have special representations while doing the bpe tokenization? Or just treat them as a normal word. Because I haven't found any of the ##KEY##
[TS]
[RDD]
in the encoder.json which is provided by your Google Drive.
I would appreciate if got your reply. @xcfcode
Hello.
Could you please tell the rouge score in your paper is r, p or f? And for bart baseline , did you do any preprocessing like deleting \n\r
or add some special tokens ? thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.