Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fr/aria/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Voici des exemples de conversations réelles avec ARIA pour illustrer comment vo
<img src="/images/agent/aria_experiment.gif" alt="ARIA exécutant une expérience" />
</Frame>

ARIA utilise W&amp;B Launch pour exécuter des expériences dans un environnement sandbox. Voir [Activer ARIA pour exécuter des expériences](/fr/aria/autoresearch#run-experiments-with-w\&b-launch) pour plus d’informations.
ARIA utilise W&amp;B Launch pour exécuter des expériences dans un environnement sandbox. Voir [Activer ARIA pour exécuter des expériences](/fr/aria/autoresearch#set-up-wb-launch-with-aria) pour plus d’informations.
</Accordion>

<Accordion title="Tirez des enseignements de vos expériences">
Expand Down
2 changes: 1 addition & 1 deletion ja/aria/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ ARIA の処理中に、**Thinking** ステップと **shell** ステップが表
<img src="/images/agent/aria_experiment.gif" alt="experiment を実行している ARIA" />
</Frame>

ARIA は W&amp;B Launch を使用して、サンドボックス環境で Experiments を実行します。詳しくは、[ARIA が Experiments を実行できるようにする](/ja/aria/autoresearch#run-experiments-with-w\&b-launch) をご覧ください。
ARIA は W&amp;B Launch を使用して、サンドボックス環境で Experiments を実行します。詳しくは、[ARIA が Experiments を実行できるようにする](/ja/aria/autoresearch#set-up-wb-launch-with-aria) をご覧ください。
</Accordion>

<Accordion title="実験からインサイトを得る">
Expand Down
2 changes: 1 addition & 1 deletion ko/aria/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ ARIA가 작업하는 동안 **Thinking** 및 **shell** step이 표시될 수 있
<img src="/images/agent/aria_experiment.gif" alt="실험을 실행하는 ARIA" />
</Frame>

ARIA는 W&amp;B Launch를 사용해 샌드박스 환경에서 실험을 실행합니다. 자세한 내용은 [ARIA가 실험을 실행하도록 설정](/ko/aria/autoresearch#run-experiments-with-w\&b-launch)을 참조하세요.
ARIA는 W&amp;B Launch를 사용해 샌드박스 환경에서 실험을 실행합니다. 자세한 내용은 [ARIA가 실험을 실행하도록 설정](/ko/aria/autoresearch#set-up-wb-launch-with-aria)을 참조하세요.
</Accordion>

<Accordion title="실험에 대한 인사이트 얻기">
Expand Down
4 changes: 2 additions & 2 deletions models/app/features/panels.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ keywords: ["workspace panels", "quick add", "full-screen mode", "panel sections"

import { AriaChatBubbles } from '/snippets/AriaChatBubbles.jsx';

Use workspace panel visualizations to explore your [logged data](/models/ref/python/experiments/run.md/#method-runlog) by key, visualize the relationships between hyperparameters and output metrics, and more. This page describes how to choose a workspace mode, add and configure panels, organize them into sections, and share them with collaborators.
Use workspace panel visualizations to explore your [logged data](/models/ref/python/experiments/run#method-run-log) by key, visualize the relationships between hyperparameters and output metrics, and more. This page describes how to choose a workspace mode, add and configure panels, organize them into sections, and share them with collaborators.

## Workspace modes

Expand Down Expand Up @@ -77,7 +77,7 @@ When you work in full-screen mode, use the following tips:
- To return to a panel's workspace from full-screen mode, click the left-pointing arrow at the top of the page.
- To navigate through a section's panels without exiting full-screen mode, use either the **Previous** and **Next** buttons below the panel or the left and right arrow keys.
- To reclaim more space for the panel, minimize the run selector with **Cmd+.** (macOS) or **Ctrl+.** (Windows or Linux).
- When you view an image from a [media panel](/models/app/features/panels/media) in full-screen mode, keyboard shortcuts can zoom in or out, reset zoom, or zoom to fit. See [Keyboard shortcuts](/models/app/keyboard-shortcuts#media-panels).
- When you view an image from a [media panel](/models/app/features/panels/media) in full-screen mode, keyboard shortcuts can zoom in or out, reset zoom, or zoom to fit. See [Keyboard shortcuts](/models/app/keyboard-shortcuts#media-browser-modal).

See [Keyboard shortcuts](/models/app/keyboard-shortcuts) for other full-screen and panel shortcuts.

Expand Down
2 changes: 1 addition & 1 deletion models/app/features/panels/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ with wandb.init() as run:
)
```

For more control over the types and locations of source code files that W&B saves, see the [reference docs](/models/ref/python/experiments/run#log_code).
For more control over the types and locations of source code files that W&B saves, see the [reference docs](/models/ref/python/experiments/run#method-run-log_code).

### Automatically capture code

Expand Down
4 changes: 2 additions & 2 deletions models/app/features/panels/line-plot/reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ The following table describes available hyperbolic functions:

The following are example expressions for line plot axes. These examples are for illustrative purposes. You can use any combination of operators and functions described in the previous sections to create complex expressions that suit your needs.

For the following examples, suppose your [summary metrics](/models/track/log/log-summary#log-summary-metrics) include `accuracy` and `loss` with the following values:
For the following examples, suppose your [summary metrics](/models/track/log/log-summary) include `accuracy` and `loss` with the following values:

```json Summary metrics
{
Expand Down Expand Up @@ -428,7 +428,7 @@ sqrt(${summary:loss}*100)+sqrt(${summary:loss}*100000)


### Multi-metric panel expressions
Use a regular expression to create a single line plot that shows multiple metrics together (including matching metrics logged in the future). For detailed instructions, see [Add a line plot](/models/app/features/panels/line-plot#multi-metric-line-plot).
Use a regular expression to create a single line plot that shows multiple metrics together (including matching metrics logged in the future). For detailed instructions, see [Add a line plot](/models/app/features/panels/line-plot#multi-metric-regular-expressions).

For example:
- Instead of creating separate panels for each layer's metrics, you can view them together in a single panel. For example, if you log metrics with consistent naming, like `layer_0_loss`, `layer_1_loss`, and `layer_2_loss`, you can use a regex like `layer_\d+_loss` to display all layer losses on one plot.
Expand Down
2 changes: 1 addition & 1 deletion models/app/features/panels/query-panels.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ runs.summary["cifar10_sample_table"]

Breaking this down:

* `runs` is a variable automatically injected in query panel expressions when the query panel is in a workspace. Its value is the list of runs visible for that workspace. For details about the different attributes available within a run, see [Understanding the different attributes](/models/track/public-api-guide/#understanding-the-different-attributes).
* `runs` is a variable automatically injected in query panel expressions when the query panel is in a workspace. Its value is the list of runs visible for that workspace. For details about the different attributes available within a run, see [Export run data](/models/track/public-api-guide#export-run-data).
* `summary` is an op that returns the Summary object for a run. Ops are *mapped*, meaning this op is applied to each run in the list, resulting in a list of Summary objects.
* `["cifar10_sample_table"]` is a Pick op (denoted with brackets) with a key of `cifar10_sample_table`. Because Summary objects act like dictionaries or maps, this operation picks that field from each Summary object.

Expand Down
2 changes: 1 addition & 1 deletion models/artifacts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ See the [track external files](/models/artifacts/track-external-files) page for
</Note>

## Download an artifact
Indicate the artifact you want to mark as input to your run with the [`wandb.Run.use_artifact()`](/models/ref/python/experiments/run#use_artifact) method.
Indicate the artifact you want to mark as input to your run with the [`wandb.Run.use_artifact()`](/models/ref/python/experiments/run#method-run-use_artifact) method.

Continuing from the previous code snippet, the following code example shows how to use the artifact called `example_artifact` that was created earlier:

Expand Down
4 changes: 2 additions & 2 deletions models/artifacts/artifacts-walkthrough.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ with wandb.init(project="artifacts-example", job_type="upload-dataset") as run:
The following code example demonstrates the steps you can take to use an artifact you have logged and saved to the W&B servers.

1. First, initialize a new run object with **`wandb.init()`.**
2. Second, use the run objects [`wandb.Run.use_artifact()`](/models/ref/python/experiments/run#use_artifact) method to tell W&B what artifact to use. This returns an artifact object.
3. Third, use the artifacts [`wandb.Artifact.download()`](/models/ref/python/experiments/artifact#download) method to download the contents of the artifact.
2. Second, use the run objects [`wandb.Run.use_artifact()`](/models/ref/python/experiments/run#method-run-use_artifact) method to tell W&B what artifact to use. This returns an artifact object.
3. Third, use the artifacts [`wandb.Artifact.download()`](/models/ref/python/experiments/artifact#method-artifact-download) method to download the contents of the artifact.

```python
# Create a W&B Run. Here we specify 'training' for 'type'
Expand Down
12 changes: 6 additions & 6 deletions models/artifacts/construct-an-artifact.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ For more information on available attributes and parameters, see the [`wandb.Art

[Add files, directories, external URI references (such as Amazon S3) and more](/models/artifacts/construct-an-artifact#add-files-to-an-artifact) to your artifact object.

To add a single file, use the artifact object's [`Artifact.add_file()`](/models/ref/python/experiments/artifact#add_file) method:
To add a single file, use the artifact object's [`Artifact.add_file()`](/models/ref/python/experiments/artifact#method-artifact-add_file) method:

```python
artifact.add_file(local_path="path/to/file.txt", name="artifact-name")
```

To add a directory, use the [`Artifact.add_dir()`](/models/ref/python/experiments/artifact#add_dir) method:
To add a directory, use the [`Artifact.add_dir()`](/models/ref/python/experiments/artifact#method-artifact-add_dir) method:

```python
artifact.add_dir(local_path="path/to/directory", name="artifact-name")
Expand All @@ -81,7 +81,7 @@ See the next section, [Add files to an artifact](/models/artifacts/construct-an-

### Save your artifact to the W&B server

Save your artifact to the W&B server. Use the run object's [`wandb.Run.log_artifact()`](/models/ref/python/experiments/run#log_artifact) method to save the artifact.
Save your artifact to the W&B server. Use the run object's [`wandb.Run.log_artifact()`](/models/ref/python/experiments/run#method-run-log_artifact) method to save the artifact.

```python
with wandb.init(project="<project>", job_type="<job-type>") as run:
Expand Down Expand Up @@ -148,7 +148,7 @@ root-directory

### Add a single file

Use [`wandb.Artifact.add_file()`](/models/ref/python/experiments/artifact#method-artifact-add-file) to add a single local file to an artifact. Provide the local path to the file as the `local_path` parameter:
Use [`wandb.Artifact.add_file()`](/models/ref/python/experiments/artifact#method-artifact-add_file) to add a single local file to an artifact. Provide the local path to the file as the `local_path` parameter:

```python
import wandb
Expand Down Expand Up @@ -199,7 +199,7 @@ The following table shows how different API calls produce different artifact con

### Add multiple files

Use the [`wandb.Artifact.add_dir()`](/models/ref/python/experiments/artifact#method-artifact-add-dir) method to add multiple files from a local directory to an artifact. Provide the local path to the directory as the `local_path` parameter.
Use the [`wandb.Artifact.add_dir()`](/models/ref/python/experiments/artifact#method-artifact-add_dir) method to add multiple files from a local directory to an artifact. Provide the local path to the directory as the `local_path` parameter.


```python
Expand All @@ -223,7 +223,7 @@ The following table show how different API calls produce different artifact cont

Artifacts track checksums and other information for reproducibility if the URI has a scheme that the W&B library supports.

Add an external URI reference to an artifact with the [`wandb.Artifact.add_reference()`](/models/ref/python/experiments/artifact#method-artifact-add-reference) method. Replace the `'uri'` string with your own URI. Optionally pass the desired path within the artifact for the name parameter.
Add an external URI reference to an artifact with the [`wandb.Artifact.add_reference()`](/models/ref/python/experiments/artifact#method-artifact-add_reference) method. Replace the `'uri'` string with your own URI. Optionally pass the desired path within the artifact for the name parameter.

```python
# Add a URI reference
Expand Down
4 changes: 2 additions & 2 deletions models/artifacts/delete-artifacts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ To delete an artifact version:
</Tab>
<Tab title="W&B Python SDK" value="sdk">

Delete an artifact version programmatically with the [wandb.Artifact.delete()](/models/ref/python/experiments/artifact#delete) method. Provide the full name of the artifact. The full name consists of `<entity>/<project>/<artifact_name>:<version>`. Set the `delete_aliases` parameter to `True` to delete the artifact even if it has one or more aliases associated with it.
Delete an artifact version programmatically with the [wandb.Artifact.delete()](/models/ref/python/experiments/artifact#method-artifact-delete) method. Provide the full name of the artifact. The full name consists of `<entity>/<project>/<artifact_name>:<version>`. Set the `delete_aliases` parameter to `True` to delete the artifact even if it has one or more aliases associated with it.

```python
import wandb
Expand Down Expand Up @@ -164,7 +164,7 @@ To delete an artifact collection:
</Tab>
<Tab title="W&B Python SDK" value="sdk">

Delete artifact collection programmatically with the [wandb.Artifact.delete()](/models/ref/python/experiments/artifact#delete) method.
Delete artifact collection programmatically with the [wandb.Artifact.delete()](/models/ref/python/experiments/artifact#method-artifact-delete) method.

Provide the full path of the artifact collection to `wandb.Api.artifact_collection(name="")`. The full path consists of `<entity>/<project>/<artifact_collection_name>`.

Expand Down
6 changes: 3 additions & 3 deletions models/artifacts/download-and-use-an-artifact.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ References that have schemes that W&B knows how to handle get downloaded just li

You can download all files in an artifact or download individual files:

- Use [`Artifact.download()`](/models/ref/python/experiments/artifact#download) to download all files.
- Use [`Artifact.get_entry()`](/models/ref/python/experiments/artifact#get_entry) to retrieve a specific entry, and then call `.download()` to download it.
- Use [`Artifact.download()`](/models/ref/python/experiments/artifact#method-artifact-download) to download all files.
- Use [`Artifact.get_entry()`](/models/ref/python/experiments/artifact#method-artifact-get_entry) to retrieve a specific entry, and then call `.download()` to download it.

<Tabs>
<Tab title="Track run input">
Expand Down Expand Up @@ -143,7 +143,7 @@ with wandb.init(project="project-name", job_type="job-type") as run:

## Construct and use an artifact simultaneously

Simultaneously construct and use an artifact. Create an artifact object and pass it to use_artifact. This creates an artifact in W&B if it does not exist yet. The [`wandb.Run.use_artifact()`](/models/ref/python/experiments/run#use_artifact) API is idempotent, so you can call it as many times as you like.
Simultaneously construct and use an artifact. Create an artifact object and pass it to use_artifact. This creates an artifact in W&B if it does not exist yet. The [`wandb.Run.use_artifact()`](/models/ref/python/experiments/run#method-run-use_artifact) API is idempotent, so you can call it as many times as you like.

```python
import wandb
Expand Down
8 changes: 4 additions & 4 deletions models/artifacts/explore-and-traverse-an-artifact-graph.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Hover your mouse over a node and click on the eye icon to hide or show a node in
<Tab title="W&B Python SDK">

Programmatically navigate a graph using the W&B Python SDK. Use an artifact object's
[`logged_by()`](/models/ref/python/experiments/artifact#method-artifact-logged-by) and [`used_by()`](/models/ref/python/experiments/artifact#method-artifact-used-by) methods to walk the graph:
[`logged_by()`](/models/ref/python/experiments/artifact#method-artifact-logged_by) and [`used_by()`](/models/ref/python/experiments/artifact#method-artifact-used_by) methods to walk the graph:

```python
with wandb.init() as run:
Expand All @@ -90,7 +90,7 @@ To enable lineage graph tracking, you need to mark artifacts as [inputs](/models

### Track the input of a run

Mark an artifact as the input (or dependency) of a run with the [`wandb.Run.use_artifact()`](/models/ref/python/experiments/run#method-runuse_artifact)
Mark an artifact as the input (or dependency) of a run with the [`wandb.Run.use_artifact()`](/models/ref/python/experiments/run#method-run-use_artifact)
method. Specify the name of the artifact and an optional alias to reference a specific version of that artifact. The name of the
artifact is in the format `<artifact_name>:<version>` or `<artifact_name>:<alias>`.

Expand All @@ -108,8 +108,8 @@ with wandb.init(entity="<entity>", project="<project>") as run:

### Track the output of a run

Use [`wandb.Run.log_artifact()`](/models/ref/python/experiments/run#log_artifact) to declare an artifact as an output of a run. First,
create an artifact with the [`wandb.Artifact()`](/models/ref/python/experiments/artifact#wandb.Artifact) constructor. Then, log the
Use [`wandb.Run.log_artifact()`](/models/ref/python/experiments/run#method-run-log_artifact) to declare an artifact as an output of a run. First,
create an artifact with the [`wandb.Artifact()`](/models/ref/python/experiments/artifact#class-wandb-artifact) constructor. Then, log the
artifact as an output of the run with `wandb.Run.log_artifact()`.

Replace values enclosed in angle brackets (`< >`) with your values:
Expand Down
6 changes: 3 additions & 3 deletions models/artifacts/ttl.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ The steps are as follows:
1. [Create an artifact](/models/artifacts/construct-an-artifact/).
2. [Add content to the artifact](/models/artifacts/construct-an-artifact/#add-files-to-an-artifact) such as files, a directory, or a reference.
3. Define a TTL time limit with the [`datetime.timedelta`](https://docs.python.org/3/library/datetime.html) data type that is part of Python's standard library.
4. [Log the artifact](/models/artifacts/construct-an-artifact/#3-save-your-artifact-to-the-wb-server).
4. [Log the artifact](/models/artifacts/construct-an-artifact#save-your-artifact-to-the-wb-server).

The following code snippet demonstrates how to create an artifact and set a TTL policy.

Expand Down Expand Up @@ -100,7 +100,7 @@ When you modify an artifact's TTL, the time the artifact takes to expire is stil
<Tab title="Python SDK">
1. [Fetch your artifact](/models/artifacts/download-and-use-an-artifact/).
2. Pass in a time delta to the artifact's `ttl` attribute.
3. Update the artifact with the [`save`](/models/ref/python/experiments/run#save) method.
3. Update the artifact with the [`save`](/models/ref/python/experiments/run#method-run-save) method.


The following code snippet shows how to set a TTL policy for an artifact:
Expand Down Expand Up @@ -178,7 +178,7 @@ Artifacts with TTL turned off will not inherit an artifact collection's TTL. Ref
<Tab title="Python SDK">
1. [Fetch your artifact](/models/artifacts/download-and-use-an-artifact/).
2. Set the artifact's `ttl` attribute to `None`.
3. Update the artifact with the [`save`](/models/ref/python/experiments/run#save) method.
3. Update the artifact with the [`save`](/models/ref/python/experiments/run#method-run-save) method.


The following code snippet shows how to turn off a TTL policy for an artifact:
Expand Down
Loading
Loading