81a1b23e699abb4bdcd2156d6cdd0487ba4105c9,train.py,,,#,16

Before Change


print(tag_dictionary.idx2item)

// initialize embeddings
embedding_types: List[TokenEmbeddings] = [
    WordEmbeddings("glove"),
    // comment in this line to use character embeddings
    // CharacterEmbeddings(),
    // comment in these lines to use contextual string embeddings
    //
    // FlairEmbeddings("news-forward"),
    //
    // FlairEmbeddings("news-backward"),
]

embeddings: StackedEmbeddings = StackedEmbeddings(embeddings=embedding_types)

// initialize sequence tagger

After Change


print(tag_dictionary.idx2item)

// initialize embeddings
embedding_types: List[TokenEmbeddings] = [
    BytePairEmbeddings("en"),
]

embeddings: StackedEmbeddings = StackedEmbeddings(embeddings=embedding_types)

// initialize sequence tagger
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: zalandoresearch/flair
Commit Name: 81a1b23e699abb4bdcd2156d6cdd0487ba4105c9
Time: 2020-08-12
Author: alan.akbik@gmail.com
File Name: train.py
Class Name:
Method Name:


Project Name: zalandoresearch/flair
Commit Name: 16314f04496455b4b5170ba0a7774a0150b07ef9
Time: 2020-06-05
Author: jonas.golde@gmail.com
File Name: train_keyword.py
Class Name:
Method Name:


Project Name: zalandoresearch/flair
Commit Name: 8e70d49e003bec14e2abd771d65395bea8268791
Time: 2020-06-02
Author: jonas.golde@gmail.com
File Name: train_keyword.py
Class Name:
Method Name: