Questions tagged [vetiver]

The vetiver framework is for MLOps tasks in Python and R.

The vetiver framework for MLOps tasks is built for data science teams using R and/or Python, with a native, fluent experience for both. The goal of vetiver is to provide fluent tooling to version, deploy, and monitor a trained model. Functions handle both recording and checking the model’s input data prototype, and predicting from a remote API endpoint. It is built to be extensible, with methods that can support many kinds of models.

Resources

Related tags

12 questions
4
votes
1 answer

Why does deploying a tidymodel with vetiver throw a error when there's a variable with role as ID?

I'm unable to deploy a tidymodel with vetiver and get a prediction when the model includes a variable with role as ID in the recipe. See the following error in the image: { "error": "500 - Internal server error", "message": "Error: The following…
3
votes
0 answers

Pins + Vetiver vs MLflow which one to choose for MLOps

I am a big fan boy of tidymodels and played around with vetiver + pins in R and Python in order to not only develop models but actually deploy them. However, if you are looking for tools that support in the area of MLOps, sooner or later you will…
Mischa
  • 137
  • 8
2
votes
1 answer

Using Vetiver in R, why am I getting a metric_set error when trying to run compute_metrics() for a classification model?

I am relatively new to using Vetiver with RStudio and I am trying to plot some accuracy metrics. I am using the metrics: accuracy and kap but when I pass in all the parameters into compute_metrics I get this error, Error Message. I ran the demo code…
Karthik
  • 21
  • 3
1
vote
1 answer

Is there a way to pickle a fasttext model/object?

I just trained my fasttext model and I am trying to pin it using pins https://pypi.org/project/pins/ and vetiver https://pypi.org/project/vetiver/ for version control. However, for that to happen I need to pickle the fasttext object/model. And that…
1
vote
1 answer

Python Vetiver model - use alternative prediction method

I'm trying to use Vetiver to deploy an isolation forest model (for anomaly detection) to an API endpoint. All is going well by adapting the example here. However, when deployed, the endpoint uses the model.predict() method by default (which returns…
0
votes
0 answers

Deploy tidymodel model to GCP using Docker and Vetiver

I'm trying to follow along to this Julia Silge MLOps video where she uses Vetiver and Tidymodels to deploy to AWS Sagemaker however after running up hundreds of dollars of bills on AWS :( I've moved to GCP because they offer $300 of free credit. I'm…
TheGoat
  • 2,587
  • 3
  • 25
  • 58
0
votes
1 answer

Problems deploying an ML model to AWS Sagemaker using R and Vetiver

I'm following along to this blog however I'm using palmer penguins for my model development and I'm at the stage of generating and building a Docker image on SageMaker for a vetiver model in R. When I run the following: new_image_uri <- …
TheGoat
  • 2,587
  • 3
  • 25
  • 58
0
votes
0 answers

R vetiver load failed

i'm trying to use the vetiver package to write model cards but the library won't load when working from a github repo. Any ideas ? Error: package or namespace load failed for ‘vetiver’: .onLoad failed in loadNamespace() for 'vetiver', details: …
Sarah
  • 25
  • 4
0
votes
0 answers

Monitoring stacked ensemble models with vetiver

I developed a stacked ensemble model using the tidymodels workflow and I want to monitor the performance of this model from time to time using vetiver. However, it seems the stacked model object isn't supported yet. Please see the code snippet…
0
votes
1 answer

step_dummy output is not recognised in r vetiver's api

I'm using several steps of data pre-processing in below ml workflow to use the final model in the production via vetiver api. The workflow and prediction work well in my local environment, however I get an error when trying to run an example in…
Imitation
  • 104
  • 7
0
votes
0 answers

Vetiver Error when connecting to board: Error in order(results$name) : argument 1 is not a vector

Summary/Context I am attempting to deploy a model from R to Google Cloud. I am following these steps/tutorial from the vetiver GitHub. I am using the sample data provided in the tutorial except I am attempting to deploy the model to Google Cloud,…
Jaskeil
  • 1,044
  • 12
  • 33
0
votes
1 answer

Python Vetiver with fastText

Inspired by Python Vetiver model - use alternative prediction method I want to deploy my https://fasttext.cc/ model with the help of vetiver and pins. Unfortunately the solution in the link does not work for me. After I wrote my FastTextHandler …
Mischa
  • 137
  • 8