Universal Model Framework
Universal Model Framework is a modular neural-model framework built on top of CPUTorch.
The framework is designed to provide the model layer above the computational engine.
Architecture
Universal Model Framework
|
v
CPUTorch
|
v
Tensor / Compute
CPUTorch is the required computational foundation.
The framework does not require a predefined domain dataset.
Users can create their own models and datasets for:
Agriculture
Medicine
Science
Education
Engineering
Finance
Language
Custom domains
Design Principles
1. CPUTorch is the foundation
Universal Model Framework depends on CPUTorch.
The CPUTorch source code is not copied into this project.
2. Domain independent
The framework does not force a specific dataset or knowledge domain.
3. Modular
Different components can evolve independently:
Model
Layers
Dataset
Tokenizer
Trainer
Optimizer
Loss
Evaluation
Checkpoint
4. Scalable
The architecture is designed to support small models as well as larger models, including models targeting approximately 100 million parameters.
Installation
python -m pip install universal-model
CPUTorch will be installed as a dependency.
Development
python examples/basic_model.py
Project Structure
universal_model/
├── core/
├── layers/
├── models/
├── data/
├── training/
├── losses/
├── evaluation/
└── utils/
Roadmap
V0.1
CPUTorch integration foundation
Module abstraction
Parameter abstraction
Model configuration
Base model
Project packaging
V0.2
Linear layer
Embedding
Activations
Normalization
V0.3
Attention
Transformer blocks
Transformer model
V0.4
Dataset API
DataLoader
Tokenizer interface
V0.5
Trainer
Optimizers
Scheduler
Checkpointing
V0.6
Evaluation
Metrics
Parameter counting
Model inspection
V0.7
Target-parameter architecture generation
V1.0
Universal Model Framework.
Author
Frandika Imam Arifin
License
MIT EOF
**Perhatikan:** `EOF` terakhir harus sendirian di barisnya:
```text
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file universal_model-0.1.4.tar.gz.
File metadata
- Download URL: universal_model-0.1.4.tar.gz
- Upload date:
- Size: 25.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca928ed559a8106bfb2372ccdad425817b668cfb0d9df7782412bbe3c842af77
|
|
| MD5 |
a69c13cc4c3891d843b063142614daeb
|
|
| BLAKE2b-256 |
a1d53b622b2663f941db7bf8355a0c68121735444fc28039ad6396c4936a85a0
|
Provenance
The following attestation bundles were made for universal_model-0.1.4.tar.gz:
Publisher:
publish.yml on Mangono1/universal_model
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
universal_model-0.1.4.tar.gz -
Subject digest:
ca928ed559a8106bfb2372ccdad425817b668cfb0d9df7782412bbe3c842af77 - Sigstore transparency entry: 2618003753
- Sigstore integration time:
-
Permalink:
Mangono1/universal_model@5f421aa0a3cb83fdd65fd2d3b41831ef84f54788 -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/Mangono1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5f421aa0a3cb83fdd65fd2d3b41831ef84f54788 -
Trigger Event:
push
-
Statement type:
File details
Details for the file universal_model-0.1.4-py3-none-any.whl.
File metadata
- Download URL: universal_model-0.1.4-py3-none-any.whl
- Upload date:
- Size: 36.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9911609612777f61b8790423385696e19ecd97067e8c79fc8f13ae9123cf8526
|
|
| MD5 |
013583ae6aec86ff284e8c8431269705
|
|
| BLAKE2b-256 |
69aa03f078129ca476311f5ab7f86f960770330b75abe706377b651f5eac2ac9
|
Provenance
The following attestation bundles were made for universal_model-0.1.4-py3-none-any.whl:
Publisher:
publish.yml on Mangono1/universal_model
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
universal_model-0.1.4-py3-none-any.whl -
Subject digest:
9911609612777f61b8790423385696e19ecd97067e8c79fc8f13ae9123cf8526 - Sigstore transparency entry: 2618003776
- Sigstore integration time:
-
Permalink:
Mangono1/universal_model@5f421aa0a3cb83fdd65fd2d3b41831ef84f54788 -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/Mangono1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5f421aa0a3cb83fdd65fd2d3b41831ef84f54788 -
Trigger Event:
push
-
Statement type: