Skip to main content

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

universal_model-0.1.1.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

universal_model-0.1.1-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

Details for the file universal_model-0.1.1.tar.gz.

File metadata

  • Download URL: universal_model-0.1.1.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for universal_model-0.1.1.tar.gz
Algorithm Hash digest
SHA256 62af974fd2f373690b9dcca09ce50a11dee94802230eea2396596e67a914b84b
MD5 5f88343a5320a17acc374147fa277ccc
BLAKE2b-256 911c6cb2af8904563d929af797e49cb2e95da10424451912d6b48642831c6d9b

See more details on using hashes here.

Provenance

The following attestation bundles were made for universal_model-0.1.1.tar.gz:

Publisher: publish.yml on Mangono1/universal_model

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file universal_model-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: universal_model-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 33.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for universal_model-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 92052e7fbadf504dcab7b651cd50b0ba781bd8cfa312b82c6c5183ce848aca70
MD5 3c72168574897cbf7a523a49e6019312
BLAKE2b-256 77e0fac1d3144942c6852281867f4bd3c880597a933d8a43b9a1b51cb6d903c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for universal_model-0.1.1-py3-none-any.whl:

Publisher: publish.yml on Mangono1/universal_model

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.4

2 files

0.1.2

2 files

This release

0.1.1 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page