character embeddings store their embedding name too #2214
Annotations
2 errors and 1 warning
test:
flair/embeddings/token.py#L1
Black format check
--- /home/runner/work/flair/flair/flair/embeddings/token.py 2024-06-28 15:13:54.391881+00:00
+++ /home/runner/work/flair/flair/flair/embeddings/token.py 2024-06-28 15:16:22.432934+00:00
@@ -452,11 +452,11 @@
def __init__(
self,
path_to_char_dict: Optional[Union[str, Dictionary]] = None,
char_embedding_dim: int = 25,
hidden_size_char: int = 25,
- name: str = "Char"
+ name: str = "Char",
) -> None:
"""Instantiates a bidirectional lstm layer toi encode words by their character representation.
Uses the default character dictionary if none provided.
"""
|
test
Process completed with exit code 1.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|