Skip to main content

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

Project description

Fork, by Memoize Labs (V0.0.1.2)

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.2.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.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for memoizelabs-0.0.1.2.tar.gz
Algorithm Hash digest
SHA256 7f9eb97e26c949c552715f6611ac4f33f7ceb75773d6ca60a19151c00b174d6d
MD5 c5b3b8079c1fa6b57ac5cf8ecdfed97a
BLAKE2b-256 2153a2bbec357688a51cc7400ce61048d5cf6e864e33a7d2becf082cda167777

See more details on using hashes here.

File details

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

File metadata

  • Download URL: memoizelabs-0.0.1.2-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.12.2

File hashes

Hashes for memoizelabs-0.0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6b62b11f1cc8291d838db919cbe7a983adab9148c69051a220eedcc18c54e7af
MD5 03e2b82d169d492f6ea27071e9a5e825
BLAKE2b-256 e547afe4eae6c138c6dafb2ee7e3a3a514b4982a68b8d3c2655301d0b51c7f9b

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