ramikrispin, to python
@ramikrispin@mstdn.social avatar

(1/4) ๐ˆ๐ง๐ญ๐ซ๐จ๐๐ฎ๐œ๐ญ๐ข๐จ๐ง ๐ญ๐จ ๐Œ๐ฎ๐ฅ๐ญ๐ข-๐’๐ญ๐š๐ ๐ž ๐ˆ๐ฆ๐š๐ ๐ž ๐๐ฎ๐ข๐ฅ๐ ๐Ÿณ ๐Ÿ๐จ๐ซ ๐๐ฒ๐ญ๐ก๐จ๐ง ๐Ÿ

The size of the Docker image could quickly increase during the build time. I became more mindful of the image size when I started to deploy on Github Actions. The bigger the image size, the longer the run time and the higher the runtime cost.

This is when you should consider using a multi-stage build ๐Ÿš€.

๐Ÿงต๐Ÿ‘‡๐Ÿผ

ramikrispin,
@ramikrispin@mstdn.social avatar

(4/4) I created the following tutorial for setting up a dockerized Python environment using a multi-stage approach ๐Ÿ‘‡๐Ÿผ

https://medium.com/towards-data-science/introduction-to-multi-stage-image-build-for-python-41b94ebe8bb3

Happy Build! ๐Ÿณ๐Ÿ—๏ธ

ramikrispin, to machinelearning
@ramikrispin@mstdn.social avatar

(1/2) MLflow for Machine Learning Development ๐Ÿš€

The MLflow for Machine Learning Development course by Manuel Gil provides a great introduction to the MLflow Python library ๐Ÿ. The course focuses on the MLflow core functionality and workflow and covers the following topics:
โœ… Setting MLflow
โœ… Creating and working with experiences
โœ… Logging metadata (parameters, score, etc.)
โœ… Model registry
โœ… Model tuning
โœ… MLflow project demo

ramikrispin,
@ramikrispin@mstdn.social avatar
ramikrispin, to datascience
@ramikrispin@mstdn.social avatar

(1/3) I created a step-by-step tutorial for launching and customizing the RStudio server in a container using the Rocker RStudio image ๐Ÿณ and the run command ๐Ÿš€ ๐Ÿ‘‡๐Ÿผ

Setting and running RStudio inside a containerized environment is easier than it seems, thanks to the Rocker project. This tutorial mainly focuses on the docker run command.

ramikrispin,
@ramikrispin@mstdn.social avatar

(3/3) This is the first tutorial out of a sequence. The next ones are going to cover:
โžก๏ธ Formalizing the run command with Docker Compose
โžก๏ธ Customizing the Rocker image with additional requirements
โžก๏ธ Create a template
โžก๏ธ Mount databases (e.g., Postgres, etc.)

https://medium.com/towards-data-science/running-rstudio-inside-a-container-e9db5e809ff8

ramikrispin, to python
@ramikrispin@mstdn.social avatar

(1/4) Setting A Dockerized Python Environment โ€” The Hard Way

I create a (relatively) short tutorial about setting up a dockerized ๐Ÿณ Python ๐Ÿ environment on the command line (CLI). Generally, I don't advocate anyone to set their Python development workflow via the CLI. There are better tools to work with Python and Docker, such as VScode with the Dev Containers extension. ๐Ÿงต๐Ÿ‘‡๐Ÿผ

๐Ÿ”—: https://medium.com/p/e62531bca7a0

ramikrispin,
@ramikrispin@mstdn.social avatar

(2/4) Rather, there is a great learning experience here of the core Docker commands and functionalities. The goal here is to see how you can take an official Python image and customize it to your needs.

ramikrispin,
@ramikrispin@mstdn.social avatar

(3/4) This includes the following:
โœ… Running Python base image in interactive mode on the CLI
โœ… Create a Dockerfile and add new components to the base image
โœ… Install Python libraries and tools such as CLI text editor
โœ… Expose a bash terminal and enable the editing of Python scripts
โœ… Use volumes to transfer the container from an ephemeral mode to a persistent

ramikrispin,
@ramikrispin@mstdn.social avatar

(4/4) A more robust approach for running Python on a containerized environment is available in this tutorial:

https://github.com/RamiKrispin/vscode-python

KathyReid, to Nvidia
@KathyReid@aus.social avatar

My thinking here is that @huggingface is an acquisition target for because they don't have an platform offering - I also wonder where sits in all this too ...

https://techcrunch.com/2023/08/08/nvidia-teams-up-with-hugging-face-to-offer-cloud-based-ai-training/

jd7h, to LLMs

TIL https://www.jailbreakchat.com/ is a website that collects prompt injection attacks for LLMs, i.e. getting the language model to do stuff that is not allowed by inserting malicious prompts.

jameshwade, to random

๐Ÿง‘โ€๐Ÿ’ป New video! Walk through the "whole game" of #MLOps with #rstats:

๐Ÿ‘€ Data prep with #tidyverse
๐Ÿง  Model training & eval with #tidymodels
โœ… Deployment with #vetiver in #Docker ๐Ÿณ on @huggingface ๐Ÿค—
๐Ÿ“Œ Monitoring with #pins

๐ŸŽฅ: https://youtu.be/J32pRt1nuoY

underdarkGIS, (edited ) to machinelearning
@underdarkGIS@fosstodon.org avatar

Finally, I got around to giving continuous a spin with a twist:

On every push, an action runs a script that calculates updated metrics and plots and then displays them directly in the โœจ

https://github.com/anitagraser/cml-example-base/pull/1

ramikrispin, to random
@ramikrispin@mstdn.social avatar

Great article by Chip Huyen about building LLM applications for productions ๐Ÿ“ ๐Ÿ‘‡

https://huyenchip.com/2023/04/11/llm-engineering.html

blasbenito, to machinelearning

Hi folks!

I'm Blas, a PhD in Computational Ecology and MA in GIS who recently rebranded as a data science and engineering team leader in .

I develop packages and workflows focused on geographic data and spatial modelling for a living.

My list of interests includes , and in my free time,

ramikrispin, to llm
@ramikrispin@mstdn.social avatar

RAG From Scratch - Langchain Tutorial ๐Ÿฆœ๐Ÿ‘‡๐Ÿผ

The RAG From Scratch is a crash course by Lance Martin from LangChain focusing on the foundations of Retrieval Augmented Generation (RAG). This tutorial covers the process of index, retrieval, and generation of a query from scratch ๐Ÿš€.

Video ๐Ÿ“ฝ๏ธ: https://www.youtube.com/playlist?list=PLfaIDFEXuae2LXbO1_PKyVJiQ23ZztA0x
Code ๐Ÿ”—: https://github.com/langchain-ai/rag-from-scratch

Image credit: Tutorial slides

ramikrispin, to machinelearning
@ramikrispin@mstdn.social avatar

I spent my Sunday morning reading the Distributed Machine Learning Patterns by Yuan Tang. The book, as its name implies, focuses on machine learning at scale using tools such as Tensorflow, Kubernetes, Argo, etc. That includes the following topics:
โœ… Handling large dataset
โœ… Approaches for training ML models with distributed machines
โœ… ML workflow and operation design
โœ… Building and deploying ML pipelines

ramikrispin, to llm
@ramikrispin@mstdn.social avatar

Google Gemini AI Course for Beginners

If you want to get started with Google's Gemini API, here is an introductory course by Ania Kubow. This 1-hour course covers the following topics:
Getting started with API (setting access, API key, etc.)
โœ… Tokenization
โœ… Review Gemini models
โœ… Create a chatbot using the API

๐Ÿ“ฝ๏ธ: https://www.youtube.com/watch?v=DJtX3S7qx2s

ramikrispin, to python
@ramikrispin@mstdn.social avatar

MLflow Intro Course ๐Ÿš€

Managing the Complete Machine Learning Lifecycle with MLflow is a three-hour intro to MLflow workshop by Jules S. Damji. The course is for beginners, and it covers the core functionality of MLflow:
โœ… Tracking
โœ… Projects
โœ… Models
โœ… Registry
โœ… UI

Playlist ๐Ÿ“ฝ๏ธ: https://www.youtube.com/playlist?list=PL2ivGIeWjZUhs_NX_xwR8yggvyB6wSnQh

Code ๐Ÿ”—: https://github.com/dmatrix/mlflow-workshop-part-1

ramikrispin, to llm
@ramikrispin@mstdn.social avatar

I am excited to present at the OSDC East conference next week about using LLM to create language to SQL code generator.

https://odsc.com/speakers/data-automation-with-llm/

ramikrispin, to devops
@ramikrispin@mstdn.social avatar

TIL about the daily dev, and I am not sure how I missed it so far ๐Ÿ‘‡๐Ÿผ

https://app.daily.dev/

And...thank you to the person who recommended my recent medium article on that platform!

ocramz, (edited ) to azure
@ocramz@sigmoid.social avatar

AzureML is so full of sharp edges that they might as well move the "Troubleshooting" section to "Quickstart"

#azure #azureml #cloud #mlops

kellogh, to opensource
@kellogh@hachyderm.io avatar
ramikrispin, to llm
@ramikrispin@mstdn.social avatar

RAG from Scratch with LangChain ๐Ÿฆœ๐Ÿ‘‡๐Ÿผ

FreeCodeCamp released today a new course on building RAG from scratch with LangChain. The course, which is by Lance Martin from LangChain, focuses on the foundations of Retrieval Augmented Generation (RAG).

Course ๐Ÿ“ฝ๏ธ: https://www.youtube.com/watch?v=sVcwVQRHIc8
Code ๐Ÿ”—: https://github.com/langchain-ai/rag-from-scratch

ramikrispin, to llm
@ramikrispin@mstdn.social avatar

Production Monitoring & Automations of LLM with LangSmith ๐Ÿฆœ๐Ÿ‘‡๐Ÿผ

LangChain released a crash course for LangSmith, their DevOps platform for deploying LLM applications into production. The course covers topics such as:
โœ… LLM applications monitoring
โœ… Setting automation
โœ… Performance monitoring

๐Ÿ“ฝ๏ธ: https://www.youtube.com/playlist?list=PLfaIDFEXuae0bYV1_60f0aiM0qI7e1zSf

ramikrispin, to python
@ramikrispin@mstdn.social avatar

Thanks to @medium Staff for selecting my recent article - Introduction to Multi-Stage Image Build for Python ๐Ÿ, for a boost โค๏ธ!

This tutorial provides a step-by-step guide for converting a regular Python Dockerfile into a multi-stage build ๐Ÿš€.

๐Ÿ”—: https://medium.com/towards-data-science/introduction-to-multi-stage-image-build-for-python-41b94ebe8bb3

ramikrispin, to vscode
@ramikrispin@mstdn.social avatar

Getting started with the Dev Containers extension ๐Ÿš€๐Ÿ‘‡๐Ÿผ

The Dev Containers extension is the main reason I moved to VScode, as it provides a native and seamless integration of Docker ๐Ÿณ. I started to work on a sequence of tutorials focusing on the VScode Dev Containers extension. The first tutorial on the sequence focuses on getting started with the Dev Containers extension;

๐Ÿ”—: https://medium.com/towards-data-science/getting-started-with-the-dev-containers-extension-a5ea49abfc34

ramikrispin, to rust
@ramikrispin@mstdn.social avatar

(1/2) I recently posted a few posts about Rust ๐Ÿฆ€ and my intention to leverage it for data science applications. Multiple people asked if Rust is a substitute for R or Python, and the short answer (in my opinion) is no. I see Rust as a complementary or supporting language that could make languages like R and Python faster.

Polaris ๐Ÿปโ€โ„๏ธ is one example of a Python ๐Ÿ application that uses Rust on the backend. ๐Ÿงต๐Ÿ‘‡๐Ÿผ

  • All
  • Subscribed
  • Moderated
  • Favorites
  • โ€ข
  • megavids
  • khanakhh
  • mdbf
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • InstantRegret
  • slotface
  • osvaldo12
  • kavyap
  • DreamBathrooms
  • JUstTest
  • Durango
  • everett
  • cisconetworking
  • normalnudes
  • tester
  • ngwrru68w68
  • cubers
  • modclub
  • tacticalgear
  • provamag3
  • Leos
  • anitta
  • lostlight
  • All magazines