Update Neptune docs (#22452)
This commit is contained in:
@@ -262,13 +262,13 @@ First, install the Neptune client library. You can do it with either `pip` or `c
|
||||
`pip`:
|
||||
|
||||
```bash
|
||||
pip install neptune-client
|
||||
pip install neptune
|
||||
```
|
||||
|
||||
`conda`:
|
||||
|
||||
```bash
|
||||
conda install -c conda-forge neptune-client
|
||||
conda install -c conda-forge neptune
|
||||
```
|
||||
|
||||
Next, in your model training script, import `NeptuneCallback`:
|
||||
@@ -294,6 +294,8 @@ trainer = Trainer(
|
||||
)
|
||||
```
|
||||
|
||||
**Note:** This method requires saving your Neptune credentials as environment variables (see the bottom of the section).
|
||||
|
||||
Alternatively, for more logging options, create a Neptune callback:
|
||||
|
||||
```python
|
||||
@@ -336,7 +338,7 @@ Now, when you start the training with `trainer.train()`, your metadata will be l
|
||||
| `NEPTUNE_API_TOKEN` | Your Neptune API token. To find and copy it, click your Neptune avatar and select **Get your API token**. |
|
||||
| `NEPTUNE_PROJECT` | The full name of your Neptune project (`workspace-name/project-name`). To find and copy it, head to **project settings** → **Properties**. |
|
||||
|
||||
For detailed instructions and examples, see the [Neptune docs](https://docs.neptune.ai/integrations-and-supported-tools/model-training/hugging-face).
|
||||
For detailed instructions and examples, see the [Neptune docs](https://docs.neptune.ai/integrations/transformers/).
|
||||
|
||||
### ClearML
|
||||
|
||||
|
||||
Reference in New Issue
Block a user