Coder Social home page Coder Social logo

Comments (4)

kergann avatar kergann commented on August 20, 2024 1

Hello,

If i correctly understood, in batcher.py, the article the full article in a string variable.
So you can just change it to whatever you want. article="your article"

I hope that will help you.

Best.

from pointer-generator.

dondon2475848 avatar dondon2475848 commented on August 20, 2024 1

Hi @chandra-siri ,
You can clone below repository:
https://github.com/dondon2475848/make_datafiles_for_pgn
Run

python make_datafiles.py  ./stories  ./output

It processes your test data into the binary format .

from pointer-generator.

chandra-siri avatar chandra-siri commented on August 20, 2024

@kergann Can you tell me how you did that ? I'm also having same issue. i.e. "Given a text file I need summary of that file". Should I convert that file to .bin format as done for training ?

from pointer-generator.

Sharathnasa avatar Sharathnasa commented on August 20, 2024

@kergann As you told there is article variable which needs to be replaced with our own string in batcher.py, what about the abstract_sentences? Do we need to specify this as well?

from pointer-generator.

Related Issues (20)

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.