Skip to content

Commit

Permalink
fix for dataset ellipsis and updated model configuration context docs (
Browse files Browse the repository at this point in the history
  • Loading branch information
brandomr authored Aug 22, 2024
1 parent 1de9f92 commit 86cd230
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/contexts_model_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@ This context is used for editing model configurations in Terarium's new JSON sty
}
```

> **Note**: after setup, the model configuration is accessible via the variable name `model_config`.
You can also provide a `dataset_id` if you wish to parameterize a model configuration based on a dataset. For example:

```
{"id": "161bee2c-f5eb-4811-a407-0d789ebccbf5",
"dataset_id": "e3eecbf9-bc90-4591-9d90-0b9ab20472ad"}
```

> **Note**: after setup, the model configuration is accessible via the variable name `model_config`. If a dataset is provided it's loaded as a Pandas DataFrame `dataset`.
This context's LLM agent allows the user to ask various questions of the configuration values and to edit the values. It is aware of the schema constraints and oeprates within them.

Expand Down
4 changes: 4 additions & 0 deletions src/askem_beaker/contexts/dataset/procedures/python3/setup.py
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
import pandas as pd; import numpy as np; import scipy; import pickle

import IPython
formatter = IPython.get_ipython().display_formatter.formatters['text/plain']
formatter.max_seq_length = 0

0 comments on commit 86cd230

Please sign in to comment.