Coder Social home page Coder Social logo

stumblefiend / labelbox-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from labelbox/labelbox-python

0.0 0.0 0.0 180.5 MB

A data-centric AI Platform for Building & Using AI

Home Page: https://labelbox.com/

License: Apache License 2.0

Python 99.92% Dockerfile 0.08%

labelbox-python's Introduction

Release Notes CI) Downloads Dependency Status Open Issues Changelog License: Apache 2.0 Twitter Follow LinkedIn Follow Supported Python Versions

Labelbox

Labelbox is a data-centric AI platform for enterprises to develop, optimize, and use AI to solve problems and power new products and services.

Enterprises use Labelbox to curate data, generate high-quality human feedback data for computer vision and LLMs, evaluate model performance, and automate tasks by combining AI and human-centric workflows. The academic & research community uses Labelbox for cutting-edge AI research.

Visit Labelbox for more information.

Table of Contents

Quick Start

Sign Up

If you haven't already, create a free account at Labelbox.

Generate an API key

Log into Labelbox and navigate to Account > API Keys to generate an API key.

Install

To install the SDK, run the following command.

pip install labelbox

If you'd like to install the SDK with enhanced functionality, which additional optional capabilities surrounding data processing, run the following command.

pip install "labelbox[data]"

If you want to installed a version of Labelbox built locally, be aware that only tagged commits have been validated to fully work! Installing the latest from develop is at your own risk!

Validate Installation and API Key

After installing the SDK and getting an API Key, it's time to validate them both.

import labelbox as lb

client = lb.Client(API_KEY) # API_KEY = API Key generated from labelbox.com
dataset = client.create_dataset(name="Test Dataset")
data_rows = [{"row_data": "My First Data Row", "global_key": "first-data-row"}]
task = dataset.create_data_rows(data_rows)
task.wait_till_done()

You should be set! Running the snippet above should create a dataset called Test Dataset with a single datarow with the text contents being My First Data Row. You can log into Labelbox to verify this. If you have any issues please file a Github Issue or contact Labelbox Support directly. For more advanced examples and information on the SDK, see Documentation below.

Contribution Guidelines

We encourage anyone to contribute to this repository to help improve it. Please refer to Contributing Guide for detailed information on how to contribute. This guide also includes instructions for how to build and run the SDK locally.

Develop with AI assistance

Use the codebase as context for large language models

Using the GPT repository loader, we have created lbx_prompt.txt that contains data from all .py and .md files. The file has about 730k tokens. We recommend using Gemini 1.5 Pro with 1 million context length window.

Documentation

The SDK is well-documented to help developers get started quickly and use the SDK effectively. Here are some resources:

labelbox-python's People

Contributors

jtsodapop avatar vbrodsky avatar msokoloff1 avatar ovalle15 avatar kkim-labelbox avatar florijanstamenkovic avatar mnoszczak avatar whistler avatar tim-kerr avatar dubininsergey avatar attila-papai avatar kopreschko avatar farkob avatar paulnoirel avatar lgluszek avatar manuaero avatar mkozik-lb avatar tomislav-peharda avatar mmarinwilcke avatar yamini-labelbox avatar sfendell-labelbox avatar paultancre avatar adrian-chang avatar ezekielemerson avatar gabefire avatar granteating avatar raphaeljafrilb avatar richardsun0713 avatar maximelabelbox avatar apollonin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.