Spaces:
Sleeping
Sleeping
Linter fix
Browse files
tracr/craft/chamber/categorical_attn.py
CHANGED
|
@@ -15,11 +15,11 @@
|
|
| 15 |
"""Attention head for categorical inputs."""
|
| 16 |
|
| 17 |
from typing import Optional
|
| 18 |
-
from typing_extensions import Protocol
|
| 19 |
|
| 20 |
from tracr.craft import bases
|
| 21 |
from tracr.craft import transformers
|
| 22 |
from tracr.craft import vectorspace_fns
|
|
|
|
| 23 |
|
| 24 |
|
| 25 |
class QueryKeyToAttnLogit(Protocol):
|
|
|
|
| 15 |
"""Attention head for categorical inputs."""
|
| 16 |
|
| 17 |
from typing import Optional
|
|
|
|
| 18 |
|
| 19 |
from tracr.craft import bases
|
| 20 |
from tracr.craft import transformers
|
| 21 |
from tracr.craft import vectorspace_fns
|
| 22 |
+
from typing_extensions import Protocol
|
| 23 |
|
| 24 |
|
| 25 |
class QueryKeyToAttnLogit(Protocol):
|