Skip to main content

Library for loading ClokAI transformer models

Project description

ClokAI

Python library for loading ClokAI transformer models.

About

ClokAI is an organization developing custom AI architectures for AGI research and specialized model development. This library helps load and use ClokAI models with HuggingFace transformers.

Install

pip install clokai

Usage

from clokai import AutoClokAI

model = AutoClokAI.from_pretrained("ClokAI/ci-base")
tokenizer = AutoClokAI.load_tokenizer("ClokAI/ci-base")

inputs = tokenizer("Hello", return_tensors="pt")
outputs = model.generate(**inputs, max_length=100)
print(tokenizer.decode(outputs[0]))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

clokai-1.1.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file clokai-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: clokai-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for clokai-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 217d0153246bcdd6a4e8a364a5ad463b5b640f6919f5020bb2dce4dcbb2a02ca
MD5 b47efc792eb6eddf3da7e3169ccbe5c7
BLAKE2b-256 1245751ef9c72c46dabde728635c5db07ac008832b38a288f53a8f229b44e5ab

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