SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1511.06349 · 2015

Generating Sentences from a Continuous Space

Oriol Vinyals, Andrew Dai, Luke Vilnis, Samuel Bowman, Rafal Jozefowicz, Bengio Samy

arXiv · PDF · Open in the Atlas

Code that ran

14 of 31 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (6 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 1 violated it and 9 have no contract verdict; 2 failures of our instrument; 17 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/1511.06349.json · badge: /api/ran/1511.06349.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
clutr/clutr community
Papers with Code archive
4 ran · 2 no recorded run
kefirski/pytorch_RVAE community
Papers with Code archive
2 ran · 7 no recorded run
StijnVerdenius/Boosting_Text_Classifiers_by_Generative_Modelling community
Papers with Code archive
2 ran · 0 no recorded run
timbmg/Sentence-VAE community
Papers with Code archive
2 ran · 0 no recorded run
aaronbae/ModifiedSentenceVAE community
Papers with Code archive
1 ran · 0 no recorded run
sindhusweety/VAE-Generating-Sentences-From-a-Continuous-Space community
Papers with Code archive
1 ran · 0 no recorded run
twairball/keras_lstm_vae community (classifier label)
classifier basis not recorded on the link
1 ran · 0 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
Chung-I/Variational-Recurrent-Autoencoder-Tensorflow community
Papers with Code archive
0 ran · 6 no recorded run
wiseodd/controlled-text-generation community
Papers with Code archive
0 ran · 1 no recorded run
pranjalg96/Stylized-Image-captioning community
Papers with Code archive
0 ran · 1 no recorded run
FunctionStatusWhere it lives
ClutrEmbedding Ran
ran on a synthesized input · constructed an object; no result was computed
clutr/clutr/task_embed/clutr_RVAE/model/rvae.py
pointer only (licence: NOASSERTION) · get_code("01b38ffbbdc08e19")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, clutr/clutr (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Encoder Ran
ran on a synthesized input · constructed an object; no result was computed
clutr/clutr/task_embed/clutr_RVAE/model/rvae.py
pointer only (licence: NOASSERTION) · get_code("74b19fb734f820f4")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, clutr/clutr (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

GeneralModel Ran
ran on a synthesized input
StijnVerdenius/Boosting_Text_Classifiers_by_Generative_Modelling/models/generators/SentenceVAE.py
pointer only (licence: NONE) · get_code("519ea45327d29280")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, StijnVerdenius/Boosting_Text_Classifiers_by_Generative_Modelling when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Highway Ran
ran on a synthesized input · constructed an object; no result was computed
clutr/clutr/task_embed/clutr_RVAE/model/rvae.py
pointer only (licence: NOASSERTION) · get_code("e4359767bf930518")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, clutr/clutr (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

SentenceVAE Ran
ran on a synthesized input · constructed an object; no result was computed
aaronbae/ModifiedSentenceVAE/model.py
pointer only (licence: NONE) · get_code("70ae1759582e14cd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aaronbae/ModifiedSentenceVAE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

SentenceVAE Ran
ran on a synthesized input · constructed an object; no result was computed
timbmg/Sentence-VAE/model.py
pointer only (licence: NONE) · get_code("30bc598c6cdb8c2a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, timbmg/Sentence-VAE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

SentenceVAE Ran
ran on a synthesized input
StijnVerdenius/Boosting_Text_Classifiers_by_Generative_Modelling/models/generators/SentenceVAE.py
pointer only (licence: NONE) · get_code("5dcc088a465cd336")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, StijnVerdenius/Boosting_Text_Classifiers_by_Generative_Modelling when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

VAE Ran
ran on a synthesized input · constructed an object; no result was computed
sindhusweety/VAE-Generating-Sentences-From-a-Continuous-Space/model.py
pointer only (licence: NONE) · get_code("7e6ae924c7773d3e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sindhusweety/VAE-Generating-Sentences-From-a-Continuous-Space when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_lstm_autoencoder Ran
ran on a synthesized input
twairball/keras_lstm_vae/lstm_vae/autoencoder.py
code served (permissive licence) · get_code("75924d8b8887223c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Functional. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'

import tensorflow as tf
tf.compat.v1.logging.set_verbosity(tf.compat.v1.logging.ERROR)

ARGS = {
    'input_dim': 4,
    'timesteps': 5,
    'latent_dim': 3,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
keras, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Functional — a Functional output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Functional output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
f_and Ran
ran, violated the contract we drafted
kefirski/pytorch_RVAE/model/rvae.py
code served (permissive licence) · get_code("abef1871f56ceeb2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# The function f_and(x, y) uses the 'and' operator
# This works with any truthy/falsy values in Python
# We'll provide simple values that can be used with 'and'

x = True
y = True

ARGS = {
    "x": x,
    "y": y
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
fold Ran
ran; our contract draft was wrong, not the code
kefirski/pytorch_RVAE/model/rvae.py
code served (permissive licence) · get_code("0381de7a8ac5ced5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# fold is a functional fold/reduce operation that takes:
# f: a binary function
# l: a list to fold over
# a: an accumulator/initial value

# Simple binary function that adds two numbers
def add_fn(acc, x):
    return acc + x

# List of numbers to fold over
numbers = [1, 2, 3, 4]

# Initial accumulator value
initial_acc = 0

ARGS = {
    "f": add_fn,
    "l": numbers,
    "a": initial_acc
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
kld_coef Ran
ran, honoured the contract we drafted
clutr/clutr/task_embed/clutr_RVAE/model/rvae.py
pointer only (licence: NOASSERTION) · get_code("cb6715e93952a5b1")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, clutr/clutr (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

to_var Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from TheZino/Image_captioning_SATell
pointer only; the stored copy get_code serves, from TheZino/Image_captioning_SATell, is pointer only (licence: NONE) · get_code("502c50812b7f31ab")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

to_var Ran
ran, honoured the contract we drafted
timbmg/Sentence-VAE/model.py
pointer only (licence: NONE) · get_code("36326e7b5eb789e9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, timbmg/Sentence-VAE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Decoder Not yet run
unverified (harvested, no recorded run)
clutr/clutr/task_embed/clutr_RVAE/model/rvae.py
pointer only (licence: NOASSERTION) · get_code("91e0f91c79cb5abd")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, clutr/clutr (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Decoder Not yet run
unverified (harvested, no recorded run)
kefirski/pytorch_RVAE/model/rvae.py
code served (permissive licence) · get_code("8e80e3c35950e569")
How it ran

no invocation recorded.

DiagonalGaussian Not yet run
unverified (harvested, no recorded run)
Chung-I/Variational-Recurrent-Autoencoder-Tensorflow/seq2seq.py
pointer only (licence: NONE) · get_code("3aa0fee32833e525")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Chung-I/Variational-Recurrent-Autoencoder-Tensorflow when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Embedding Not yet run
unverified (harvested, no recorded run)
kefirski/pytorch_RVAE/model/rvae.py
code served (permissive licence) · get_code("f095a1e3a4e44d91")
How it ran

no invocation recorded.

Encoder Not yet run
unverified (harvested, no recorded run)
kefirski/pytorch_RVAE/model/rvae.py
code served (permissive licence) · get_code("3f940d9bc8f717e1")
How it ran

no invocation recorded.

RNN_VAE Not yet run
unverified (harvested, no recorded run)
wiseodd/controlled-text-generation/ctextgen/model.py
code served (permissive licence) · get_code("1e7396ef5e17180b")
How it ran

no invocation recorded.

RNN_VAE Not yet run
unverified (harvested, no recorded run)
pranjalg96/Stylized-Image-captioning/SST_files/ctextgen/model.py
code served (permissive licence) · get_code("a431fd85f112cebc")
How it ran

no invocation recorded.

RVAE Not yet run
unverified (harvested, no recorded run)
clutr/clutr/task_embed/clutr_RVAE/model/rvae.py
pointer only (licence: NOASSERTION) · get_code("c00adaa69df91ca6")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, clutr/clutr (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

RVAE Not yet run
unverified (harvested, no recorded run)
kefirski/pytorch_RVAE/model/rvae.py
code served (permissive licence) · get_code("7e97f7b2da18a1ab")
How it ran

no invocation recorded.

TDNN Not yet run
unverified (harvested, no recorded run)
kefirski/pytorch_RVAE/model/rvae.py
code served (permissive licence) · get_code("80456d6dd2ae8003")
How it ran

no invocation recorded.

f_or Not yet run
unverified (harvested, no recorded run)
kefirski/pytorch_RVAE/model/rvae.py
code served (permissive licence) · get_code("c13de86adc9e9594")
How it ran

no invocation recorded.

gaussian_diag_logps Not yet run
unverified (harvested, no recorded run)
Chung-I/Variational-Recurrent-Autoencoder-Tensorflow/seq2seq.py
pointer only (licence: NONE) · get_code("6a3f97eabb0e0593")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Chung-I/Variational-Recurrent-Autoencoder-Tensorflow when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

parameters_allocation_check Not yet run
unverified (harvested, no recorded run)
kefirski/pytorch_RVAE/model/rvae.py
code served (permissive licence) · get_code("8f395eeb81e91562")
How it ran

no invocation recorded.

sample Not yet run
unverified (harvested, no recorded run)
Chung-I/Variational-Recurrent-Autoencoder-Tensorflow/seq2seq.py
pointer only (licence: NONE) · get_code("2ce2edf795968921")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Chung-I/Variational-Recurrent-Autoencoder-Tensorflow when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

sequence_loss Not yet run
unverified (harvested, no recorded run)
Chung-I/Variational-Recurrent-Autoencoder-Tensorflow/seq2seq.py
pointer only (licence: NONE) · get_code("1f47f6d9b3d8e1b4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Chung-I/Variational-Recurrent-Autoencoder-Tensorflow when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

sequence_loss_by_example Not yet run
unverified (harvested, no recorded run)
Chung-I/Variational-Recurrent-Autoencoder-Tensorflow/seq2seq.py
pointer only (licence: NONE) · get_code("8817ecd42aece095")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Chung-I/Variational-Recurrent-Autoencoder-Tensorflow when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

variational_autoencoder_with_buckets Not yet run
unverified (harvested, no recorded run)
Chung-I/Variational-Recurrent-Autoencoder-Tensorflow/seq2seq.py
pointer only (licence: NONE) · get_code("3efc2abded581bfb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Chung-I/Variational-Recurrent-Autoencoder-Tensorflow when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 31 samples lifted from this paper's linked repositories, 31 carry a function identity and 0 do not. Of the 31 distinct functions with an identity, 5 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 5 later) and 26 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
to_var
brick of this paper's assembly: helper
9 other papers
1 dated earlier, 8 later · 1 only as an assembly brick
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1704.03162 (2017-04)
Show, Ask, Attend, and Answer: A Strong Baseline For Visual Question Answering
1905.01639 (2019-05)
Deep Video Inpainting
and 6 more not named here
f_and
brick of this paper's assembly: helper
1 other paper
1 later
1702.02390 (2017-02)
A Hybrid Convolutional Variational Autoencoder for Text Generation
f_or
brick of this paper's assembly: helper
1 other paper
1 later
1702.02390 (2017-02)
A Hybrid Convolutional Variational Autoencoder for Text Generation
fold
brick of this paper's assembly: helper
1 other paper
1 later
1702.02390 (2017-02)
A Hybrid Convolutional Variational Autoencoder for Text Generation
gaussian_diag_logps
brick of this paper's assembly: helper
1 other paper
1 later
1606.04934 (2016-06)
Improving Variational Inference with Inverse Autoregressive Flow

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

The standard recurrent neural network language model (rnnlm) generates sentences one word at a time and does not work from an explicit global sentence representation. In this work, we introduce and study an rnn-based variational autoencoder generative model that incorporates distributed latent representations of entire sentences. This factorization allows it to explicitly model holistic properties of sentences such as style, topic, and high-level syntactic features. Samples from the prior over these sentence representations remarkably produce diverse and well-formed sentences through simple deterministic decoding. By examining paths through this latent space, we are able to generate coherent novel sentences that interpolate between known sentences. We present techniques for solving the difficult learning problem presented by this model, demonstrate its effectiveness in imputing missing words, explore many interesting properties of the model's latent sentence space, and present negative results on the use of the model in language modeling.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("1511.06349")
get_code_for_paper("1511.06349")
have("1511.06349")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/1511.06349.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/1511.06349.svg)](https://syntology.ai/paper/1511.06349)

Connect an agent — have() is free.