Upload model/heads/__init__.py with huggingface_hub
Browse files- model/heads/__init__.py +16 -0
model/heads/__init__.py
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
`model.heads` package exports.
|
| 3 |
+
|
| 4 |
+
This file exposes the commonly used head classes so callers can
|
| 5 |
+
import them from `model.heads` directly, e.g.:
|
| 6 |
+
|
| 7 |
+
from model.heads import NERHead, QAHead, SentimentHead
|
| 8 |
+
|
| 9 |
+
Keeping an explicit `__all__` makes the package's public API clear.
|
| 10 |
+
"""
|
| 11 |
+
|
| 12 |
+
from .ner_head import NERHead
|
| 13 |
+
from .qa_head import QAHead
|
| 14 |
+
from .sentiment_head import SentimentHead
|
| 15 |
+
|
| 16 |
+
__all__ = ["NERHead", "QAHead", "SentimentHead"]
|