<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Getting Permission  Denied on model in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/getting-permission-denied-on-model/m-p/57026#M2841</link>
    <description>&lt;P&gt;Thanks Walter and Debayan&amp;nbsp; to given the reply . We given the permission as per model and below are screen shots for reference.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BalaRamesh_0-1705040172306.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/5795iB844A373CEC8457B/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="BalaRamesh_0-1705040172306.png" alt="BalaRamesh_0-1705040172306.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BalaRamesh_1-1705040231336.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/5796iC6302752FB9BDCDB/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="BalaRamesh_1-1705040231336.png" alt="BalaRamesh_1-1705040231336.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BalaRamesh_3-1705040285219.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/5798i2E576386B54BF507/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="BalaRamesh_3-1705040285219.png" alt="BalaRamesh_3-1705040285219.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We started &amp;nbsp;to understand about&amp;nbsp;&amp;nbsp;&amp;nbsp; LLM Chatbot With Retrieval Augmented Generation (RAG) and Llama 2 70B(&lt;A href="https://notebooks.databricks.com/demos/llm-rag-chatbot/index.html#" target="_blank"&gt;https://notebooks.databricks.com/demos/llm-rag-chatbot/index.html#&lt;/A&gt;). We did the below steps before execute the code .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;We created the trail account in azure portal and created azure databricks with premium tier.&lt;/LI&gt;&lt;LI&gt;Created the storage account with same resource group&lt;/LI&gt;&lt;LI&gt;Created the azure access connect Access Connector for Azure Databricks&lt;/LI&gt;&lt;LI&gt;Given the permission to the Azure Access Connector to access Storage&lt;/LI&gt;&lt;LI&gt;In the Storage Account, using IAM given permission to Azure Access Connector Databricks&lt;/LI&gt;&lt;LI&gt;We launched the Databricks and created a temporary cluster with 14GB memory and 4 Cores.&lt;/LI&gt;&lt;LI&gt;Followed the tutorial (LLM Chatbot With Retrieval Augmented Generation (RAG) and Llama 2 70B)&lt;/LI&gt;&lt;LI&gt;Executed the below commands .&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; %pip install dbdemos&lt;/P&gt;&lt;P&gt;import dbdemos&lt;/P&gt;&lt;P&gt;dbdemos.install('llm-rag-chatbot')&lt;/P&gt;&lt;P&gt;9.Once executed the above commands, all related notebokes and cluster created but while start the cluster which is provided the demo , faced the error with insufficient executors then used the cluster which created temporary one at step 6. Then we are able to executed some of the commands until &lt;STRONG&gt;Splitting our html pages in smaller chunks &amp;nbsp;in 01-Data-Preparation-and-Index note book&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;10.&amp;nbsp; While running the next command &lt;STRONG&gt;Using Databricks Foundation model BGE as an embedding endpoint , &lt;/STRONG&gt;here we created the model from databricks market place and tried to serve endpoint but we are getting access issue (permission issue).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jan 2024 06:20:07 GMT</pubDate>
    <dc:creator>BalaRamesh</dc:creator>
    <dc:date>2024-01-12T06:20:07Z</dc:date>
    <item>
      <title>Getting Permission  Denied on model</title>
      <link>https://community.databricks.com/t5/machine-learning/getting-permission-denied-on-model/m-p/56914#M2833</link>
      <description>&lt;P&gt;while creating service endpoint , getting permission denied error. Need help how to provide the permission.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BalaRamesh_0-1704953863222.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/5776i4B2116A9F3387565/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="BalaRamesh_0-1704953863222.png" alt="BalaRamesh_0-1704953863222.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 06:18:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/getting-permission-denied-on-model/m-p/56914#M2833</guid>
      <dc:creator>BalaRamesh</dc:creator>
      <dc:date>2024-01-11T06:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Permission  Denied on model</title>
      <link>https://community.databricks.com/t5/machine-learning/getting-permission-denied-on-model/m-p/56960#M2835</link>
      <description>&lt;P&gt;&lt;SPAN&gt;If the model is from Workspace Model Registry, the creator of the endpoint must have&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Can Read&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;permissions on the registered model of any model version that is specified in the endpoint configuration. If the model is from Unity Catalog, the creator of the endpoint must have the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="docutils literal notranslate"&gt;&lt;SPAN class="pre"&gt;EXECUTE&lt;/SPAN&gt;&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;privilege on the registered model of any model version that is specified in the endpoint configuration, plus&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="docutils literal notranslate"&gt;&lt;SPAN class="pre"&gt;USE&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="pre"&gt;CATALOG&lt;/SPAN&gt;&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="docutils literal notranslate"&gt;&lt;SPAN class="pre"&gt;USE&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="pre"&gt;SCHEMA&lt;/SPAN&gt;&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;privileges on the parent catalog and schema of any such registered model.&lt;BR /&gt;&lt;A href="https://docs.databricks.com/en/security/auth-authz/access-control/serving-endpoint-acl.html" target="_blank"&gt;https://docs.databricks.com/en/security/auth-authz/access-control/serving-endpoint-acl.html&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 16:37:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/getting-permission-denied-on-model/m-p/56960#M2835</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-01-11T16:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Permission  Denied on model</title>
      <link>https://community.databricks.com/t5/machine-learning/getting-permission-denied-on-model/m-p/56981#M2836</link>
      <description>&lt;P&gt;In addition to Walter's contribution, model permission is the issue on highlight here.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 18:11:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/getting-permission-denied-on-model/m-p/56981#M2836</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2024-01-11T18:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Permission  Denied on model</title>
      <link>https://community.databricks.com/t5/machine-learning/getting-permission-denied-on-model/m-p/57026#M2841</link>
      <description>&lt;P&gt;Thanks Walter and Debayan&amp;nbsp; to given the reply . We given the permission as per model and below are screen shots for reference.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BalaRamesh_0-1705040172306.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/5795iB844A373CEC8457B/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="BalaRamesh_0-1705040172306.png" alt="BalaRamesh_0-1705040172306.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BalaRamesh_1-1705040231336.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/5796iC6302752FB9BDCDB/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="BalaRamesh_1-1705040231336.png" alt="BalaRamesh_1-1705040231336.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BalaRamesh_3-1705040285219.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/5798i2E576386B54BF507/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="BalaRamesh_3-1705040285219.png" alt="BalaRamesh_3-1705040285219.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We started &amp;nbsp;to understand about&amp;nbsp;&amp;nbsp;&amp;nbsp; LLM Chatbot With Retrieval Augmented Generation (RAG) and Llama 2 70B(&lt;A href="https://notebooks.databricks.com/demos/llm-rag-chatbot/index.html#" target="_blank"&gt;https://notebooks.databricks.com/demos/llm-rag-chatbot/index.html#&lt;/A&gt;). We did the below steps before execute the code .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;We created the trail account in azure portal and created azure databricks with premium tier.&lt;/LI&gt;&lt;LI&gt;Created the storage account with same resource group&lt;/LI&gt;&lt;LI&gt;Created the azure access connect Access Connector for Azure Databricks&lt;/LI&gt;&lt;LI&gt;Given the permission to the Azure Access Connector to access Storage&lt;/LI&gt;&lt;LI&gt;In the Storage Account, using IAM given permission to Azure Access Connector Databricks&lt;/LI&gt;&lt;LI&gt;We launched the Databricks and created a temporary cluster with 14GB memory and 4 Cores.&lt;/LI&gt;&lt;LI&gt;Followed the tutorial (LLM Chatbot With Retrieval Augmented Generation (RAG) and Llama 2 70B)&lt;/LI&gt;&lt;LI&gt;Executed the below commands .&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; %pip install dbdemos&lt;/P&gt;&lt;P&gt;import dbdemos&lt;/P&gt;&lt;P&gt;dbdemos.install('llm-rag-chatbot')&lt;/P&gt;&lt;P&gt;9.Once executed the above commands, all related notebokes and cluster created but while start the cluster which is provided the demo , faced the error with insufficient executors then used the cluster which created temporary one at step 6. Then we are able to executed some of the commands until &lt;STRONG&gt;Splitting our html pages in smaller chunks &amp;nbsp;in 01-Data-Preparation-and-Index note book&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;10.&amp;nbsp; While running the next command &lt;STRONG&gt;Using Databricks Foundation model BGE as an embedding endpoint , &lt;/STRONG&gt;here we created the model from databricks market place and tried to serve endpoint but we are getting access issue (permission issue).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 06:20:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/getting-permission-denied-on-model/m-p/57026#M2841</guid>
      <dc:creator>BalaRamesh</dc:creator>
      <dc:date>2024-01-12T06:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Permission  Denied on model</title>
      <link>https://community.databricks.com/t5/machine-learning/getting-permission-denied-on-model/m-p/57674#M2875</link>
      <description>&lt;P&gt;I am facing the same issue for deploying BGE as embedding endpoint. It worked few days back but from today it is complaining with permission issue. I tried uninstalling and re-installing but that didn't solve the problem either.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 08:57:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/getting-permission-denied-on-model/m-p/57674#M2875</guid>
      <dc:creator>Adheer</dc:creator>
      <dc:date>2024-01-18T08:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Permission  Denied on model</title>
      <link>https://community.databricks.com/t5/machine-learning/getting-permission-denied-on-model/m-p/57815#M2880</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/98390"&gt;@Adheer&lt;/a&gt;&amp;nbsp;, Any screenshot of the issue?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 19:01:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/getting-permission-denied-on-model/m-p/57815#M2880</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2024-01-18T19:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Permission  Denied on model</title>
      <link>https://community.databricks.com/t5/machine-learning/getting-permission-denied-on-model/m-p/57816#M2881</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/97833"&gt;@BalaRamesh&lt;/a&gt;&amp;nbsp;, Could you please remove and add once again to see?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 19:06:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/getting-permission-denied-on-model/m-p/57816#M2881</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2024-01-18T19:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Permission  Denied on model</title>
      <link>https://community.databricks.com/t5/machine-learning/getting-permission-denied-on-model/m-p/58422#M2910</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/26078"&gt;@Debayan&lt;/a&gt;&amp;nbsp;I managed to solve the issue using databricks sdk library. From UI it was failing with the same error as mentioned by&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/97833"&gt;@BalaRamesh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 13:43:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/getting-permission-denied-on-model/m-p/58422#M2910</guid>
      <dc:creator>Adheer</dc:creator>
      <dc:date>2024-01-25T13:43:07Z</dc:date>
    </item>
  </channel>
</rss>

