{
  "dataset_reader": {
    "type": "snli",
    "token_indexers": {
      "tokens": {
        "type": "single_id",
        "lowercase_tokens": true
      }
    }
  },
  "train_data_path": "allennlp/tests/fixtures/data/snli.jsonl",
  "validation_data_path": "allennlp/tests/fixtures/data/snli.jsonl",
  "model": {
    "type": "decomposable_attention",
    "text_field_embedder": {
      "token_embedders": {
        "tokens": {
            "type": "embedding",
            "projection_dim": 2,
            "pretrained_file": "allennlp/tests/fixtures/embeddings/glove.6B.300d.sample.txt.gz",
            "embedding_dim": 300,
            "trainable": false
        }
      }
    },
    "attend_feedforward": {
      "input_dim": 2,
      "num_layers": 1,
      "hidden_dims": 2,
      "activations": "relu"
    },
    "matrix_attention": {"type": "dot_product"},
    "compare_feedforward": {
      "input_dim": 4,
      "num_layers": 1,
      "hidden_dims": 2,
      "activations": "relu"
    },
    "aggregate_feedforward": {
      "input_dim": 4,
      "num_layers": 1,
      "hidden_dims": 3,
      "activations": "linear"
    }
  },
  "data_loader": {
    "batch_sampler": {
      "type": "bucket",
      "padding_noise": 0.0,
      "batch_size": 40
    }
  },
  "trainer": {
    "num_epochs": 1,
    "patience": 5,
    "cuda_device": -1,
    "optimizer": {
      "type": "adadelta",
      "lr": 1.0
     }
  }
}
