Instructions to use mideind/IceBERT-PoS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mideind/IceBERT-PoS with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="mideind/IceBERT-PoS", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mideind/IceBERT-PoS", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Delete __init__.py
Browse files- __init__.py +0 -13
__init__.py
DELETED
|
@@ -1,13 +0,0 @@
|
|
| 1 |
-
# Copyright (C) Miðeind ehf.
|
| 2 |
-
# This file is part of IceBERT POS model conversion.
|
| 3 |
-
|
| 4 |
-
from .configuration import IceBertPosConfig
|
| 5 |
-
from .modeling import IceBertPosForTokenClassification, MultiLabelTokenClassificationHead
|
| 6 |
-
|
| 7 |
-
__version__ = "0.1.0"
|
| 8 |
-
|
| 9 |
-
__all__ = [
|
| 10 |
-
"IceBertPosConfig",
|
| 11 |
-
"IceBertPosForTokenClassification",
|
| 12 |
-
"MultiLabelTokenClassificationHead",
|
| 13 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|