Skip to main content

A dependency installation tool for the Open-learning project

Project description

# 规则治理架构 | Rule-Governed Architecture (RGA)
==============================================

一个创新的神经网络架构,提供规则驱动的学习和推理能力。
An innovative neural network architecture providing rule-driven learning and reasoning capabilities.

## 模块结构 | Module Structure

openlearning/ ├── core/ - 核心引擎和配置管理 | Core engine and configuration management ├── layers/ - 神经网络层实现 | Neural network layer implementations └── integration/ - 集成和伪装系统 | Integration and disguise system


## 主要功能 | Key Features
- **规则驱动的模型更新** | Rule-driven model updates  
  - 基于可配置规则的动态参数调整
  - 实时响应输入特征的规则触发

- **实时状态监控和相变检测** | Real-time state monitoring and phase transition detection  
  - 持续追踪16个关键性能指标
  - 动态阈值相变检测与预警

- **伪装保存/加载系统** | Disguise save/load system  
  - 加密模型参数存储
  - 安全模型分发与验证

- **多网络融合和信息流控制** | Multi-network fusion and information flow control  
  - 支持三种网络融合策略:串联、并联、分层
  - 基于密度的智能信息阀门控制

- **完整的中英文双语接口** | Complete bilingual Chinese-English interface  
  - API文档双语支持
  - 错误信息与日志双语输出

## 设计原则 | Design Principles
- **模块化**:每个组件独立可替换 | Modular: Each component independently replaceable
- **可扩展**:易于添加新功能 | Extensible: Easy to add new features
- **高性能**:优化内存和计算 | High performance: Optimized memory and computation
- **易用性**:简洁的API接口 | Usability: Clean API interface

## 使用示例 | Usage Examples
```python
>>> # 导入集成器 | Import integrator
>>> from openlearning import create_integrator
>>> 
>>> # 创建集成器 | Create integrator
>>> integrator = create_integrator(vocab_size=20000, dim=512)
>>> 
>>> # 前向传播 | Forward propagation
>>> import torch
>>> input_ids = torch.randint(0, 20000, (2, 16))
>>> output = integrator.forward(input_ids, num_cycles=3)
>>> 
>>> # 伪装保存 | Disguise save
>>> integrator.save_pretrained("./saved_model")
>>> 
>>> # 获取分析报告 | Get analysis report
>>> report = integrator.get_analysis_report()

安装方式 | Installation

# 从.whl文件安装
pip install openlearning-0.0.1-py3-none-any.whl

# 开发模式安装
pip install -e .

# 验证安装
python -c "import openlearning; print(f'版本: {openlearning.__version__}')"

版本历史 | Version History

  • 0.0.1 - 初始发布 | Initial release
    • 基础RGA架构实现
    • 核心引擎与配置系统
    • 神经网络层模块
    • 集成伪装系统

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openlearning-0.0.2.tar.gz (111.3 kB view details)

Uploaded Source

Built Distribution

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

openlearning-0.0.2-py3-none-any.whl (121.4 kB view details)

Uploaded Python 3

File details

Details for the file openlearning-0.0.2.tar.gz.

File metadata

  • Download URL: openlearning-0.0.2.tar.gz
  • Upload date:
  • Size: 111.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for openlearning-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ad15a7fa699217e9a302565a10005c6f2c79a6e39cff300a95c61e0b75b6f18d
MD5 3c2ac2dc959b97be769f23c2e7f42011
BLAKE2b-256 2ffa1d56f0b792fc7f12f675ff2d9835dc3b3149b1dc2bd882a3ca9654b7acbc

See more details on using hashes here.

File details

Details for the file openlearning-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: openlearning-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 121.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for openlearning-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 747e38b277f2547b3892ffccc39ab70e8d9df726ba43cef6cb611f88e188d5b5
MD5 eda83230d9468ce30b7fddf6420bff60
BLAKE2b-256 d007fc9c0b24e9f4ea92d65b2643c0b2cfd0eeb563ac44a91b64787ec4553bb9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page