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.4.tar.gz (25.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.4-py3-none-any.whl (36.1 kB view details)

Uploaded Python 3

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

Hashes for universal_model-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ca928ed559a8106bfb2372ccdad425817b668cfb0d9df7782412bbe3c842af77
MD5 a69c13cc4c3891d843b063142614daeb
BLAKE2b-256 a1d53b622b2663f941db7bf8355a0c68121735444fc28039ad6396c4936a85a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for universal_model-0.1.4.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.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

Hashes for universal_model-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9911609612777f61b8790423385696e19ecd97067e8c79fc8f13ae9123cf8526
MD5 013583ae6aec86ff284e8c8431269705
BLAKE2b-256 69aa03f078129ca476311f5ab7f86f960770330b75abe706377b651f5eac2ac9

See more details on using hashes here.

Provenance

The following attestation bundles were made for universal_model-0.1.4-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

This release

0.1.4 This release

2 files

0.1.2

2 files

0.1.1

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