Skip to content

Commit 82e1115

Browse files
Release v2.5.0 (#315)
* Add documentation for pipeline steps * Replace 0.0.0.0 by localhost for Windows * Bump version * Update release notes * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Lindsay Brin <[email protected]> Co-authored-by: Lindsay Brin <[email protected]>
1 parent 304a105 commit 82e1115

File tree

12 files changed

+27
-21
lines changed

12 files changed

+27
-21
lines changed

CHANGELOG.md

-12
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,13 @@ Released changes are shown in the
1111
## [Not released]
1212

1313
### Added
14-
- Azimuth now works on French datasets (and pipelines)! Language can be selected in the config,
15-
and language-specific defaults for syntax-tagging and behavioral tests (neutral tokens) will be
16-
set dynamically (or can be altered manually).
17-
- New class overlap section, with class overlap detection. More details are available in the User Guide and in the Key Concepts.
18-
- Pipeline pre/post-processing steps breakdown in the utterance detail page.
1914

2015
### Changed
21-
- The default port for the front end will now be 3000, the React default, instead of 3005.
22-
- Improved class overlap threshold number picker.
23-
- Control input value with a `string` instead of with a `number` so for example when hitting backspace after `0.01`, you get `0.0` instead of `0` (as maybe you wanted to type `2` and get `0.02`).
24-
- Debounce number picker to reduce calls to back end.
2516

2617
### Deprecated/Breaking Changes
2718

2819
### Removed
2920

3021
### Fixed
31-
- ONNX models on GPU.
32-
- Preserve white spaces in utterances. That includes `\n`s, `\t`s, and consecutive spaces.
33-
- Fix predictions with 100% confidence not showing up in the confidence histogram and in the ECE.
3422

3523
### Security

CITATION.cff

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ authors:
1818
- family-names: "Babu"
1919
given-names: "Nandhini"
2020
title: "Azimuth, an open-source dataset and error analysis tool for text classification"
21-
version: 2.4
21+
version: 2.5
2222
doi: 10.5281/zenodo.6511558
2323
date-released: 2022-08-17
2424
url: "https://github.com/ServiceNow/azimuth"

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ make download_demo
6868
make CFG_PATH=/config/development/clinc/conf.json launch
6969
```
7070

71-
Once the startup tasks are completed, you will be able to access Azimuth at `http://0.0.0.0:8080`.
71+
Once the startup tasks are completed, you will be able to access Azimuth at `http://localhost:8080`.
7272
To learn more about Azimuth's features, refer to
7373
our [Key Concepts](https://servicenow.github.io/azimuth/key-concepts) and
7474
our [User Guide](https://servicenow.github.io/azimuth/user-guide).

azimuth/routers/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ api_router.include_router(
1616
```
1717

1818
You can now test your application by running `poetry run python runner.py $CFG_PATH --debug`.
19-
The swagger will be up at `0.0.0.0:8091/docs` and you can test your route.
19+
The swagger will be up at `localhost:8091/docs` and you can test your route.
Loading
Loading

docs/docs/getting-started/b-basics.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ running a demo.
9292
make CFG_PATH=/config/development/clinc/conf.json launch
9393
```
9494
95-
3. The **app will be accessible** at [http://0.0.0.0:8080](http://0.0.0.0:8080) after a few minutes
95+
3. The **app will be accessible** at [http://localhost:8080](http://localhost:8080) after a few minutes
9696
of waiting. The screen will indicate that the start-up tasks have started. When it is completed,
9797
the application will be loaded.
9898
4. Skim the [:material-link: Key Concepts](../key-concepts/index.md) section to get a high-level

docs/docs/getting-started/c-run.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ dataset and model are available in `config/examples` (`CLINC` is also shown belo
105105
```
106106
make launch
107107
```
108-
4. The **app will be accessible** at `http://0.0.0.0:8080` after a few minutes of waiting. The
108+
4. The **app will be accessible** at `http://localhost:8080` after a few minutes of waiting. The
109109
start-up tasks will start.
110110
111111
## Advanced Settings

docs/docs/getting-started/changelog.md

+16
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Releases
22

3+
## [2.5.0] - 2022-12-05
4+
5+
### Added
6+
- **Support for french**: Azimuth now works on French datasets (and pipelines)! Language can be selected in the config, and language-specific defaults for syntax-tagging and behavioral tests (neutral tokens) will be set dynamically (or can be altered manually). [See Reference](../reference/configuration/language.md).
7+
- **Class Overlap**: New class overlap detection section. More details are available in the [User Guide](../user-guide/class-overlap.md) and in the [Key Concepts](../key-concepts/similarity.md).
8+
- **Pre/Post-processing Steps**: The details of the pipeline pre/post-processing steps are now visible in the utterance details page.
9+
- **Accuracy metric**: Accuracy was added as a default metric.
10+
11+
### Changed
12+
- The default port for the front end will now be 3000, the React default, instead of 3005.
13+
14+
### Fixed
15+
- ONNX models on GPU.
16+
- Preserve white spaces in utterances. That includes `\n`s, `\t`s, and consecutive spaces.
17+
- Fix predictions with 100% confidence not showing up in the confidence histogram and in the ECE.
18+
319
## [2.4.1] - 2022-10-21
420

521
### Fixed

docs/docs/user-guide/custom-utterances.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azimuth has limited support for "custom utterances", i.e. utterances not part of the initial dataset.
44

5-
Azimuth offers support through API routes accessible locally at [`http://0.0.0.0:8091/docs#/Custom%20Utterances%20v1`](http://0.0.0.0:8091/docs#/Custom%20Utterances%20v1).
5+
Azimuth offers support through API routes accessible locally at [`http://localhost:8091/docs#/Custom%20Utterances%20v1`](http://localhost:8091/docs#/Custom%20Utterances%20v1).
66

77
## Data augmentation
88

@@ -18,7 +18,7 @@ To augment a list of utterances, you can follow these intructions:
1818
utterances = ["welcome to Azimuth",
1919
"Don't forget to star our repo!"]
2020

21-
response = requests.get("http://0.0.0.0:8091/custom_utterances/perturbed_utterances",
21+
response = requests.get("http://localhost:8091/custom_utterances/perturbed_utterances",
2222
params={"utterances": utterances}).json()
2323
pprint([r["perturbedUtterance"] for r in response])
2424
```
@@ -47,7 +47,7 @@ If a pipeline allows it, you can get saliency of a custom utterance by doing the
4747
utterances = ["welcome to Azimuth",
4848
"Don't forget to star our repo!"]
4949

50-
response = requests.get("http://0.0.0.0:8091/custom_utterances/saliency",
50+
response = requests.get("http://localhost:8091/custom_utterances/saliency",
5151
params={"utterances": utterances, "pipeline_index": 0}).json()
5252
pprint(response)
5353
```

docs/docs/user-guide/exploration-space/utterance-details.md

+2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@ The top section shows the utterance details:
1111
* **Utterance**: The utterance and its per-token [saliency](../../key-concepts/saliency.md) (if
1212
available for the model's architecture). Hover over the tokens to the see the associated saliency
1313
value.
14+
* If pre-processing steps are returned by the pipeline, blue chevrons will be shown, allowing the utterance to be displayed after each pre-processing step, from the raw utterance to the processed version sent to the model.
1415
* **Label**: The utterance's labeled class (the target).
1516
* **Predictions**:
1617
* The **top 3** predictions for this utterance are shown.
1718
* The top prediction is highlighted using the prediction outcome color.
1819
* If the top prediction was converted to the rejection class based on the threshold, it will
1920
be added as a 4th element at the top.
21+
* By clicking on the blue chevrons, the prediction results after each post-processing step can be viewed, including the model's output before any post-processing.
2022
* **Smart tags** (where applicable): An automatically computed tag highlighting a certain
2123
characteristic of the utterance (e.g., long sentences, utterance is missing a verb, utterance
2224
contains multiple sentences). For more information,

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "azimuth"
3-
version = "2.4.1"
3+
version = "2.5.0"
44
description = "Azimuth provides a unified error analysis experience to data scientists."
55
readme = "README.md"
66
authors = ["Azimuth team <[email protected]>"]

0 commit comments

Comments
 (0)