Skip to main content

Fork, Memoize Labs' API for training and using human-like models.

Project description

Fork, by Memoize Labs (V0.0.1.1)

Report bugs and get support at contact@memoizelabs.com

Installation

For first-time users, begin by running:

foo@user:~$ pip install memoizelabs

For upgrading to the latest version, upgrade to the latest version by running:

foo@user:~$ pip install --upgrade memoizelabs

Usage

Methods

Fork.fork(id, file_paths, isolated_voice_path, description='')

  • Parameters:
    • id (str): the user-specified ID of the model.
    • file_paths (str array): a string of file paths containing objects to fine tune on. These can be .txt, .mp3, or .mp4 files.
    • isolated_voice_path (str): a path to a .mp3 file containing a clean recording of the target at least 30 seconds in length, used to pre-process submitted files and identify the target's voice within them before finetuning for better results.
    • description (str, optional): a description of the target (ex: An elderly woman with a deep, soothing voice, a British accent, and a witty sense of humor).

StateMachine.state()

  • Returns:
    • The current state of the state machine, one of INIT, PRE-OP, OPERATIONAL, or FAULT.

StateMachine.errors()

  • Returns:
    • Array of errors

Classes

Fork(api_key)

  • Parameters:
    • api_key (str): your Memoize Labs Fork API key. Get one at memoizelabs.com/fork

StateMachine() : A state machine for using real time interactive features with low latency and continous connection to the server.

  • States:
  • INIT: the initialization state of the state machine. The state machine performs initial checks to confirm access to an audio device and wi-fi, then transitions to PRE-OP if checks pass or FAULT if an issue is detected.
  • PRE-OP: the state machine is ready to begin live streaming of data upon command.
  • OPERATIONAL: the state machine is connected and exchanging live streams with the server.
  • FAULT: the fault state of the state machine. Once the causal errors are resolved, the user must transition the state machine back to INIT state by calling StateMachine.transition_state(INIT) and initialization checks will be re-run.

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

memoizelabs-0.0.1.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

memoizelabs-0.0.1.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file memoizelabs-0.0.1.1.tar.gz.

File metadata

  • Download URL: memoizelabs-0.0.1.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.4

File hashes

Hashes for memoizelabs-0.0.1.1.tar.gz
Algorithm Hash digest
SHA256 030e18488e7249d22246a5fb6bff137c47086227470adcab7c09339fd98252c5
MD5 5d4be0a861135468abb934cc1c50450f
BLAKE2b-256 4586d4d3af60be75d66b436f7b99f36e3019ebe49bc6b2c59f1ea9fd9f39aeaa

See more details on using hashes here.

File details

Details for the file memoizelabs-0.0.1.1-py3-none-any.whl.

File metadata

  • Download URL: memoizelabs-0.0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.4

File hashes

Hashes for memoizelabs-0.0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 caad11e9f48988776f1c2cbe056a4c06f6f79e0de8ce6f0fffea42c8f7ed6624
MD5 795f5ddf63ebb3a5ff9736f942af09bf
BLAKE2b-256 d83d7cde34db62f8554b689bb43fdb6ab9fa7b3f1d1a2bca449a73feee4012bd

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