🔌 Open-source plugins for with practical features for Argilla using listeners.
Project description
Argilla Plugins
🔌 Open-source plugins for extra features and workflows
Why? The design of Argilla is intentionally programmable (i.e., developers can build complex workflows for reading and updating datasets). However, there are certain workflows and features which are shared across different use cases and could be simplified from a developer experience perspective. In order to facilitate the reuse of key workflows and empower the community, Argilla Plugins provides a collection of extensions to super power your Argilla use cases. Some of this pluggable method could be eventually integrated into the core of Argilla.
How to develop a plugin
- Pick a cool plugin from the list of topics or our issue overview.
- Think about an abstraction for the plugin as shown below.
- Refer to the solution in the issue.
- fork the repo.
- commit your code
- open a PR.
- Keep it simple.
- Have fun.
How to develop a plugin
- Pick a cool plugin from the list of topics or our issue overview.
- Refer to the solution in the issue
- fork the repo
- open a PR
- Think about an abstraction for the plugin as shown below
- Keep it simple -
- Have fun.
Development requirements
Function
We want to to keep the plugins as abstract as possible, hence they have to be able to be used within 3 lines of code.
from argilla_plugins.topic import plugin
plugin(name="dataset_name", ws="workspace" query="query", interval=1.0)
plugin.start()
Variables
variables name
, ws
, and query
are supposed to be re-used as much as possible throughout all plugins. Similarly, some functions might contain adaptations like name_from
or query_from
. Whenever possible re-use variables as much as possible.
Ohh, and don`t forget to have fun! 🤓
Topics
Reporting
What is it? Create interactive reports about dataset activity, dataset features, annotation tasks, model predictions, and more.
Plugins:
- automated reporting pluging using
datapane
. issue - automated reporting pluging for
great-expectations
. issue
Datasets
What is it?
Everything that involves operations on a dataset level
, like dividing work, syncing datasets, and deduplicating records.
Plugins:
- sync data between datasets.
- remove duplicate records. issue
- create train test splits. issue
- set limits to records in datasets
End of Life
Automatically delete or discard records after x
seconds.
from argilla_plugins.datasets import end_of_life
plugin = end_of_life(
name="plugin-test",
end_of_life_in_seconds=100,
execution_interval_in_seconds=5,
discard_only=False
)
plugin.start()
Programmatic Labelling
What is it?
Automatically update annotations
and predictions
labels and predictions of records
based on heuristics.
Plugins:
- annotated spans as gazzetteer for labelling. issue
- vector search queries and similarity threshold. issue
- use gazzetteer for labelling. issue
- materialize annotations/predictions from rules using Snorkel or a MajorityVoter issue
Active learning
What is it? A process during which a learning algorithm can interactively query a user (or some other information source) to label new data points.
Plugins:
- active learning for
TextClassification
. - active learning for
TokenClassification
. issue
Inference endpoints
What is it? Automatically add predictions to records as they are logged into Argilla. This can be used for making it really easy to pre-annotated a dataset with an existing model or service.
Training endpoints
What is it? Automatically train a model based on dataset annotations.
- TBD
Suggestions
Do you have any suggestions? Please open an issue 🤓
Project details
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 argilla-plugins-0.1.0.tar.gz
.
File metadata
- Download URL: argilla-plugins-0.1.0.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.9 Darwin/22.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a4fd950066856cbd3a865fba027027ddf3ed98dab2d0eb05a57d6cebd108c2d |
|
MD5 | be4ce9c185bfd0c2eb5c77f9b6249100 |
|
BLAKE2b-256 | bfaed33e92c587599a589eb78897a757e62da016c384710b831d43b6e033532d |
File details
Details for the file argilla_plugins-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: argilla_plugins-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.9 Darwin/22.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a7391a027dca031f8da6fce84d98ea62fb91b7ff11e2666f9038a53b555342d |
|
MD5 | 8219ea5ee2c4e230483c056ce54b88ba |
|
BLAKE2b-256 | aa7fffc304ca6ef6075f2678a4c459fa0fffae6fbbe18fa370aa4bef519ccf66 |