Skip to main content

aiXplain SDK adds AI functions to software.

Project description

aiXplain logo

aiXplain

aixplain is a software development kit (SDK) for the aiXplain platform. With aixplain, developers can quickly and easily:

  • Discover aiXplain’s ever-expanding catalog of 35,000+ ready-to-use AI models and utilize them.
  • Benchmark AI systems by choosing models, datasets and metrics.
  • Design their own custom pipelines and run them.
  • FineTune pre-trained models by tuning them using your data, enhancing their performance.

🔎 Find models, datasets, metrics on the platform.

💛 Our repository is constantly evolving. With the help of the scientific community, we plan to add even more datasets, models, and metrics across domains and tasks.

Getting Started

Installation

To install the base package, simply,

pip install aixplain

To install aiXplain with additional model building support:

pip install aixplain[model-builder]

API Key Setup

Before you can use the aixplain SDK, you'll need to obtain an API key from our platform. For details refer this Team API Key Guide.

Once you get the API key, you'll need to add this API key as an environment variable on your system.

Linux or macOS

export TEAM_API_KEY=YOUR_API_KEY

Windows

set TEAM_API_KEY=YOUR_API_KEY

Jupyter Notebook

%env TEAM_API_KEY=YOUR_API_KEY

Usage

Let’s see how we can use aixplain to run a machine translation model. The following example shows an English to French translation model.

from aixplain.factories import ModelFactory
model = ModelFactory.get("61dc52976eb5634cf06e97cc") # Get the ID of a model from our platform. 
translation = model.run("This is a sample text") # Alternatively, you can input a public URL or provide a file path on your local machine.

Check out the explore section of our guide on Models to get the ID of your desired model

Quick Links

Support

Raise issues for support in this repository.
Pull requests are welcome!

Note

The aiXtend python package was renamed to aiXplain from the release v0.1.1.

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

aixplain-0.2.21.tar.gz (9.2 MB view details)

Uploaded Source

Built Distribution

aiXplain-0.2.21-py3-none-any.whl (235.0 kB view details)

Uploaded Python 3

File details

Details for the file aixplain-0.2.21.tar.gz.

File metadata

  • Download URL: aixplain-0.2.21.tar.gz
  • Upload date:
  • Size: 9.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for aixplain-0.2.21.tar.gz
Algorithm Hash digest
SHA256 75f1a061eabdbb77aa0f814da056c5130fbe500b76c4ad9828a0deecd10275bc
MD5 9f9a0efc9c0fbdc27a460b1c1de536a6
BLAKE2b-256 edafd3cd6935de64da9d2b46bf091ce8734f216ca98201054ecd85a5944cc1a3

See more details on using hashes here.

File details

Details for the file aiXplain-0.2.21-py3-none-any.whl.

File metadata

  • Download URL: aiXplain-0.2.21-py3-none-any.whl
  • Upload date:
  • Size: 235.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for aiXplain-0.2.21-py3-none-any.whl
Algorithm Hash digest
SHA256 ee88bb169f4ecc558b8a7dfa74958a981e28be83c25010811c2a527d60a46df1
MD5 739d7982f7edbe7e846ee202cd870a22
BLAKE2b-256 f7dfeb469549c7795f8ebcc2a502ce8551fb541a0b188ccbea31b5055ea4263b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page