Skip to content

Commit

Permalink
Documentation update: tutorial for text classification models compari…
Browse files Browse the repository at this point in the history
…son (#2426)

# Description

Context: #2068
In this PR a new tutorial is added: model-comparison for text
classification. It is the follow up of the work done during PyConFr in
Bordeaux.

Closes #2068

**Type of change**

(Please delete options that are not relevant. Remember to title the PR
according to the type of change)

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] Refactor (change restructuring the codebase without changing
functionality)
- [ ] Improvement (change adding some improvement to an existing
functionality)
- [x] Documentation update

**How Has This Been Tested**

(Please describe the tests that you ran to verify your changes. And
ideally, reference `tests`)

- [ ] Test A
- [ ] Test B

**Checklist**

- [ ] I have merged the original branch into my forked branch
- [ ] I added relevant documentation
- [ ] follows the style guidelines of this project
- [ ] I did a self-review of my code
- [ ] I made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works

---------

Co-authored-by: David Berenstein <[email protected]>
  • Loading branch information
embonhomme and davidberenstein1957 authored Mar 21, 2023
1 parent e1fce7c commit ae2d65b
Show file tree
Hide file tree
Showing 9 changed files with 2,376 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
```{grid-item-card} 🕵️‍♀️ Compare two Text Classification zero-shot models using Argilla
:img-top: /_static/tutorials/monitoring-textclassification-setfit-explainability/f1-score-for-zero-shot-model.png
:link: ../../tutorials/notebooks/monitoring-textclassification-setfit-explainability.html
MLOps Steps: Monitoring \
NLP Tasks: TextClassification \
Libraries: Argilla, SetFit \
Techniques: Zero-shot classification
```
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions docs/_source/tutorials/libraries/setfit.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ SetFit is an efficient and prompt-free framework for few-shot fine-tuning of Sen
```
```{include} /_static/tutorials/training-textclassification-setfit-sentiment/modal.md
```
```{include} /_static/tutorials/monitoring-textclassification-setfit-explainability/modal.md
```
````

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/_source/tutorials/steps/4_monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ These tutorials show you how Argilla can help you to monitor your model predicti
```
```{include} /_static/tutorials/monitoring-textclassification-transformers-explainability/modal.md
```
```{include} /_static/tutorials/monitoring-textclassification-setfit-explainability/modal.md
```
````
2 changes: 2 additions & 0 deletions docs/_source/tutorials/tasks/text_classification.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@
```
```{include} /_static/tutorials/training-textclassification-modal-activelearning/modal.md
```
```{include} /_static/tutorials/monitoring-textclassification-setfit-explainability/modal.md
```
````
4 changes: 3 additions & 1 deletion docs/_source/tutorials/techniques/few_shot.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ These tutorials show how to use few and zero-shot classifications with Argilla.
```
```{include} /_static/tutorials/labelling-textclassification-gpt3-fewshot/modal.md
```
````
```{include} /_static/tutorials/monitoring-textclassification-setfit-explainability/modal.md
```
````

0 comments on commit ae2d65b

Please sign in to comment.