Skip to main content

AI4FinTech project repository

Project description

https://img.shields.io/pypi/v/fintorch.svg Documentation Status https://codecov.io/gh/AI4FinTech/FinTorch/graph/badge.svg?token=OBD2MHP5SE

AI4FinTech project repository

FinTorch - Machine Learning for FinTech

The integration of AI in the financial sector demands specialized tools that can handle the unique challenges of this field, especially in regulatory compliance and risk management. Building on the familiarity and robustness of PyTorch, FinTorch aims to bridge the gap between AI technology and the financial industry needs.

Goal

Develop FinTorch, an open-source machine learning library as an extension of PyTorch, specifically tailored for the FinTech industry’s compliance and risk management requirements.

Key Objectives

  1. Specialized Financial AI Models Implement state-of-the-art machine learning models for financial data analysis, fraud detection, risk assessment, and regulatory compliance, seamlessly integrating with PyTorch’s existing framework.

  2. Regulatory Compliance Toolkit Provide tools specifically designed for monitoring and ensuring adherence to financial regulations using AI.

  3. User-Friendly API Maintain a tensor-centric API, consistent with PyTorch, ensuring ease of use for those familiar with PyTorch. Aim for simplicity, where basic models can be implemented in as few as 10-20 lines of code.

  4. Extensibility for Research Offer a flexible platform for academic and industry researchers to develop and test new AI models for FinTech, with support for custom architectures and novel strategies.

  5. Scalability and Real-World Application Focus on scalability to handle large-scale financial data and real-world scenarios.

  6. Ethical and Responsible AI Practices Embed principles of sustainable and responsible AI, ensuring that models adhere to ethical standards and contribute positively to the FinTech ecosystem.

  7. Educational Resources and Community Support Provide comprehensive documentation, tutorials, and masterclasses to facilitate learning and collaboration within the AI4FinTech community.

Impact

FinTorch will not only streamline the process of regulatory compliance for FinTech companies but also foster innovation and research in AI-driven financial technologies. It will serve as a crucial tool for industry professionals, researchers, and government institutions, aligning with the AI4FinTech community’s objectives of knowledge dissemination and development of responsible, cutting-edge financial solutions.

Getting started

Please install the package as follows:

pip install fintorch

Required Dependencies

  • The following instalation commands for the required dependencies use custom index URLs provided by PyTorch Geometric (PyG).

To determine TORCH version and DEVICE type run:

python -c "import torch; print('TORCH:',torch.__version__,'\nDEVICE:', 'cu'+torch.version.cuda.replace('.','')) if torch.cuda.is_available() else print('TORCH:',str(torch.__version__).split('+')[0],'\nDEVICE: cpu')"

For Linux:

Set TORCH and DEVICE:

export TORCH={your_pytorch_version}
export DEVICE={your_device}

Or, in the following urls, replace ${TORCH} and ${DEVICE} with the appropriate version numbers for your environment (e.g., with CUDA: “1.12.0” and “cu113” or with CPU: “1.12.0” and “cpu”).

Download the required dependencies using the following PyG installation commands:

pip install pyg-lib -f https://data.pyg.org/whl/torch-${TORCH}+${DEVICE}.html
pip install torch-scatter torch-sparse -f https://data.pyg.org/whl/torch-${TORCH}+${DEVICE}.html

For Windows:

Set TORCH and DEVICE:

set "TORCH=your_pytorch_version"
set "DEVICE=your_device"

Or, in the following urls, replace %TORCH% and %DEVICE% with the appropriate version numbers for your environment (e.g., with CUDA: “1.12.0” and “cu113” or with CPU: “1.12.0” and “cpu”).

Download the required dependencies using the following PyG installation commands:

pip install pyg-lib -f https://data.pyg.org/whl/torch-%TORCH%+%DEVICE%.html
pip install torch-scatter torch-sparse -f https://data.pyg.org/whl/torch-%TORCH%+%DEVICE%.html

Description of the Structure

  • fintorch Directory: Contains the core library modules.
    • models: Core models for compliance monitoring, fraud detection, risk assessment, and sustainable finance.

    • datasets: Financial datasets and data processing utilities.

    • utils: Helper tools and functions for compliance and other financial applications.

    • training: Training and evaluation scripts for the models.

  • examples Directory: Example scripts demonstrating the use of FinTorch in different scenarios.

  • tests Directory: Unit and integration tests for the library.

  • benchmarks Directory: Benchmark scripts and resources for testing the performance of the library.

  • docs Directory: Documentation files, including build scripts and source files.

  • docker Directory: Dockerfile and related resources for containerizing the FinTorch library.

  • conda Directory: Scripts and files needed for building a Conda package of the library.

  • tutorials Directory: Jupyter notebooks that provide tutorials on how to use the library for various FinTech applications.

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

fintorch-0.6.0.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

fintorch-0.6.0-py3-none-any.whl (60.4 kB view details)

Uploaded Python 3

File details

Details for the file fintorch-0.6.0.tar.gz.

File metadata

  • Download URL: fintorch-0.6.0.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fintorch-0.6.0.tar.gz
Algorithm Hash digest
SHA256 7b5c9583242c4ad765d4f3a04ee014eae80b0ecda05e6e4d97317c16827cbdce
MD5 00afa921d396e3fb42701fb29d9ed2e5
BLAKE2b-256 50c5cb9ec32c1c4e6f697173f3776448ef6d10deb89d47ecf6edaf003482e3c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for fintorch-0.6.0.tar.gz:

Publisher: pypi.yml on AI4FinTech/FinTorch

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

File details

Details for the file fintorch-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: fintorch-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 60.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fintorch-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 159acd8c93e568756cf3dc1434912d8bc22f0be6e72c8ba5c27a5fac25260d7c
MD5 37916e7dbcc2f372d6439988cb98fe21
BLAKE2b-256 b0192d0732a30442e4d93f73d1ecea1a546705d42ed1a41608ac8059912ed3ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for fintorch-0.6.0-py3-none-any.whl:

Publisher: pypi.yml on AI4FinTech/FinTorch

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

Supported by

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