Comments (21)
检查一下pytorch等库是否和我建议的配置是一样的,有可能是版本不对导致的
from csds.
python == 3.7
pytorch == 1.6
files2rouge == 2.1.0
jieba == 0.42.1
numpy == 1.19.1
tensorboard == 2.3.0
tensorboardx == 2.1
cytoolz == 0.11.0
每一项都核对了,全部一致的~
下面是报错的全貌:
from csds.
安装transformers的版本为3.3.1即可正常运行。感谢提醒,我也会把这个同步到readme中
from csds.
from csds.
如果想使用自己的数据集,请参考preprocess.py以及prepro/data_builder中处理数据的方式,可以做针对性的修改。然后你可以使用json包将txt文件转换为json文件。下面的bug是由于复制代码错误造成的,已修复,请下载最新的代码进行测试。
from csds.
使用:wget https://github.com/xiaolinAndy/CSDS/blob/main/models/BERT/models/predictor.py下载新文件后,运行时出现如下报错:
打开新文件发现下载的是类似Java的代码~
from csds.
我检查了repo里面的代码是没问题的,是你wget下载的时候出了问题。
from csds.
请问这个结果的意义是什么呀,为什么重复出现呢
~(预想的结果是:一段对话的摘要)
from csds.
你是print什么内容出来了?
from csds.
没有print呀~就正常运行run.sh得到如图结果
from csds.
抱歉,是调试信息没有关闭,现在bug已修复,应该可以正常运行了,得到的结果会保存在logs/文件夹下面
from csds.
请问一下,源数据是什么样的?是怎样处理成模型需要的数据的呀
from csds.
原数据在data/文件夹下。处理数据的代码请参考preprocess.py以及prepro/data_builder中处理数据的方式
from csds.
from csds.
是不是没有更新predict.py文件?我已经将这些调试信息注释掉了
from csds.
更新了的~不然运行不起来的
from csds.
你check一下predict.py中的391行和398行有没有被注释掉,最新的版本已经被注释掉了。如果没有注释掉你把它注释掉就好了
from csds.
你好作者~preprocess.py以及prepro/data_builder中处理数据的代码基本没有注释,难以着手将自己数据变成模型所需的数据格式。非常希望您能出个tutorial指导大家更方便地学习。
from csds.
你好作者~preprocess.py以及prepro/data_builder中处理数据的代码基本没有注释,难以着手将自己数据变成模型所需的数据格式。非常希望您能出个tutorial指导大家更方便地学习。
from csds.
好的,我有时间会考虑整理一个tutorial的
from csds.
感谢~期待作者的tutorial
from csds.
Related Issues (11)
- How to get "pretrain_emb/word2vec" in TDS-SATM? HOT 1
- Max target length: word or character? HOT 2
- No such file or directory: '/home/mz20/CSDS/models/BERT/logs/bert_abs_test_final.log' HOT 3
- __init__() got an unexpected keyword argument 'log_level' HOT 2
- 关于CSDS数据集 HOT 1
- tencent embedding的更多细节 HOT 4
- 如何使用"intent"字段 HOT 1
- 有没有原始的JDDC对话数据集的下载链接 HOT 2
- 关于CSDS数据集问题 HOT 5
- TDS-SATM遇到的问题 HOT 2
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 csds.