Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Deep Learning
  3. Memory Networks Implementations - Facebook

Memory Networks Implementations - Facebook

NOASSERTIONLua

Implementations of memory-augmented neural networks for language modeling, dialogue systems, and question answering tasks.

GitHubGitHub
1.8k stars370 forks0 contributors

What is Memory Networks Implementations - Facebook?

Memory Networks (MemNN) is a repository of implementations for memory-augmented neural networks, a class of models that integrate external memory with neural networks to perform complex reasoning tasks. It solves problems in natural language processing, such as language modeling, question answering, and dialogue learning, by enabling models to store and retrieve information over long sequences.

Target Audience

AI researchers and machine learning practitioners working on natural language processing, reasoning tasks, and dialogue systems, particularly those interested in memory-based neural architectures.

Value Proposition

Developers choose MemNN for its comprehensive collection of reference implementations from key research papers, providing a solid foundation for experimenting with and extending memory-augmented models in a reproducible manner.

Overview

Memory Networks implementations

Use Cases

Best For

  • Implementing memory-augmented neural networks for academic research
  • Experimenting with question answering models on the bAbI dataset
  • Building dialogue systems that require context retention over long conversations
  • Developing language models with external memory components
  • Studying key-value memory networks for document reading tasks
  • Training entity networks for world state tracking in dynamic environments

Not Ideal For

  • Production teams requiring modern deep learning frameworks like PyTorch or TensorFlow 2.x
  • Developers seeking plug-and-play models with comprehensive documentation and active support
  • Projects focused on real-time inference or deployment on resource-constrained devices
  • Newcomers to neural networks needing step-by-step tutorials and minimal setup complexity

Pros & Cons

Pros

Research-Grade Implementations

Provides exact code from seminal papers such as 'End-To-End Memory Networks' and 'Dialog-based Language Learning', ensuring reproducibility for academic studies as documented in the subdirectories like MemN2N-babi-matlab and DBLL.

Comprehensive Task Coverage

Includes models for diverse reasoning tasks like bAbI question answering, language modeling, and dialogue systems, evidenced by subdirectories covering MemN2N, Key-Value Memory Networks, and Entity Networks.

Foundation for Memory Networks

Serves as a key reference for memory-augmented architectures, offering implementations that are foundational for extending or customizing models in NLP and reasoning research.

Third-Party Extensions

The README lists community ports to Python, Theano, and TensorFlow, such as python-babi and tf-lang, increasing accessibility beyond the core Lua and Matlab code.

Cons

Outdated Framework Dependencies

Core implementations rely on Torch7 (Lua) and Matlab, which are no longer mainstream, making setup, integration with modern tools, and maintenance difficult for contemporary projects.

Limited Documentation

Each subdirectory has minimal READMEs focused on research reproducibility, lacking tutorials, API references, or best practices for general use, as noted in the sparse documentation per module.

No Production Optimizations

Code is designed for experimental validation, not efficiency or scalability, with no support for inference optimization, deployment pipelines, or cloud integration, limiting real-world application.

Fragmented Codebase

Implementations are scattered across different languages (Lua, Matlab) and directories, complicating consistency, code reuse, and updates for larger or ongoing projects.

Frequently Asked Questions

Quick Stats

Stars1,756
Forks370
Contributors0
Open Issues14
Last commit5 years ago
CreatedSince 2015

Tags

#neural-networks#question-answering#natural-language-processing#torch7#ai-research#language-modeling#memory-networks#dialogue-systems#matlab

Built With

T
Torch7
L
Lua
M
MATLAB

Included in

Deep Learning27.8k
Auto-fetched 23 hours ago

Related Projects

AI Expert RoadmapAI Expert Roadmap

Roadmap to becoming an Artificial Intelligence Expert in 2022

Stars31,072
Forks2,581
Last commit8 months ago
Machine Learning for Software Engineers, by Nam VuMachine Learning for Software Engineers, by Nam Vu

A complete daily plan for studying to become a machine learning engineer.

Stars28,793
Forks6,171
Last commit2 years ago
Microsoft RecommendersMicrosoft Recommenders

Best Practices on Recommendation Systems

Stars21,747
Forks3,321
Last commit4 days ago
Face recognition with Google's FaceNet deep neural network.Face recognition with Google's FaceNet deep neural network.

Face recognition with deep neural networks.

Stars15,415
Forks3,571
Last commit1 year ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub