Skip to content

Commit d4187bd

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into rolyon-rbac-roles-azure-container-storage
2 parents a3392b9 + 91273ac commit d4187bd

19 files changed

+180
-35
lines changed
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
---
2+
title: Explore model benchmarks in Azure AI Studio
3+
titleSuffix: Azure AI Studio
4+
description: This article introduces benchmarking capabilities and the model benchmarks experience in Azure AI Studio.
5+
manager: scottpolly
6+
ms.service: azure-ai-studio
7+
ms.custom:
8+
ms.topic: how-to
9+
ms.date: 5/6/2024
10+
ms.reviewer: jcioffi
11+
ms.author: jcioffi
12+
author: jesscioffi
13+
---
14+
15+
# Model benchmarks
16+
17+
[!INCLUDE [Azure AI Studio preview](../includes/preview-ai-studio.md)]
18+
19+
In Azure AI Studio, you can compare benchmarks across models and datasets available in the industry to assess which one meets your business scenario. You can find Model benchmarks under **Get started** in the left side menu in Azure AI Studio.
20+
21+
:::image type="content" source="../media/explore/model-benchmarks-dashboard-view.png" alt-text="Screenshot of dashboard view graph of model accuracy." lightbox="../media/explore/model-benchmarks-dashboard-view.png":::
22+
23+
Model benchmarks help you make informed decisions about the sustainability of models and datasets prior to initiating any job. The benchmarks are a curated list of the best performing models for a given task, based on a comprehensive comparison of benchmarking metrics. Currently, Azure AI Studio provides benchmarks based on quality, via the metrics listed below.
24+
25+
| Metric | Description |
26+
|--------------|-------|
27+
| Accuracy |Accuracy scores are available at the dataset and the model levels. At the dataset level, the score is the average value of an accuracy metric computed over all examples in the dataset. The accuracy metric used is exact-match in all cases except for the *HumanEval* dataset that uses a `pass@1` metric. Exact match simply compares model generated text with the correct answer according to the dataset, reporting one if the generated text matches the answer exactly and zero otherwise. `Pass@1` measures the proportion of model solutions that pass a set of unit tests in a code generation task. At the model level, the accuracy score is the average of the dataset-level accuracies for each model.|
28+
| Coherence |Coherence evaluates how well the language model can produce output that flows smoothly, reads naturally, and resembles human-like language.|
29+
| Fluency |Fluency evaluates the language proficiency of a generative AI's predicted answer. It assesses how well the generated text adheres to grammatical rules, syntactic structures, and appropriate usage of vocabulary, resulting in linguistically correct and natural-sounding responses.|
30+
| GPTSimilarity|GPTSimilarity is a measure that quantifies the similarity between a ground truth sentence (or document) and the prediction sentence generated by an AI model. It is calculated by first computing sentence-level embeddings using the embeddings API for both the ground truth and the model's prediction. These embeddings represent high-dimensional vector representations of the sentences, capturing their semantic meaning and context.|
31+
32+
The benchmarks are updated regularly as new metrics and datasets are added to existing models, and as new models are added to the model catalog.
33+
34+
### How the scores are calculated
35+
36+
The benchmark results originate from public datasets that are commonly used for language model evaluation. In most cases, the data is hosted in GitHub repositories maintained by the creators or curators of the data. Azure AI evaluation pipelines download data from their original sources, extract prompts from each example row, generate model responses, and then compute relevant accuracy metrics.
37+
38+
Prompt construction follows best practice for each dataset, set forth by the paper introducing the dataset and industry standard. In most cases, each prompt contains several examples of complete questions and answers, or "shots," to prime the model for the task. The evaluation pipelines create shots by sampling questions and answers from a portion of the data that is held out from evaluation.
39+
40+
### View options in the model benchmarks
41+
42+
These benchmarks encompass both a dashboard view and a list view of the data for ease of comparison, and helpful information that explains what the calculated metrics mean.
43+
44+
Dashboard view allows you to compare the scores of multiple models across datasets and tasks. You can view models side by side (horizontally along the x-axis) and compare their scores (vertically along the y-axis) for each metric.
45+
46+
You can filter the dashboard view by task, model collection, model name, dataset, and metric.
47+
48+
You can switch from dashboard view to list view by following these quick steps:
49+
1. Select the models you want to compare.
50+
2. Select **List** on the right side of the page.
51+
52+
:::image type="content" source="../media/explore/model-benchmarks-dashboard-filtered.png" alt-text="Screenshot of dashboard view graph with question answering filter applied and 'List' button identified." lightbox="../media/explore/model-benchmarks-dashboard-filtered.png":::
53+
54+
In list view you can find the following information:
55+
- Model name, description, version, and aggregate scores.
56+
- Benchmark datasets (such as AGIEval) and tasks (such as question answering) that were used to evaluate the model.
57+
- Model scores per dataset.
58+
59+
You can also filter the list view by task, model collection, model name, dataset, and metric.
60+
61+
:::image type="content" source="../media/explore/model-benchmarks-list-view.png" alt-text="Screenshot of list view table displaying accuracy metrics in an ordered list." lightbox="../media/explore/model-benchmarks-list-view.png":::
62+
63+
## Next steps
64+
65+
- [Explore Azure AI foundation models in Azure AI Studio](models-foundation-azure-ai.md)
66+
- [View and compare benchmarks in AI Studio](https://ai.azure.com/explore/benchmarks)
221 KB
Loading
215 KB
Loading
259 KB
Loading

articles/ai-studio/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ items:
4141
items:
4242
- name: Model catalog
4343
href: how-to/model-catalog.md
44+
- name: Model benchmarks
45+
href: how-to/model-benchmarks.md
4446
- name: Cohere models
4547
items:
4648
- name: Deploy Cohere Command models

articles/cosmos-db/online-backup-and-restore.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ There are two backup modes:
2929
3030
For Azure Synapse Link enabled accounts, analytical store data isn't included in the backups and restores. When Azure Synapse Link is enabled, Azure Cosmos DB will continue to automatically take backups of your data in the transactional store at a scheduled backup interval. Within an analytical store, automatic backup and restore of your data isn't supported at this time.
3131

32+
## Immutability of Cosmos DB backups
33+
Cosmos DB backups are completely managed by the platform. Actions like restore, update backup retention or redundancy change are controlled via permission model managed by database account administrator. Cosmos DB backups are not exposed to any human actors, customers or any other module for listing, deletion, or disabling of backups. The backups are encrypted and stored in storage accounts secured by rotating certificate-based access. These backups are only accessed by restore module to restore specific backup nondestructively when a customer initiates a restore. These actions are logged and audited regularly. Backups kept under retention policy are:
34+
* Not alterable (no modifications are permitted to the backups).
35+
* Not allowed to be re-encrypted.
36+
* Not allowed to be deleted.
37+
* Not allowed to be disabled
38+
Customers who chose [CMK (customer managed key)](how-to-setup-customer-managed-keys.md), their data and backup have protection through envelope encryption."
39+
3240
## Frequently asked questions
3341

3442
### Can I restore from an account A in subscription S1 to account B in a subscription S2?

articles/iot-edge/configure-device.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@ title: Configure Azure IoT Edge device settings
33
description: This article shows you how to configure Azure IoT Edge device settings and options using the config.toml file.
44
author: PatAltimore
55
ms.author: patricka
6-
ms.date: 02/06/2024
6+
ms.date: 05/06/2024
77
ms.topic: how-to
88
ms.service: iot-edge
99
services: iot-edge
1010
---
1111

1212
# Configure IoT Edge device settings
1313

14+
[!INCLUDE [iot-edge-version-all-supported](includes/iot-edge-version-all-supported.md)]
15+
1416
This article shows settings and options for configuring the IoT Edge */etc/aziot/config.toml* file of an IoT Edge device. IoT Edge uses the *config.toml* file to initialize settings for the device. Each of the sections of the *config.toml* file has several options. Not all options are mandatory, as they apply to specific scenarios.
1517

1618
A template containing all options can be found in the *config.toml.edge.template* file within the */etc/aziot* directory on an IoT Edge device. You can copy the contents of the whole template or sections of the template into your *config.toml* file. Uncomment the sections you need. Be aware not to copy over parameters you have already defined.
@@ -19,7 +21,7 @@ If you change a device's configuration, use `sudo iotedge config apply` to apply
1921

2022
## Global parameters
2123

22-
The **hostname**, **parent_hostname**, **trust_bundle_cert**, **allow_elevated_docker_permissions**, and **auto_reprovisioning_mode** parameters must be at the beginning of the configuration file before any other sections. Adding parameters before a collection of settings ensures they're applied correctly. For more information on valid syntax, see [toml.io ](https://toml.io/).
24+
The **hostname**, **parent_hostname**, **trust_bundle_cert**, **allow_elevated_docker_permissions**, and **auto_reprovisioning_mode** parameters must be at the beginning of the configuration file before any other sections. Adding parameters before a collection of settings ensures they're applied correctly. For more information on valid syntax, see [toml.io](https://toml.io/).
2325

2426
### Hostname
2527

articles/network-watcher/vnet-flow-logs-policy.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
---
2-
title: Manage virtual network flow logs using Azure Policy
2+
title: Audit and deploy virtual network flow logs using Azure Policy
33
titleSuffix: Azure Network Watcher
44
description: Learn how to use Azure Policy built-in policies to audit virtual networks and deploy Azure Network Watcher virtual network flow logs.
55
author: halkazwini
66
ms.author: halkazwini
77
ms.service: network-watcher
88
ms.topic: how-to
9-
ms.date: 05/03/2024
9+
ms.date: 05/07/2024
10+
11+
#CustomerIntent: As an Azure administrator, I want to use Azure Policy to audit and deploy virtual network flow logs.
1012
---
1113

12-
# Manage virtual network flow logs using Azure Policy
14+
# Audit and deploy virtual network flow logs using Azure Policy
1315

1416
Azure Policy helps you enforce organizational standards and assess compliance at scale. Common use cases for Azure Policy include implementing governance for resource consistency, regulatory compliance, security, cost, and management. To learn more about Azure policy, see [What is Azure Policy?](../governance/policy/overview.md) and [Quickstart: Create a policy assignment to identify noncompliant resources](../governance/policy/assign-policy-portal.md).
1517

@@ -125,15 +127,19 @@ To assign the *deployIfNotExists* policy, follow these steps:
125127

126128
:::image type="content" source="./media/vnet-flow-logs-policy/deploy-policy-compliance-details.png" alt-text="Screenshot that shows the noncompliant virtual networks based on the deploy policy." lightbox="./media/vnet-flow-logs-policy/deploy-policy-compliance-details.png":::
127129

128-
The policy takes some time to evaluate and deploy flow logs for all noncompliant virtual networks in the specified scope.
130+
> [!NOTE]
131+
> The policy takes some time to evaluate virtual networks in the specified scope and deploy flow logs for the noncompliant virtual networks.
129132
130-
1. Verify that there are no noncompliant virtual networks in the policy compliance page.
133+
1. Go to **Flow logs** under **Logs** in **Network Watcher** to see the flow logs that were deployed by the policy.
131134

132-
:::image type="content" source="./media/vnet-flow-logs-policy/deploy-policy-compliance-details-compliant.png" alt-text="Screenshot that shows there aren't any noncompliant virtual networks after the deployment policy deployed flow logs in the defined scope." lightbox="./media/vnet-flow-logs-policy/deploy-policy-compliance-details-compliant.png":::
135+
:::image type="content" source="./media/vnet-flow-logs-policy/flow-logs.png" alt-text="Screenshot that shows the flow logs list in Network Watcher." lightbox="./media/vnet-flow-logs-policy/flow-logs.png":::
133136

134-
You can view the deployed virtual network flow logs by going to **Flow logs** under **Logs** in **Network Watcher**.
137+
1. In the policy compliance page, verify that all virtual networks in the specified scope are compliant.
135138

136-
:::image type="content" source="./media/vnet-flow-logs-policy/flow-logs.png" alt-text="Screenshot that shows the flow logs list in Network Watcher." lightbox="./media/vnet-flow-logs-policy/flow-logs.png":::
139+
:::image type="content" source="./media/vnet-flow-logs-policy/deploy-policy-compliance-details-compliant.png" alt-text="Screenshot that shows there aren't any noncompliant virtual networks after the deployment policy deployed flow logs in the defined scope." lightbox="./media/vnet-flow-logs-policy/deploy-policy-compliance-details-compliant.png":::
140+
141+
> [!NOTE]
142+
> It can take up to 24 hours to update resource compliance status in Azure Policy compliance page. For more information, see [Understand evaluation outcomes](../governance/policy/overview.md?toc=/azure/network-watcher/toc.json#understand-evaluation-outcomes).
137143
138144
## Related content
139145

articles/postgresql/flexible-server/concepts-extensions.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn about the available PostgreSQL extensions in Azure Database f
44
author: varun-dhawan
55
ms.author: varundhawan
66
ms.reviewer: maghan
7-
ms.date: 04/27/2024
7+
ms.date: 05/7/2024
88
ms.service: postgresql
99
ms.subservice: flexible-server
1010
ms.topic: conceptual
@@ -101,6 +101,39 @@ The following extensions are available in Azure Database for PostgreSQL flexible
101101
102102
[!INCLUDE [extensions-table](./includes/extensions-table.md)]
103103

104+
## Upgrading PostgreSQL extensions
105+
In-place upgrades of database extensions are allowed through a simple command. This feature enables customers to automatically update their third-party extensions to the latest versions, maintaining current and secure systems without manual effort.
106+
107+
### Updating Extensions
108+
To update an installed extension to the latest available version supported by Azure, use the following SQL command:
109+
110+
```sql
111+
ALTER EXTENSION <extension-name> UPDATE;
112+
```
113+
114+
This command simplifies the management of database extensions by allowing users to manually upgrade to the latest version approved by Azure, enhancing both compatibility and security.
115+
116+
### Limitations
117+
While updating extensions is straightforward, there are certain limitations:
118+
- **Specific Version Selection**: The command does not support updating to intermediate versions of an extension. It will always update to the [latest available version](#extension-versions).
119+
- **Downgrading**: Azure does not currently support downgrading an extension to a previous version through a similar command. If a downgrade is necessary, it might require manual intervention or support assistance.
120+
121+
#### Viewing Installed Extensions
122+
To list the extensions currently installed on your database, use the following SQL command:
123+
124+
```sql
125+
SELECT * FROM pg_extension;
126+
```
127+
128+
#### Available Extension Versions
129+
To check which versions of an extension are available for your current database installation, execute:
130+
131+
```sql
132+
SELECT * FROM pg_available_extensions WHERE name = 'azure_ai';
133+
```
134+
135+
These commands provide necessary insights into the extension configurations of your database, helping maintain your systems efficiently and securely. By enabling easy updates to the latest extension versions, Azure Database for PostgreSQL continues to support the robust, secure, and efficient management of your database applications.
136+
104137
## dblink and postgres_fdw
105138

106139
[dblink](https://www.postgresql.org/docs/current/contrib-dblink-function.html) and [postgres_fdw](https://www.postgresql.org/docs/current/postgres-fdw.html) allow you to connect from one Azure Database for PostgreSQL flexible server instance to another, or to another database in the same server. Azure Database for PostgreSQL flexible server supports both incoming and outgoing connections to any PostgreSQL server. The sending server needs to allow outbound connections to the receiving server. Similarly, the receiving server needs to allow connections from the sending server.

0 commit comments

Comments
 (0)