Code Monkey home page Code Monkey logo

open_qg's People

Contributors

dependabot[bot] avatar jasonyanwenl avatar qjzhzw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

open_qg's Issues

指定GPU运行

你好,我在AWS上想要运行你的代码,但是设置后仍然是使用cpu运行的。请问你知道可以怎么解决嘛?

运行问题

你好,我想问一下,在Linux系统下执行sh文件,怎么没反应呢

some quesions about the dataset

我发现您给出的数据集是经过处理过后的数据集,想请问你说的 “原始数据由Song et al., 2018提供” 具体是那篇文章?

运行问题

测试的时候显示:
File "F:\code\自动问题生成\Open_QG-master\Open_QG-master\src\beam.py", line 235, in get_hypothesis
hyp.append(self.next_ys[j + 1][k])
IndexError: tensors used as indices must be long, byte or bool tensors
求帮助!

数据内容疑似缺失?

你好,打扰了,我是直接跳过前面预处理直接模型训练,但是提示我 这个部分中的data字典里没有params,我输出data字典之后,也确实没有找到’params’,下面是报错的代码块
# 从已保存的pt文件中读取数据 # 包括:vocab,训练集/验证集各自的输入/输出索引序列 data = torch.load(params.temp_pt_file) vocab = data['vocab'] params = data['params']
这data里面是train_input_indices、train_output_indices、dev_input_indices、dev_output_indices、test_input_indices、test_output_indices

有一个小疑问

请问为什么在保存最佳模型的时候是选择保存损失最小的模型,而不是保存bleu值最大的模型。

结果疑问

因为我最近也在做qg方向,也是准备用transformer去做。可我看到您使用transformer训练后的效果与传统的LSTM的效果有不小的差距,请问您有考虑过什么原因么?(理论上来说,transformer能比LSTM、GRU更容易抓取序列的时序信息,在nlp的多数task上的表现也都优于传统的seq2seq架构)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.