cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

Training/Fine-Tunning Foundation model

tirato
New Contributor II

When I was tring ti run the dbdemos for llm-rag-fine-tuning I'm stuck on one of the first lines of code. When trying to execute the function: databricks.model.foundation_model.create(...) with the Mistral_7B_instruct_v2.0 it is failing with the following error:

>DatabricksModelTrainingRequestError: Context creation failed: User is not authorized to access this feature

>MAPIException: Error 500: Context creation failed: User is not authorized to access this feature

Any idea why it is popping out like that? Can it be due to being on a PublicPreview feature and needing to request access for it?

1 REPLY 1

tirato
New Contributor II

Currently using my account and the command dbutils.notebook.entry_point.getDbutils().notebook().getContext().apiUrl().get().apiToken().get() to get my current databricks token to access this function.  And my user just doesn't have admin permissions over the workspace. 
It doesn't seem to be a role/permission issue. I'm able to access other PublicPreview features (like LLM RAG with vector search), just this foundation model training in particular is causing trouble.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now