GithubHelp home page GithubHelp logo

detm's Introduction

DETM modified to train on arxiv abstracts

We modify the code to train on abstracts of papers from arxiv.org.

In main.py:

We try to match the settings from Dieng's paper (https://arxiv.org/abs/1907.05545), fix run time errors, add comments. We also added a warning when the vocabulary is not prefitted enough (this is important).

In scripts/data_undebates:

We modify so that it can process the meta data json file contains arxiv abstracts, with the option to select a category (default category: high energy physics phenomenonlogy hep-ph).

In plot_word_evolution.py:

We refactorized the code to make it clearer. This script is not plug and play, many lines must be hard-coded.

New file: requirements.txt.

Results

The plot below shows results for DETM on hep-ph (high energy physics phenomenology) category. Six topics out of 50 are shown here. For each topics, probabilities of some selected words are plotted against time (2007-2020). In topics #33 and #34, peak probability of the word 750 coincides with the flurry of papers on a possible discovery of new physics around 2015-2016, which turned out to be just a statistical fluke. Topic 38 shows the increase in higgs around the time of the discovery of Higgs boson in 2012.

result

Other steps involving, from getting data, preprocessing, embedding words and runtime, etc can be found here: https://github.com/quynhneo/detm-arxiv

detm's People

Contributors

adjidieng avatar quynhneo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 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.