Skip to content

Commit

Permalink
Update optional arguments in main class overview
Browse files Browse the repository at this point in the history
  • Loading branch information
davidberenstein1957 committed Jul 22, 2024
1 parent 1a3b36f commit da05c96
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions argilla/docs/how_to_guides/import_export.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ In Argilla, you can import/export two main components of a dataset:
```python
rg.Dataset.to_hub(
repo_id="<my_org>/<my_dataset>",
with_records=True,
generate_card=True
)
```
Expand All @@ -36,7 +37,8 @@ In Argilla, you can import/export two main components of a dataset:

```python
rg.Dataset.to_disk(
path="<directory>/<file>"
path="<directory>/<file>",
with_records=True
)
```
=== "`rg.Dataset.from_disk`"
Expand All @@ -45,7 +47,9 @@ In Argilla, you can import/export two main components of a dataset:
rg.Dataset.from_disk(
path="<directory>/<file>",
name="<my_argilla_dataset>",
workspace="<my_argilla_workspace>"
workspace="<my_argilla_workspace>",
client=rg.Client(),
with_records=True
)
```
=== "`rg.Dataset.records.to_datasets()`"
Expand Down

0 comments on commit da05c96

Please sign in to comment.