Git Product home page Git Product logo

conversational-qg's People

Contributors

aantix avatar yifan-gao 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  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  avatar  avatar  avatar  avatar  avatar

conversational-qg's Issues

import bleu_scorer** **ModuleNotFoundError: No module named 'bleu_scorer

zengyj@id-d3:/conversational-QG/conversational-QG/scripts$ bash generate.sh
[2019-09-27 11:55:47,954 INFO] 8360 Example before filter
[2019-09-27 11:55:47,957 INFO] 8360 Example after filter
0%| | 0/4180 [00:00<?, ?it/s]/usr/local/anaconda3/lib/python3.6/site-packages/torchtext/data/field.py:359: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
var = torch.tensor(arr, dtype=self.dtype, device=device)
/home/zengyj/conversational-QG/conversational-QG/code/onmt/translate/translator.py:520: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
return torch.tensor(a, requires_grad=False)
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4180/4180 [11:56<00:00, 5.83it/s]
Traceback (most recent call last):
File "/home/zengyj/conversational-QG/conversational-QG/code/tools/eval/eval.py", line 3, in
from bleu.bleu import Bleu
File "/home/zengyj/conversational-QG/conversational-QG/code/tools/eval/bleu/bleu.py", line 14, in
import bleu_scorer
ModuleNotFoundError: No module named 'bleu_scorer'

zengyj@id-d3:
/conversational-QG/conversational-QG/scripts$

----------------上面是报错的信息

import os,sys
sys.path.append("..")
sys.path.append(os.getcwd())

import bleu_scorer
from bleu.bleu_scorer import BleuScorer

我在 bleu.py里面已经了如上的代码 还是不能导入同级目录的代码呢

image

image

这个明明在一级目录呢

是什么问题,求解答

Pretrained Models

Hi,

Could you please share the pretrained models for this work?

Cheers!

About the train hyper-parameters

Hi, @evan-gao . Thanks for the interesting work. When I trained a model use your code I got a result B1=36.86, B2=22.32, B3=15.77, R-L=46.37, I found that the result is below the pretrain model you given or the paper's report. So could you give some details about the train procedure?

How to generate the question from custom test data?

Hi,

Thanks @Yifan-Gao sharing the code. It is a great job.

But, the question is how to generate the question from a custom text of the paragraph. Actually, you have directly provided the processed train and test data.

So, I am not able to use my custom test data in the model that needs to be processed.

Kindly request you to can you please provide function so that I can feed processed custom test data to model?

Thanks a lot,
Bhavika

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.