Git Product home page Git Product logo

fakenews's Introduction

Fake news detection.

How to

Needed to reverse engineer the get requests for https://discriminate.grover.allenai.org/api/disc. This was a react app, with XHTTPclient class, which makes it harder to inject.

Used the cURL configs to talk to the server. Was working before, but might not now.

curl_wrapper.py does all the work, and responses are saved in response.txt.gz. Read the gzip file and parse the json inside for the prob score.

To DO

Clone the web interfact too, but looks like we have a different problem to begin with.


old stuff below:

Why

Because Boris said so.

Background

A few groups have looked into this. AllenAI are probably the most advanced with their work, plus they have a demo and released pretrained tensorflow models.

Plan

I do not plan to run any of the tensorflow models, no need becuse they have a web demo of it all!

Going to take the public facing demo from the Allen Institute for Artificial Intelligence and reuse a lot of it for our demo.

https://grover.allenai.org

Can't just take the api calls as you would hope due to cross site blocking, so idea is to just use puppeteer to interact and feed it data. Some python backend to handle all of this, and a web mudano themed front end.

Front end should show the generated news, along side some human ones.

Make it fun by allowing the user to guess which fininal articles are human or machine generated.

Todo:

In order of usefulness:

  • Some function to score a new article: between [0-1] , where 1 is 100% confidence of being ML generated fake news. DONE

  • Allow aribtary news text to be scored. DONE

  • Generate some more fake news examples specifc to finance. TODO

  • Make web front end to display results and examples TODO

  • Make the front end fun as a game or some useful client interactions TODO

fakenews's People

Contributors

mattdano avatar

Watchers

James Cloos avatar  avatar

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.