In this tutorial, we will INSERT_INTRODUCTION. It will walk you through the following steps:
INSERT_STEPS. INSERT EMOJI
Let’s get started!
For this tutorial, you will need to have an Argilla server running. There are two main options for deploying and running Argilla:
Deploy Argilla on Hugging Face Spaces: This is the fastest option and the recommended choice for connecting to external notebooks (e.g., Google Colab) if you have an account on Hugging Face.
Launch Argilla using Argilla’s quickstart Docker image: This is the recommended option if you want Argilla running on your local machine. Note that this option will only let you run the tutorial locally and not with an external notebook service.
For more information on deployment options, please check the Deployment section of the documentation.
This tutorial is a Jupyter Notebook. There are two options to run it:
Use the Open in Colab button at the top of this page. This option allows you to run the notebook directly on Google Colab. Don’t forget to change the runtime type to GPU for faster model training and inference.
Download the .ipynb file by clicking on the View source link at the top of the page. This option allows you to download the notebook and run it on your local machine or on a Jupyter notebook tool of your choice.
For this tutorial, you’ll need to install the Argilla client and a few third party libraries using
%pip install argilla INSERT_PACKAGE==INSERT_VERSION -qqq
Running cells with 'argilla' requires ipykernel package. Run the following command to install 'ipykernel' into the Python environment. Command: 'conda install -n argilla ipykernel --update-deps --force-reinstall'
Let’s import the Argilla module for reading and writing data:
import argilla as rg
If you are running Argilla using the Docker quickstart image or Hugging Face Spaces, you need to init the Argilla client with the
# Replace api_url with the url to your HF Spaces URL if using Spaces # Replace api_key if you configured a custom API key rg.init( api_url="http://localhost:6900", api_key="admin.apikey" )
Finally, let’s include the imports we need:
# import bla bla bla with specific version
In this tutorial, we learned INSERT_SUMMARY. This can INSERT_REASON.
If you want to continue learning Argilla:
🙋♀️ Join the Argilla Slack community!
⭐ Argilla Github repo to stay updated.
📚 Argilla documentation for more guides and tutorials.