Hyperbolic Learning Library (HypLL)

repository·main·Indexed 41 days ago

https://github.com/maxvanspengler/hyperbolic_learning_library

A PyTorch extension framework for performing deep learning in hyperbolic space. Version 0.1.2 requires Python 3.10+ and PyTorch 1.11+.

Tokens
626
Snippets
5
Records
5
Agent score
2%

What's inside HypLL

  1. Install HypLL via pip

    main

    HypLL requires Python 3.10+ and PyTorch 1.11+. It is highly recommended to install PyTorch following the official instructions at https://pytorch.org/get-started/locally/ before installing HypLL.

    To install HypLL, first set up and activate a Python virtual environment, then use pip to install the package from PyPI.

    # 1. Create a virtual environment
    python -m venv .env
    
    # 2. Activate the environment
    # On Linux/macOS:
    source .env/bin/activate
    # On Windows:
    .env\Scripts\activate
    
    # 3. Install HypLL
    pip install hypll
  2. Install the Hyperbolic Learning Library (HypLL)

    main

    The Hyperbolic Learning Library (HypLL) is an extension of PyTorch for deep learning in hyperbolic space.

    Prerequisites

    • Python: 3.10 or higher
    • PyTorch: 1.11 or higher

    It is highly recommended to have a working PyTorch installation before installing HypLL.

    Setup Steps

    1. Create a Python virtual environment:
      python -m venv .env
    2. Activate the environment:
      • Linux/macOS: source .env/bin/activate
      • Windows: .env\Scripts\activate
    3. Install HypLL via pip:
      pip install hypll
    python -m venv .env
    source .env/bin/activate
    pip install hypll
  3. Cite the Hyperbolic Learning Library

    main

    If you use HypLL in your research, please cite the project using the following BibTeX entry:

    @article{spengler2023hypll,
      title={HypLL: The Hyperbolic Learning Library},
      author={van Spengler, Max and Wirth, Philipp and Mettes, Pascal},
      journal={arXiv preprint arXiv:2306.06154},
      year={2023}
    }