Git Product home page Git Product logo

solving-3sat-with-gtn's Introduction

This is an adjustment of the GTN model from SAT-Solver-usingNNs, primarily involving adjustments in the number of attention heads in the self-attention mechanism and modifications to the activation function of the neural network. These changes aim to enhance the model's performance, especially in scenarios where there is a significant difference in the complexity of training and testing data.

To run the program, enter python main.py --m <model_path> --s <separate> in the command line.

Here, <model_path> is the name of the saved model, and <separate> indicates whether to conduct separate testing, with 0 for no and 1 for yes.

Other optional parameters include:

  • --d Path to training data, default is ./data
  • --e Model embedding dimension
  • --h Number of attention heads in the model(the default is 2)
  • --l Number of layers in the model
  • --r Dropout rate
  • --ls Neuron density of the final linear layer
  • --b Batch size

The output model files are saved in the ./models directory, and the learning curves are saved in the ./plots directory.

solving-3sat-with-gtn's People

Contributors

oliverwong258 avatar

Stargazers

Tatiana Boura avatar

Watchers

Kostas Georgiou avatar  avatar

solving-3sat-with-gtn's Issues

Acknowledgements

Hey! Nice adjustments to the code. However, I think some acknowledgment is required. It would be nice to add the link (SAT-Solver-using-NNs) to the original project repository in the README, or at least give it a star. Thanks!

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.