Coder Social home page Coder Social logo

dynamite's Introduction

A Github Pages template for academic websites. This was forked (then detached) by Stuart Geiger from the Minimal Mistakes Jekyll Theme, which is © 2016 Michael Rose and released under the MIT License. See LICENSE.md.

I think I've got things running smoothly and fixed some major bugs, but feel free to file issues or make pull requests if you want to improve the generic template / theme.

Note: if you are using this repo and now get a notification about a security vulnerability, delete the Gemfile.lock file.

Instructions

  1. Register a GitHub account if you don't have one and confirm your e-mail (required!)
  2. Fork this repository by clicking the "fork" button in the top right.
  3. Go to the repository's settings (rightmost item in the tabs that start with "Code", should be below "Unwatch"). Rename the repository "[your GitHub username].github.io", which will also be your website's URL.
  4. Set site-wide configuration and create content & metadata (see below -- also see this set of diffs showing what files were changed to set up an example site for a user with the username "getorg-testacct")
  5. Upload any files (like PDFs, .zip files, etc.) to the files/ directory. They will appear at https://[your GitHub username].github.io/files/example.pdf.
  6. Check status by going to the repository settings, in the "GitHub pages" section
  7. (Optional) Use the Jupyter notebooks or python scripts in the markdown_generator folder to generate markdown files for publications and talks from a TSV file.

See more info at https://academicpages.github.io/

To run locally (not on GitHub Pages, to serve on your own computer)

  1. Clone the repository and made updates as detailed above
  2. Make sure you have ruby-dev, bundler, and nodejs installed: sudo apt install ruby-dev ruby-bundler nodejs
  3. Run bundle clean to clean up the directory (no need to run --force)
  4. Run bundle install to install ruby dependencies. If you get errors, delete Gemfile.lock and try again.
  5. Run bundle exec jekyll liveserve to generate the HTML and serve it from localhost:4000 the local server will automatically rebuild and refresh the pages on change.

Changelog -- bugfixes and enhancements

There is one logistical issue with a ready-to-fork template theme like academic pages that makes it a little tricky to get bug fixes and updates to the core theme. If you fork this repository, customize it, then pull again, you'll probably get merge conflicts. If you want to save your various .yml configuration files and markdown files, you can delete the repository and fork it again. Or you can manually patch.

To support this, all changes to the underlying code appear as a closed issue with the tag 'code change' -- get the list here. Each issue thread includes a comment linking to the single commit or a diff across multiple commits, so those with forked repositories can easily identify what they need to patch.

dynamite's People

Contributors

nbalepur avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

dynamite's Issues

Preprocessing Issue

While running it on debate data I got the following issues

Traceback (most recent call last):
File "/Users/akalia/Research_Papers/Real-Time-Event-Extraction/Dynamite/DynaMiTE-main/preprocessing/preprocess.py", line 210, in
emb, pmi_samples, cx, cxy, vocab = create_pmi(year_texts_phrase[year])
File "/Users/akalia/Research_Papers/Real-Time-Event-Extraction/Dynamite/DynaMiTE-main/preprocessing/preprocess.py", line 191, in create_pmi
PMI = csc_matrix((data, (rows, cols)))
File "/Users/akalia/miniforge3/lib/python3.9/site-packages/scipy/sparse/_compressed.py", line 53, in init
self._coo_container(arg1, shape=shape, dtype=dtype)
File "/Users/akalia/miniforge3/lib/python3.9/site-packages/scipy/sparse/_coo.py", line 148, in init
raise ValueError('cannot infer dimensions from zero '
ValueError: cannot infer dimensions from zero sized index arrays

So far I have generated the following files.

data.csv
phrase_text.txt
text.txt
wordIDHash.csv
wordPairPMI_2012.csv
wordPairPMI_2013.csv
wordPairPMI_2014.csv
wordPairPMI_2015.csv

Results Not Matching with Table 2

Hi Thanks for organizing the datasets.

For each dataset given the seed words in the paper, I obtained the test.txt files with evolving topics. After running the eval I am getting the following. I was trying to match the results with Table 2 but I guess it does not really match.

data pmi npmi lcp diversity
arxiv 0.702312 0.077952 -0.283055 1.0
un-debates 0.244851 0.023682 -0.322926 1.0
newspop. 0.71346 0.089052 -0.488389 1.0

I wonder how to interpret this result with Table 2 in the paper.

For your convenience I have attached the results folder.
results.zip

This folder contains only test.txt for each.

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.