Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
docs: add interactive selector
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxiao committed Oct 14, 2021
1 parent 2296ca0 commit 11a6a8b
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Learn more about {term}`labeled data`.
<div class="usage-card" id="usage-00" style="display: block">
:::{card} Finetuner usage
:::{card} Finetuner usage 1
Perfect! Now `embed_model` and `train_data` are given by you already, simply do:
Expand All @@ -149,11 +149,14 @@ Learn more about {term}`Tuner`.
</div>
<div class="usage-card" id="usage-01">
:::{card} Finetuner usage
:::{card} Finetuner usage 2
Perfect! Now `embed_model` and `unlabeled_data` are given by you, you can use Finetuner to interactive label data and train `embed_model` as below:
```python
```{code-block} python
---
emphasize-lines: 6
---
import finetuner
finetuner.fit(
Expand All @@ -170,11 +173,14 @@ Learn more about {term}`Tuner` and {term}`Labeler`.
</div>
<div class="usage-card" id="usage-10">
:::{card} Finetuner usage
:::{card} Finetuner usage 3
You have a `general_model` but it is not yet for embedding. Luckily you provide some `labeled_data` for training, so simply do:
```python
```{code-block} python
---
emphasize-lines: 6, 7
---
import finetuner
finetuner.fit(
Expand All @@ -192,11 +198,14 @@ Learn more about {term}`Tailor` and {term}`Tuner`.
</div>
<div class="usage-card" id="usage-11">
:::{card} Finetuner usage
:::{card} Finetuner usage 4
You have a `general_model` but it is not yet for embedding. You only have unlabeled data which is not ready for training. But no worries, Finetuner can help you train an embedding model with interactive labeling on-the-fly:
```python
```{code-block} python
---
emphasize-lines: 6, 7
---
import finetuner
finetuner.fit(
Expand Down

0 comments on commit 11a6a8b

Please sign in to comment.