• Stars
    star
    156
  • Rank 239,589 (Top 5 %)
  • Language
    Haskell
  • License
    GNU Lesser Genera...
  • Created over 7 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Typed frontend to TensorFlow and higher-order deep learning

TypedFlow

TypedFlow is a typed, higher-order frontend to TensorFlow and a high-level library for deep-learning.

The main design principles are:

  • To make the parameters of layers explicit. This choice makes sharing of parameters explicit and allows to implement β€œlayers” as pure functions.
  • To provide as precise as possible types. Functions are explicit about the shapes and elements of the tensors that they manipulate (they are often polymorphic in shapes and elements though.)
  • To let combinators be as transparent as possible. If a NN layers is a simple tensor transformation it will be exposed as such.

In this version, the interface to TensorFlow is done via python-code generation and a suitable runtime system.

Documentation

The compiled documentation should be found on hackage.

Examples

TypedFlow comes with two examples of neural networks:

To running the examples can be done like so:

nix-env -iA nixpkgs.haskellPackages.styx
nix-env -iA nixpkgs.cabal2nix
styx configure
cd examples/seq2seq
make

More Repositories

1

shami-corpus

Shami Dialect Corpus (SDC)
Java
24
star
2

FraCoq

Coq semantics for the GF FraCas suite
TeX
8
star
3

ttr

A type theory with records
Haskell
5
star
4

CompositionalBayesianSemantics

Code for "A Compositional Bayesian Semantics for Natural Language", Bernardy, Blanck, Chatzikyriakidis, Lappin 2018
Haskell
4
star
5

BLL2018

Code and data for the ACL2018 paper 'The Influence of Context on Sentence Acceptability Judgements'
4
star
6

multifracas

Multilingual FraCaS testsuite
Prolog
3
star
7

generate_spatial_descriptions

The repository for "What Goes Into A Word: Generating Image Descriptions With Top-Down Spatial Knowledge"
Jupyter Notebook
3
star
8

LREC_2022

Datasets for the paperFine-grained Entailment: Resources for Greek NLI and Precise Entailment
2
star
9

language-and-perception

Situated Language and Perception Research Group
TeX
2
star
10

predicting-acceptability

Language Modeling with Syntactic and Semantic Representation for Sentence Acceptability Predictions
2
star
11

anvec-metaphor

"Deep" Learning: Detecting Metaphoricity in Adjective-Noun Pairs
HTML
2
star
12

dialogue-systems-1-2024

LT2216/LT2816 V24 Dialogsystem
JavaScript
2
star
13

ProLin

Linear Prolog of Sorts
TeX
1
star
14

ocota

Paper: Bigrams and BiLSTMs\\ Two neural networks for sequential metaphor detection
1
star
15

DistributionalDiscourse

Jupyter Notebook
1
star
16

eccv18-sivl-attention

"Knowing When to Look For What and Where: Evaluating Generation of Spatial Descriptions with Adaptive Attention"
Jupyter Notebook
1
star
17

semantic-shift-in-social-networks

Jupyter Notebook
1
star
18

functional-geometric-lm

Exploring the functional and geometric bias of spatial relations using neural language models
Jupyter Notebook
1
star
19

bbclm2019

Code and data related to "Bayesian Inference Semantics: A Modelling System and A Test Suite"
Nix
1
star
20

speechstate-lt2216

TypeScript
1
star
21

attention-as-grounding

A public repository with data and code for ''Attention as Grounding: Exploring Textual and Cross-Modal Attention on Entities and Relations in Language-and-Vision Transformer'' by Nikolai Ilinykh and Simon Dobnik. Findings of ACL, 2022.
1
star
22

GU-CLASP.github.io

CLASP webpages
HTML
1
star
23

functional-geometric-bbox

Spatial descriptions on a functional-geometric spectrum: the location of objects
1
star
24

unitary-recurrent-network

Code and material for Unitary Recurrent Network language models
Python
1
star
25

embodied-qa

A hub repository for experiments on Embodied Question Answering
1
star