aiXplain SDK adds AI functions to software.
Project description
aiXtend
aiXtend is a software development kit (SDK) for the aiXplain platform. With aiXtend, 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.
🔎 Find models, datasets, metrics on the platform.
:yellow_heart: 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 simply,
pip install aixtend
API Key Setup
Before you can use the aiXtend 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
Usage
Let’s see how we can use aiXtend to run a machine translation model.
from aixtend.factories.model_factory import ModelFactory
model = ModelFactory.create_asset_from_id("61b27086c45ecd3c10d0608c") # Got the ID of an MT model from on our platform
translation = model.run("This is a sample text")
Check out the explore section of our guide on Models to get the ID of your desired model
Developer Guide
Follow the Developer Guide.
Support
Raise issues for support in this repository.
Pull requests are welcome!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aixtend-0.1.0.macosx-10.9-x86_64.tar.gz
.
File metadata
- Download URL: aixtend-0.1.0.macosx-10.9-x86_64.tar.gz
- Upload date:
- Size: 39.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 769119c3403b4689489e9f87604b0a6e0b439c632ab6fcb4ec0ea8a8a6c196ea |
|
MD5 | 47e42c135c625ae36e3a65f24e02083d |
|
BLAKE2b-256 | f1df43c1d5e14f702a70a3b238053f564dcd7ebc32afb83ad7e8b162be66e680 |
File details
Details for the file aixtend-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: aixtend-0.1.0-py3-none-any.whl
- Upload date:
- Size: 37.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcff750c7a7c92730e04050ff0599ddb947a402111ab807fe34866ee14df09cf |
|
MD5 | 04254ea533e8e3c6d96b452fc4dae03b |
|
BLAKE2b-256 | d1018987eb7614fa9a0d703e4467a205fe8e0013f859a16b6c45f0203bc20980 |