capsenz / examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Luminous templates


This repo provides some training examples for using the Aleph Alpha API.

Goal

The goal of this repo is to provide a set of examples that can be used to easily understand and use the Aleph Alpha API.

Getting Started with the Aleph Alpha Luminous Python API

In this collection of materials, you will learn how to use the aleph-alpha-client to use Luminous models in python. This is intended to give a structured introduction to the client as well as Luminous model fucntionalities. You can find the exercise Notebooks in the exercises folder and the code templates in boilerplate folder.

Downloading the materials

To download the material, we use github. You can download the materials by cloning the repository:

git clone https://github.com/Aleph-Alpha/examples.git

Overview

Exercises

The exercises are structured in the following way:

Exercise Description Internal Link Colab Link
1 Calling the API Exercise 1 Open In Colab
2 Simple completion Exercise 2 Open In Colab
3 Advanced completion Exercise 3 Open In Colab
4 Prompt_optimization Exercise 4 Open In Colab
5 A first look into search Exercise 5 Open In Colab
6 Symmetric vs. Asymmetric Search Exercise 6 Open In Colab
7 Combining functionalities Exercise 7 Open In Colab
8 Evaluating a task Exercise 7 Open In Colab

Boilerplate

The boilerplate folder contains the code templates for using the API. The templates are structured in the following way:

Template Description Internal Link Colab Link
1 Calling the API Template 1 Open In Colab
2 Simple completion Template 2 Open In Colab
3 Simple search Template 3 Open In Colab
4 Symmetric and Asymmetric Search Template 4 Open In Colab
5 Hidden Embeddings Template 5 Open In Colab
6 Combining functionalities Template 6 Open In Colab

About


Languages

Language:Jupyter Notebook 97.7%Language:Python 2.3%