You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-studio/concepts/fine-tuning-overview.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,6 +100,7 @@ There isn't a single right answer to this question, but you should have clearly
100
100
Now that you know when to leverage fine-tuning for your use-case, you can go to Azure AI Studio to find several models available to fine-tune including:
101
101
- Azure OpenAI models
102
102
- Llama 2 family models
103
+
- Llama 3.1 family of models
103
104
104
105
105
106
### Azure OpenAI models
@@ -126,6 +127,13 @@ The following Llama 2 family models are supported in Azure AI Studio for fine-tu
126
127
127
128
Fine-tuning of Llama 2 models is currently supported in projects located in West US 3.
128
129
130
+
### Llama 3.1 family models
131
+
The following Llama 3.1 family models are supported in Azure AI Studio for fine-tuning:
132
+
-`Llama-3.1-70b`
133
+
-`Llama-3.1-7b`
134
+
135
+
Fine-tuning of Llama 3.1 models is currently supported in projects located in West US 3.
136
+
129
137
## Related content
130
138
131
139
-[Learn how to fine-tune an Azure OpenAI model in Azure AI Studio](../../ai-services/openai/how-to/fine-tuning.md?context=/azure/ai-studio/context/context)
Copy file name to clipboardExpand all lines: articles/ai-studio/how-to/fine-tune-model-llama.md
+73-8Lines changed: 73 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: Learn how to fine-tune Meta Llama models in Azure AI Studio.
5
5
manager: scottpolly
6
6
ms.service: azure-ai-studio
7
7
ms.topic: how-to
8
-
ms.date: 5/21/2024
8
+
ms.date: 7/18/2024
9
9
ms.reviewer: rasavage
10
10
reviewer: shubhirajMsft
11
11
ms.author: ssalgado
@@ -23,12 +23,17 @@ Fine-tuning provides significant value by enabling customization and optimizatio
23
23
24
24
In this article, you learn how to fine-tune Meta Llama models in [Azure AI Studio](https://ai.azure.com).
25
25
26
-
The [Meta Llama family of large language models (LLMs)](./deploy-models-llama.md) is a collection of pretrained and fine-tuned generative text models ranging in scale from 7 billion to 70 billion parameters. The model family also includes fine-tuned versions optimized for dialogue use cases with Reinforcement Learning from Human Feedback (RLHF), called Llama-2-chat.
26
+
The [Meta Llama family of large language models (LLMs)](./deploy-models-llama.md) is a collection of pretrained and fine-tuned generative text models ranging in scale from 7 billion to 70 billion parameters. The model family also includes fine-tuned versions optimized for dialogue use cases with Reinforcement Learning from Human Feedback (RLHF), called Llama-Instruct.
27
27
28
28
## Models
29
-
# [Meta Llama 3](#tab/llama-three)
29
+
# [Meta Llama 3.1](#tab/llama-three)
30
30
31
-
Fine-tuning of Llama 3 models is currently not supported.
31
+
The following models are available in Azure Marketplace for Llama 3.1 when fine-tuning as a service with pay-as-you-go billing:
32
+
33
+
-`Llama-3.1-80B-Instruct` (preview)
34
+
-`LLama-3.1-8b-Instruct` (preview)
35
+
![IMPORTANT]
36
+
> At this time we can not do fine-tuning for Llama 3.1 with context length of 128K. The current context length is limited to 65k.
32
37
33
38
# [Meta Llama 2](#tab/llama-two)
34
39
@@ -44,9 +49,35 @@ Fine-tuning of Llama 2 models is currently supported in projects located in West
44
49
45
50
## Prerequisites
46
51
47
-
# [Meta Llama 3](#tab/llama-three)
52
+
# [Meta Llama 3.1](#tab/llama-three)
53
+
54
+
55
+
An Azure subscription with a valid payment method. Free or trial Azure subscriptions won't work. If you don't have an Azure subscription, create a [paid Azure account](https://azure.microsoft.com/pricing/purchase-options/pay-as-you-go) to begin.
56
+
- An [Azure AI hub resource](../how-to/create-azure-ai-resource.md).
57
+
58
+
> [!IMPORTANT]
59
+
> For Meta Llama 3.1 models, the pay-as-you-go model fine-tune offering is only available with AI hubs created in **West US 3** regions.
60
+
61
+
- An [Azure AI project](../how-to/create-projects.md) in Azure AI Studio.
62
+
- Azure role-based access controls (Azure RBAC) are used to grant access to operations in Azure AI Studio. To perform the steps in this article, your user account must be assigned the __owner__ or __contributor__ role for the Azure subscription. Alternatively, your account can be assigned a custom role that has the following permissions:
63
+
64
+
- On the Azure subscription—to subscribe the Azure AI project to the Azure Marketplace offering, once for each project, per offering:
For more information on permissions, see [Role-based access control in Azure AI Studio](../concepts/rbac-ai-studio.md).
48
80
49
-
Fine-tuning of Llama 3 models is currently not supported.
50
81
51
82
# [Meta Llama 2](#tab/llama-two)
52
83
@@ -139,9 +170,43 @@ The supported file type is JSON Lines. Files are uploaded to the default datasto
139
170
140
171
## Fine-tune a Meta Llama model
141
172
142
-
# [Meta Llama 3](#tab/llama-three)
173
+
# [Meta Llama 3.1](#tab/llama-three)
174
+
175
+
To fine-tune a LLama 3.1 model:
176
+
177
+
1. Sign in to [Azure AI Studio](https://ai.azure.com).
178
+
1. Choose the model you want to fine-tune from the Azure AI Studio [model catalog](https://ai.azure.com/explore/models).
179
+
180
+
1. On the model's **Details** page, select **fine-tune**.
181
+
182
+
1. Select the project in which you want to fine-tune your models. To use the pay-as-you-go model fine-tune offering, your workspace must belong to the **West US 3** region.
183
+
1. On the fine-tune wizard, select the link to **Azure Marketplace Terms** to learn more about the terms of use. You can also select the **Marketplace offer details** tab to learn about pricing for the selected model.
184
+
1. If this is your first time fine-tuning the model in the project, you have to subscribe your project for the particular offering (for example, Meta-Llama-3-70B) from Azure Marketplace. This step requires that your account has the Azure subscription permissions and resource group permissions listed in the prerequisites. Each project has its own subscription to the particular Azure Marketplace offering, which allows you to control and monitor spending. Select **Subscribe and fine-tune**.
185
+
186
+
> [!NOTE]
187
+
> Subscribing a project to a particular Azure Marketplace offering (in this case, Meta-Llama-3-70B) requires that your account has **Contributor** or **Owner** access at the subscription level where the project is created. Alternatively, your user account can be assigned a custom role that has the Azure subscription permissions and resource group permissions listed in the [prerequisites](#prerequisites).
188
+
189
+
1. Once you sign up the project for the particular Azure Marketplace offering, subsequent fine-tuning of the _same_ offering in the _same_ project don't require subscribing again. Therefore, you don't need to have the subscription-level permissions for subsequent fine-tune jobs. If this scenario applies to you, select **Continue to fine-tune**.
190
+
191
+
1. Enter a name for your fine-tuned model and the optional tags and description.
192
+
1. Select training data to fine-tune your model. See [data preparation](#data-preparation) for more information.
193
+
194
+
> [!NOTE]
195
+
> If the you has their training/validation files in a credential less datastore, they will need to allow workspace managed identity access to their datastore in order to proceed with MaaS finetuning with a credential less storage. That would be this setting on the "Datastore" page, after clicking "Update authentication" > Select the following option:
196
+
197
+

198
+
199
+
Make sure all your training examples follow the expected format for inference. To fine-tune models effectively, ensure a balanced and diverse dataset. This involves maintaining data balance, including various scenarios, and periodically refining training data to align with real-world expectations, ultimately leading to more accurate and balanced model responses.
200
+
- The batch size to use for training. When set to -1, batch_size is calculated as 0.2% of examples in training set and the max is 256.
201
+
- The fine-tuning learning rate is the original learning rate used for pretraining multiplied by this multiplier. We recommend experimenting with values between 0.5 and 2. Empirically, we've found that larger learning rates often perform better with larger batch sizes. Must be between 0.0 and 5.0.
202
+
- Number of training epochs. An epoch refers to one full cycle through the data set.
203
+
204
+
1. Task parameters are an optional step and an advanced option- Tuning hyperparameter is essential for optimizing large language models (LLMs) in real-world applications. It allows for improved performance and efficient resource usage. The default settings can be used or advanced users can customize parameters like epochs or learning rate.
205
+
206
+
1. Review your selections and proceed to train your model.
207
+
208
+
Once your model is fine-tuned, you can deploy the model and can use it in your own application, in the playground, or in prompt flow. For more information, see [How to deploy Llama 3.1 family of large language models with Azure AI Studio](./deploy-models-llama.md).
143
209
144
-
Fine-tuning of Llama 3 models is currently not supported.
Copy file name to clipboardExpand all lines: articles/azure-monitor/alerts/itsmc-connections-servicenow.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ For information about installing ITSMC, see [Add the IT Service Management Conne
26
26
27
27
### OAuth setup
28
28
29
-
ServiceNow supported versions include Vancouver, Utah, Tokyo, San Diego, Rome, Quebec, Paris, Orlando, New York, Madrid, London, Kingston, Jakarta, Istanbul, Helsinki, and Geneva.
29
+
ServiceNow supported versions include Washington, Vancouver, Utah, Tokyo, San Diego, Rome, Quebec, Paris, Orlando, New York, Madrid, London, Kingston, Jakarta, Istanbul, Helsinki, and Geneva.
30
30
31
31
ServiceNow admins must generate a client ID and client secret for their ServiceNow instance. See the following information as required:
This article describes how to enable the older TLS protocols (TLS 1.0 and 1.1) as well as applying legacy cipher suites to support the additional protocols on the Windows Server 2019 cloud service web and worker roles.
18
+
This article describes how to enable the older TLS protocols (TLS 1.0 and 1.1). It also covers the application of legacy cipher suites to support the additional protocols on the Windows Server 2019 cloud service web and worker roles.
19
19
20
-
We understand that while we are taking steps to deprecate TLS 1.0 and TLS 1.1, our customers may need to support the older protocols and cipher suites until they can plan for their deprecation. While we don't recommend re-enabling these legacy values, we are providing guidance to help customers. We encourage customers to evaluate the risk of regression before implementing the changes outlined in this article.
20
+
We understand that while we're taking steps to deprecate TLS 1.0 and TLS 1.1, our customers may need to support the older protocols and cipher suites in the meantime. While we don't recommend re-enabling these legacy values, we're providing guidance to help customers. We encourage customers to evaluate the risk of regression before implementing the changes outlined in this article.
21
21
22
22
> [!NOTE]
23
23
> Guest OS Family 6 release enforces TLS 1.2 by explicitly disabling TLS 1.0 and 1.1 and defining a specific set of cipher suites.For more information on Guest OS families see [Guest OS release news](./cloud-services-guestos-update-matrix.md#family-6-releases)
24
24
25
25
## Dropping support for TLS 1.0, TLS 1.1 and older cipher suites
26
26
27
-
In support of our commitment to use best-in-class encryption, Microsoft announced plans to start migration away from TLS 1.0 and 1.1 in June of 2017. Since that initial announcement, Microsoft announced our intent to disable Transport Layer Security (TLS) 1.0 and 1.1 by default in supported versions of Microsoft Edge and Internet Explorer 11 in the first half of 2020. Similar announcements from Apple, Google, and Mozilla indicate the direction in which the industry is headed.
27
+
In support of our commitment to use best-in-class encryption, Microsoft announced plans to start migration away from TLS 1.0 and 1.1 in June of 2017. Microsoft announced our intent to disable Transport Layer Security (TLS) 1.0 and 1.1 by default in supported versions of Microsoft Edge and Internet Explorer 11 in the first half of 2020. Similar announcements from Apple, Google, and Mozilla indicate the direction in which the industry is headed.
28
28
29
29
For more information, see [Preparing for TLS 1.2 in Microsoft Azure](https://azure.microsoft.com/updates/azuretls12/)
30
30
31
31
## TLS configuration
32
32
33
-
The Windows Server 2019 cloud server image is configured with TLS 1.0 and TLS 1.1 disabled at the registry level. This means applications deployed to this version of Windows AND using the Windows stack for TLS negotiation will not allow TLS 1.0 and TLS 1.1 communication.
33
+
The Windows Server 2019 cloud server image is configured with TLS 1.0 and TLS 1.1 disabled at the registry level. This means applications deployed to this version of Windows AND using the Windows stack for TLS negotiation won't allow TLS 1.0 and TLS 1.1 communication.
34
34
35
35
The server also comes with a limited set of cipher suites:
36
36
@@ -47,7 +47,7 @@ The server also comes with a limited set of cipher suites:
47
47
48
48
## Step 1: Create the PowerShell script to enable TLS 1.0 and TLS 1.1
49
49
50
-
Use the following code as an example to create a script that enables the older protocols and cipher suites. For the purposes of this documentation, this script will be named: **TLSsettings.ps1**. Store this script on your local desktop for easy access in later steps.
50
+
Use the following code as an example to create a script that enables the older protocols and cipher suites. For the purposes of this documentation, this script is named: **TLSsettings.ps1**. Store this script on your local desktop for easy access in later steps.
51
51
52
52
```powershell
53
53
# You can use the -SetCipherOrder (or -sco) option to also set the TLS cipher
@@ -268,7 +268,7 @@ If ($reboot) {
268
268
269
269
## Step 2: Create a command file
270
270
271
-
Create a CMD file named **RunTLSSettings.cmd** using the below. Store this script on your local desktop for easy access in later steps.
271
+
Create a CMD file named **RunTLSSettings.cmd** using the following script. Store this script on your local desktop for easy access in later steps.
272
272
273
273
```cmd
274
274
SET LOG_FILE="%TEMP%\StartupLog.txt"
@@ -303,7 +303,7 @@ Add the following snippet to your existing service definition file.
303
303
</Startup>
304
304
```
305
305
306
-
Here is an example that shows both the worker role and web role.
306
+
Here's an example that shows both the worker role and web role.
307
307
308
308
```
309
309
<?xmlversion="1.0" encoding="utf-8"?>
@@ -352,6 +352,6 @@ To ensure the scripts are uploaded with every update pushed from Visual Studio,
352
352
353
353
## Step 6: Publish & Validate
354
354
355
-
Now that the above steps have been complete, publish the update to your existing Cloud Service.
355
+
Now that you completed the previous steps, publish the update to your existing Cloud Service.
356
356
357
357
You can use [SSLLabs](https://www.ssllabs.com/) to validate the TLS status of your endpoints
Copy file name to clipboardExpand all lines: articles/cloud-services/automation-manage-cloud-services.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Manage Azure Cloud Services (classic) using Azure Automation | Microsoft
3
3
description: Learn about how the Azure Automation service can be used to manage Azure cloud services at scale.
4
4
ms.topic: article
5
5
ms.service: cloud-services
6
-
ms.date: 02/21/2023
6
+
ms.date: 07/23/2024
7
7
author: hirenshah1
8
8
ms.author: hirshah
9
9
ms.reviewer: mimckitt
@@ -16,17 +16,17 @@ ms.custom: compute-evergreen
16
16
This guide introduces you to the Azure Automation service, and how it can be used to simplify management of your Azure cloud services.
17
17
18
18
## What is Azure Automation?
19
-
[Azure Automation](https://azure.microsoft.com/services/automation/) is an Azure service for simplifying cloud management through process automation. Using Azure Automation, long-running, manual, error-prone, and frequently repeated tasks can be automated to increase reliability, efficiency, and time to value for your organization.
19
+
[Azure Automation](https://azure.microsoft.com/services/automation/) is an Azure service for simplifying cloud management through process automation. When you use Azure Automation, you can automate long-running, manual, error-prone, and frequently repeated tasks to increase reliability, efficiency, and time to value for your organization.
20
20
21
-
Azure Automation provides a highly reliable and highly available workflow execution engine that scales to meet your needs as your organization grows. In Azure Automation, processes can be kicked off manually, by third-party systems, or at scheduled intervals so that tasks happen exactly when needed.
21
+
Azure Automation provides a highly reliable and highly available workflow execution engine that scales to meet your needs as your organization grows. In Azure Automation, processes can be kicked off manually, by non-Microsoft systems, or at scheduled intervals so that tasks happen exactly when needed.
22
22
23
-
Lower operational overhead and free up IT / DevOps staff to focus on work that adds business value by moving your cloud management tasks to be run automatically by Azure Automation.
23
+
Lower operational overhead and free up IT / DevOps staff to focus on work that adds business value by running your cloud management tasks automatically with Azure Automation.
24
24
25
25
## How can Azure Automation help manage Azure cloud services?
26
-
Azure cloud services can be managed in Azure Automation by using the PowerShell cmdlets that are available in the [Azure PowerShell tools](/powershell/). Azure Automation has these cloud service PowerShell cmdlets available out of the box, so that you can perform all of your cloud service management tasks within the service. You can also pair these cmdlets in Azure Automation with the cmdlets for other Azure services, to automate complex tasks across Azure services and third party systems.
26
+
Azure cloud services can be managed in Azure Automation by using the PowerShell cmdlets that are available in the [Azure PowerShell tools](/powershell/). Azure Automation has these cloud service PowerShell cmdlets available out of the box, so that you can perform all of your cloud service management tasks within the service. You can also pair these cmdlets in Azure Automation with the cmdlets for other Azure services, to automate complex tasks across Azure services and non-Microsoft systems.
27
27
28
28
## Next Steps
29
-
Now that you've learned the basics of Azure Automation and how it can be used to manage Azure cloud services, follow these links to learn more about Azure Automation.
29
+
Now that you covered the basics of Azure Automation and how it can be used to manage Azure cloud services, follow these links to learn more about Azure Automation.
0 commit comments