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

Uploaded Python 3

File details

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

File metadata

  • Download URL: clokai-1.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1821a1a4926eb4a0649385e68e650884a872b93079aca67e2806ab4e810980f9
MD5 eee3563e77f0de628cf1599384e60286
BLAKE2b-256 f0fdef32b8926222dd7b9e69e3e69688c0dbfdc6b4f71ea034434f79cbceeb00

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