bojone / SPACES

端到端的长本文摘要模型(法研杯2020司法摘要赛道)
385 stars 91 forks source link

代码执行 #6

Open daozhi0921 opened 3 years ago

daozhi0921 commented 3 years ago

! /bin/bash

python extract_convert.py python extract_vectorize.py

for ((i=0; i<15; i++)); do python extract_model.py $i done

python seq2seq_convert.py python seq2seq_model.py

这个是写到一个python文件统一执行吗? 为啥我无法执行 小白一个 咨询一下博主 谢谢~~

bojone commented 3 years ago

写到一个sh脚本中,这是linux的shell脚本

daozhi0921 commented 3 years ago

嗯嗯 好的, 谢谢, 因为我是在windows上运行的, 所以我把脚本改为了python可执行文件, 已经可运行, 另外, 我想再咨询您一下, 就是这个对于短文本进行文本摘要, 效果也是可以的嘛? 谢谢~~

rmx099128

rmx099128@163.com | 签名由网易邮箱大师定制 在2021年1月20日 11:22,苏剑林(Jianlin Su)notifications@github.com 写道:

写到一个sh脚本中,这是linux的shell脚本

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

bojone commented 3 years ago

短文本直接跑个unilm的seq2seq模型不更好吗?

daozhi0921 commented 3 years ago

这样啊, 那我再看看, 我刚开始弄这个文本摘要, 不是很了解, 那textrank跟seq2seq相比 会更好吗? (您这边, 如果方便的话, 可以加您微信吗,如果不方便, 发邮件也可以, 谢谢~~~ )

rmx099128

rmx099128@163.com | 签名由网易邮箱大师定制 在2021年1月20日 11:26,苏剑林(Jianlin Su)notifications@github.com 写道:

短文本直接跑个unilm的seq2seq模型不更好吗?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.