We lifted 2 functions out of this paper's own repositories and ran 2 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| timoschick/form-context-model | canonical | 2 of 2 |
| Function | Status | Where it lives |
|---|---|---|
| get_logger | Ran | timoschick/form-context-model/fcm/my_log.py code served (permissive licence) · get_code("9e8effe8d9693e74") |
| to_n_gram | Ran | timoschick/form-context-model/fcm/utils.py code served (permissive licence) · get_code("dafac5a5e0891912") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Learning high-quality embeddings for rare words is a hard problem because of sparse context information. Mimicking (Pinter et al., 2017) has been proposed as a solution: given embeddings learned by a standard algorithm, a model is first trained to reproduce embeddings of frequent words from their surface form and then used to compute embeddings for rare words. In this paper, we introduce attentive mimicking: the mimicking model is given access not only to a word's surface form, but also to all available contexts and learns to attend to the most informative and reliable contexts for computing an embedding. In an evaluation on four tasks, we show that attentive mimicking outperforms previous work for both rare and medium-frequency words. Thus, compared to previous work, attentive mimicking improves embeddings for a much larger part of the vocabulary, including the medium-frequency range.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("1904.01617")
get_code_for_paper("1904.01617")
have("1904.01617")
Connect an agent — have() is free.