f0439104a0ba8abb4df52cf43d4eeb293910c30c,tests/test_embeddings.py,,test_document_lstm_embeddings,#,106

Before Change



@pytest.mark.integration
def test_document_lstm_embeddings():
    sentence, glove, charlm = init_document_embeddings()

    embeddings: DocumentRNNEmbeddings = DocumentRNNEmbeddings(
        [glove, charlm], hidden_size=128, bidirectional=False
    )

After Change




def test_document_lstm_embeddings():
    sentence: Sentence = Sentence("I love Berlin. Berlin is a great place to live.")

    embeddings: DocumentRNNEmbeddings = DocumentRNNEmbeddings(
        [glove, flair_embedding], hidden_size=128, bidirectional=False
    )
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 4

Instances


Project Name: zalandoresearch/flair
Commit Name: f0439104a0ba8abb4df52cf43d4eeb293910c30c
Time: 2020-05-14
Author: alan.akbik@gmail.com
File Name: tests/test_embeddings.py
Class Name:
Method Name: test_document_lstm_embeddings


Project Name: zalandoresearch/flair
Commit Name: f0439104a0ba8abb4df52cf43d4eeb293910c30c
Time: 2020-05-14
Author: alan.akbik@gmail.com
File Name: tests/test_embeddings.py
Class Name:
Method Name: test_document_pool_embeddings


Project Name: zalandoresearch/flair
Commit Name: f0439104a0ba8abb4df52cf43d4eeb293910c30c
Time: 2020-05-14
Author: alan.akbik@gmail.com
File Name: tests/test_embeddings.py
Class Name:
Method Name: test_document_pool_embeddings_nonlinear


Project Name: zalandoresearch/flair
Commit Name: f0439104a0ba8abb4df52cf43d4eeb293910c30c
Time: 2020-05-14
Author: alan.akbik@gmail.com
File Name: tests/test_embeddings.py
Class Name:
Method Name: test_document_bidirectional_lstm_embeddings


Project Name: zalandoresearch/flair
Commit Name: f0439104a0ba8abb4df52cf43d4eeb293910c30c
Time: 2020-05-14
Author: alan.akbik@gmail.com
File Name: tests/test_embeddings.py
Class Name:
Method Name: test_stacked_embeddings