torchlingo 0.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- torchlingo/__init__.py +25 -0
- torchlingo/config.py +3184 -0
- torchlingo/data_processing/__init__.py +19 -0
- torchlingo/data_processing/batching.py +429 -0
- torchlingo/data_processing/dataset.py +196 -0
- torchlingo/data_processing/vocab.py +655 -0
- torchlingo/inference.py +309 -0
- torchlingo/models/__init__.py +23 -0
- torchlingo/models/lstm_simple.py +112 -0
- torchlingo/models/positional.py +211 -0
- torchlingo/models/transformer_simple.py +327 -0
- torchlingo/preprocessing/__init__.py +28 -0
- torchlingo/preprocessing/base.py +285 -0
- torchlingo/preprocessing/multilingual.py +171 -0
- torchlingo/preprocessing/sentencepiece.py +357 -0
- torchlingo/training.py +506 -0
- torchlingo-0.0.1.dist-info/METADATA +83 -0
- torchlingo-0.0.1.dist-info/RECORD +21 -0
- torchlingo-0.0.1.dist-info/WHEEL +5 -0
- torchlingo-0.0.1.dist-info/licenses/LICENSE +661 -0
- torchlingo-0.0.1.dist-info/top_level.txt +1 -0
torchlingo/__init__.py
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"""Top-level package for TorchLingo.
|
|
2
|
+
|
|
3
|
+
This package exposes the core modules (config, models, data_processing,
|
|
4
|
+
preprocessing) so codebases/tests can import `torchlingo` rather than top-level
|
|
5
|
+
module names. It mirrors the project layout used in the repository.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
__version__ = "0.0.1"
|
|
9
|
+
|
|
10
|
+
from . import config
|
|
11
|
+
from . import models
|
|
12
|
+
from . import data_processing
|
|
13
|
+
from . import preprocessing
|
|
14
|
+
from . import training
|
|
15
|
+
from . import inference
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
"__version__",
|
|
19
|
+
"config",
|
|
20
|
+
"models",
|
|
21
|
+
"data_processing",
|
|
22
|
+
"preprocessing",
|
|
23
|
+
"training",
|
|
24
|
+
"inference",
|
|
25
|
+
]
|