jamestch

Results 14 comments of jamestch

谢谢您的指导,的确如此,查看网页源代码可以看到返回结果。这个问题是不是纯粹是网页展示的问题,那是不是可以这样理解:我通过程序requests.post/get获取response后直接解析结果是不是不存在这个问题

非常感谢您的帮助。另外有个疑问请教您:中文版本Ganswer中用到DBpediaLookup服务或者类似替代服务吗?

根据文档我在本地部署的gstore中导入了pkubase-triples,并在ganswer中文版源代码中修改配置了本地gstore的ip和port,然后打包成jar后部署,服务启动成功。 但是请求(问题:姚明的妻子是谁?) http://ip:port/gSolve/?data={maxAnswerNum:3,%20maxSparqlNum:2,%20question:%E5%A7%9A%E6%98%8E%E5%A6%BB%E5%AD%90%E6%98%AF%E8%B0%81?} 返回结果如下: { question: "姚明妻子是谁?", message: "Unkown Exception", status: "500" } 后台输出日志如下: [Input:] 姚明妻子是谁? Result: ①,妻子,是,谁,?, step0 [Node Recognition] : 3ms transQ: 姚明妻子是谁? ====StanfordDependencies(23ms)==== -> 是-VC (root)[3] ->...

@nicklin96 目前中文版似乎有bug,我按照步骤试了,一直报status 500

It's worked fine for me when I set DEBUG = True in settings.py. I think you need to setup a standalone server e.g. nginx when you set DEBUG = False.

> 利用sentencepiece提供的api修改,具体可以看 [google/sentencepiece#121](https://github.com/google/sentencepiece/issues/121) 和 [google/sentencepiece#426](https://github.com/google/sentencepiece/issues/426) 感谢大佬指导!再请教您个问题:sentencepiece文件myly.model可以手动增加一个token进去作为词表吗?比如myly.model文件之前没有[PAD]这个token,我怎么通过python程序加到sentencepiece的myly.model文件里面去呢

> TencentPretain [scripts](https://github.com/Tencent/TencentPretrain/blob/main/scripts) 这个仓库下面,似乎没找到llama tencentpretrain格式到huggingface格式的转换脚本

大佬好,我在pretrain的时候也碰到了训练卡顿的情况,但不知道啥原因。请问是如何分析确定是存储best的部分代码造成卡顿呢?

> I have the same error. I have downloaded model files from huggingface, model files as followed ![image](https://user-images.githubusercontent.com/6100838/225171925-11cc3abc-014d-4cb6-b667-6d9185bbea41.png)