Skip to content

v2.6.0

Latest
Compare
Choose a tag to compare
@jfcalvo jfcalvo released this 18 Dec 15:46
· 4 commits to develop since this release

🔆 Release highlights

Push to hub

Export your dataset to the Hugging Face Hub directly from the Argilla UI:

1️⃣ Go to your dataset
2️⃣ Click on Push to Hub
3️⃣ Make sure you include your username or organization and a Hub Access Token with write permissions

Screenshot of the exporting feature

Share your progress

Share your annotation progress on any Argilla dataset with the world!

1️⃣ In your dataset, click on "Share progress"
2️⃣ Open your preferred social media platform
3️⃣ Start a post and paste the copied text
4️⃣ Publish and share with the world!

Screenshot of the sharing feature

Update user data

You can update all information of a user. Here's an example of how to update the role of a user:

import argilla as rg

client = rg.Argilla(api_url="<ARGILLA_API_URL>", api_key="<ARGILLA_API_KEY>")

user = client.users("username")
user.role = "admin"
user.update()

Change record fields

You can now update the content of record fields.

import argilla as rg

client = rg.Argilla(api_url="<ARGILLA_API_URL>", api_key="<ARGILLA_API_KEY>")

dataset = client.datasets("my_dataset")
record = next(dataset.records(limit=1))
record.fields["text"] = "this is my updated text"
record.update()

# or several records at once
records = list(dataset.records(...))

for record in records:
    record.fields["text"] = "this is my updated text"

dataset.records.log(records)

Changelog v2.6.0

New Contributors

Full Changelog: v2.5.0...v2.6.0