kaleidoscope-sdk is a Python module used to interact with large language models hosted via the Kaleidoscope service available at: https://github.com/VectorInstitute/kaleidoscope. It provides a simple interface to launch LLMs on an HPC cluster, asking them to perform basic features like text generation, but also retrieve intermediate information from inside the model, such as log probabilities and activations. Users must authenticate using their Vector Institute cluster credentials. This can be done interactively instantiating a client object. This will generate an authentication token that will be used for all subsequent requests. The token will expire after 30 days, at which point the user will be prompted to re-authenticate.

Features

  • Shows a list of all active LLMs instantiated by the model service
  • Loads an LLM via the model service
  • Returns an LLM text generation based on prompt input
  • Returns all modules names in the LLM neural network
  • Retrieves all activations for a set of modules
  • Requires Python version >= 3.8

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Kaleidoscope-SDK

Kaleidoscope-SDK Web Site

Other Useful Business Software
The AI workplace management platform Icon
The AI workplace management platform

Plan smart spaces, connect teams, manage assets, and get insights with the leading AI-powered operating system for the built world.

By combining AI workflows, predictive intelligence, and automated insights, OfficeSpace gives leaders a complete view of how their spaces are used and how people work. Facilities, IT, HR, and Real Estate teams use OfficeSpace to optimize space utilization, enhance employee experience, and reduce portfolio costs with precision.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Kaleidoscope-SDK!

Additional Project Details

Programming Language

Python

Related Categories

Python Large Language Models (LLM), Python Generative AI

Registered

2023-03-22