SPACES icon indicating copy to clipboard operation
SPACES copied to clipboard

代码执行

Open daozhi0921 opened this issue 4 years ago • 4 comments

#! /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文件统一执行吗? 为啥我无法执行 小白一个 咨询一下博主 谢谢~~

daozhi0921 avatar Jan 20 '21 02:01 daozhi0921

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

bojone avatar Jan 20 '21 03:01 bojone

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

| | rmx099128 | | [email protected] | 签名由网易邮箱大师定制 在2021年1月20日 11:22,苏剑林(Jianlin Su)[email protected] 写道:

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

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

daozhi0921 avatar Jan 20 '21 03:01 daozhi0921

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

bojone avatar Jan 20 '21 03:01 bojone

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

| | rmx099128 | | [email protected] | 签名由网易邮箱大师定制 在2021年1月20日 11:26,苏剑林(Jianlin Su)[email protected] 写道:

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

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

daozhi0921 avatar Jan 20 '21 03:01 daozhi0921