cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

pablobd
by Contributor II
  • 11362 Views
  • 4 replies
  • 2 kudos

Resolved! Error when accessing rdd of DataFrame

I need to run this kind of code: from pyspark.sql import SparkSession import pandas as pd # Create a Spark session spark = SparkSession.builder.appName("example").getOrCreate() # Sample data data = [("Alice", 1), ("Bob", 2), ("Charlie", 3), ("David...

  • 11362 Views
  • 4 replies
  • 2 kudos
Latest Reply
pablobd
Contributor II
  • 2 kudos

I found a good solution that works both locally and in the cloud. Copy pasting the code in case it helps someone.This is the higher level function in charge of partitioning the data and sending the data and the function fn to each node. def decrypt_d...

  • 2 kudos
3 More Replies
prafull
by New Contributor
  • 2107 Views
  • 0 replies
  • 0 kudos

How to use mlflow to log a composite estimator (multiple pipes) and then deploy it as rest endpoint

Hello,I am trying to deploy a composite estimator as single model, by logging the run with mlflow and registering the model.Can anyone help with how this can be done? This estimator contains different chains-text: data- tfidf- svm- svm.decision_funct...

Screenshot 2024-01-17 000758.png
Machine Learning
ML
mlflow
model
python
  • 2107 Views
  • 0 replies
  • 0 kudos
BalaRamesh
by New Contributor II
  • 9063 Views
  • 7 replies
  • 1 kudos

Getting Permission Denied on model

while creating service endpoint , getting permission denied error. Need help how to provide the permission.  

BalaRamesh_0-1704953863222.png
  • 9063 Views
  • 7 replies
  • 1 kudos
Latest Reply
Adheer
New Contributor II
  • 1 kudos

@Debayan I managed to solve the issue using databricks sdk library. From UI it was failing with the same error as mentioned by @BalaRamesh 

  • 1 kudos
6 More Replies
Kaizen
by Valued Contributor
  • 5159 Views
  • 5 replies
  • 0 kudos

Cant access path for Shared Access Mode Cluster

Hi! I was able to successfully download and run selenium on both single and no isolation mode clusters. But the shared cluster do not seem to have permission to access the path of drivers needed such as chrome and chromedriver.1) what is the general ...

Kaizen_0-1705688464489.png Kaizen_1-1705688529116.png
  • 5159 Views
  • 5 replies
  • 0 kudos
Latest Reply
Debayan
Databricks Employee
  • 0 kudos

Hi, Is the cluster UC enabled? Also, what are the types of the drivers (chrome and chromedriver) ? 

  • 0 kudos
4 More Replies
tessaickx
by New Contributor III
  • 5313 Views
  • 2 replies
  • 0 kudos

Serving endpoints: model server failed to load the model: the file bash was not found: uknown

While trying to create a serving endpoint with my custom model, I get a "Failed" state:Model server failed to load the model. Please see service logs for more information.The service logs show the following:Container failed with: failed to create con...

  • 5313 Views
  • 2 replies
  • 0 kudos
Latest Reply
ravi-malipeddi
New Contributor II
  • 0 kudos

I have faced the similar issue. still didn't find the right solution. In my case, the below is the error trace i found from service logs. Not sure where the issue could be"An error occurred while loading the model. You haven't configured the CLI yet!...

  • 0 kudos
1 More Replies
leelee3000
by Databricks Employee
  • 3005 Views
  • 1 replies
  • 0 kudos

Databricks OpenAI Integration Issue

Facing challenges in leveraging Databricks for serving, logging, and monitoring OpenAI usage within an Azure environment. Specifically, encountering issues with Inference Tables not being enabled in the UI when creating serving endpoints with externa...

  • 3005 Views
  • 1 replies
  • 0 kudos
Latest Reply
Debayan
Databricks Employee
  • 0 kudos

Hi, In addition to the previous message, you can refer to https://learn.microsoft.com/en-us/azure/databricks/large-language-models/ai-generate-text-example. 

  • 0 kudos
BR_DatabricksAI
by Databricks Partner
  • 3358 Views
  • 3 replies
  • 1 kudos

Unable to distribute the workload to different worker

Hello Team, I am unable to distribute the workload to databricks different worker while using the hugging face GPT2 LLM model. Jobs always use the 1 node even though we have the min and max worker node setting with 2. Appreciate if anyone can share a...

  • 3358 Views
  • 3 replies
  • 1 kudos
Latest Reply
BR_DatabricksAI
Databricks Partner
  • 1 kudos

Hello, We have around between 5k to 10K transcript files available in the ADLS gen 2 and we are using hugging face gpt2 model to train and server the model and expecting to pass the workload to different cluster nodes while serving the LLM model and ...

  • 1 kudos
2 More Replies
Alessandro
by New Contributor II
  • 2853 Views
  • 0 replies
  • 0 kudos

using openai Api in Databricks without iterating rows

 Hi to everyone,I have a delta table with a column 'comment' I would like to add a new column 'sentiment', and I would like to calculate it using openai API.I already know how to create a databricks endpoint to an external model and how to use it (us...

  • 2853 Views
  • 0 replies
  • 0 kudos
G-M
by Databricks Partner
  • 6704 Views
  • 3 replies
  • 6 kudos

Resolved! Vector Search Index not provisioning

I am trying to deploy a Vector Search Index using both the UI and the Python VectorSearchClient. In both cases the command is successful but in the Catalog Explorer the newly created index stalls with the status 'Provisioning Index' for hours. Previo...

  • 6704 Views
  • 3 replies
  • 6 kudos
Latest Reply
seba_kjal
New Contributor II
  • 6 kudos

Thanks, I didn't change anything either and now is working.

  • 6 kudos
2 More Replies
DanMaycock
by New Contributor III
  • 17623 Views
  • 13 replies
  • 6 kudos

Resolved! Can't Run an AutoML Experiment Because Button is Greyed Out

I am trying to run an AutoML experiment but the button stays greyed out no matter what I do. I've tried different cluster configurations, different datasets, even blew away the instance in Azure and re-created it across two different Azure accounts s...

Machine Learning
AutoML
Databricks
machine learning
  • 17623 Views
  • 13 replies
  • 6 kudos
Latest Reply
oleclercq
New Contributor II
  • 6 kudos

Thanks. AutoML is back on

  • 6 kudos
12 More Replies
mohaimen_syed
by New Contributor III
  • 5148 Views
  • 4 replies
  • 0 kudos

How do I distribute machine learning process in my spark data frame

Hi,I'm trying to use around 5 numerical features on 3.5 million rows to train and test my model with a spark data frame.My cluster has 60 nodes available but is only using 2. How can I distribute the process or make it for efficient and faster.My cod...

  • 5148 Views
  • 4 replies
  • 0 kudos
Latest Reply
shan_chandra
Databricks Employee
  • 0 kudos

@mohaimen_syed  - can you please try using pyspark.ml implementation of randomForestClassifier instead of sklearn and see if it works. Below is an example - https://github.com/apache/spark/blob/master/examples/src/main/python/ml/random_forest_classif...

  • 0 kudos
3 More Replies
Hypatia
by New Contributor
  • 1664 Views
  • 1 replies
  • 0 kudos

AutoMl experiment not start

Hi!Last week I was able to perform some experiments in autoML. Today even after completing all the values in the form, the start button stay greyed. (I try train with the same dataset and parameters that last week train ok, with no luck) have any con...

  • 1664 Views
  • 1 replies
  • 0 kudos
Latest Reply
shan_chandra
Databricks Employee
  • 0 kudos

@Hypatia - can you please detailed out the issue further? What was changed between previous good run and now when entering the details on AutoML experiment page?

  • 0 kudos
David_K93
by Contributor
  • 14112 Views
  • 5 replies
  • 3 kudos

Issues running Chroma function from Dolly Demo

Hello,I'm working through the Dolly demo that was released a few days ago. There are a few lines of code that I have had to alter in order to make it work in my environment. However, I've been trying to run similarity_search() on the generated Chroma...

image
  • 14112 Views
  • 5 replies
  • 3 kudos
Latest Reply
ClementBM
New Contributor II
  • 3 kudos

As written in the command output when pip installing the python packages, you should then run a `dbutils.library.restartPython()`. Please try the following commands:%pip install -U transformers langchain chromadb accelerate bitsandbytesdbutils.librar...

  • 3 kudos
4 More Replies
KWB_LaWe
by New Contributor II
  • 2788 Views
  • 1 replies
  • 3 kudos

Resolved! Not possible to start AutoML experiment because start button not clickable

Hey everyone,we were trying to start a new AutoML experiment but the 'Start AutoML' button won't activate. We've also noticed that the number of selected trainingset columns does'nt change even if some columns are unselected.Has anybody encountered t...

  • 2788 Views
  • 1 replies
  • 3 kudos
Latest Reply
AnaMedeiros
New Contributor III
  • 3 kudos

This seems to be a Databricks-wide problem. Please see related ticket on https://community.databricks.com/t5/machine-learning/can-t-run-an-automl-experiment-because-button-is-greyed-out/td-p/57388 

  • 3 kudos
YanivShani
by New Contributor
  • 3814 Views
  • 1 replies
  • 0 kudos

inference table not working

Hi,I'm trying to enable inference table for my llama_2_7b_hf serving endpoint, however I'm getting the following error:"Inference tables are currently not available with accelerated inference." Anyone one have an idea on how to overcome this issue? C...

  • 3814 Views
  • 1 replies
  • 0 kudos
Latest Reply
Walter_C
Databricks Employee
  • 0 kudos

From the information you provided, it seems like you are trying to enable inference tables for an existing endpoint. However, the error message suggests that this feature may not be supported with accelerated inference.If you have previously disabled...

  • 0 kudos
Labels