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 python
@ramikrispin@mstdn.social avatar

(1/3) Here is one of the most frequent questions I get on most of my Python ๐Ÿ+Docker ๐Ÿณ tutorials - why use a virtual environment inside a container?

The short answer is that you don't necessarily need a virtual environment (VE) to set a reproducible environment inside a container. Docker takes care of both the environment isolation and reproducibility.

I see VE as more of a practical method to organize your Python environment inside a container.

#python #docker #mlops #DataScience

mfranz_on, to Kubernetes

Is there a real alternative to prometheus? Seems that is the only player in metrics collection...

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 python
@ramikrispin@mstdn.social avatar

(1/4)Docker vs. venv/renv ๐Ÿ‘‡๐Ÿผ

I think that most of the data scientists prefer to use some type of virtual environment (VE) in their applications. A short ๐Ÿงถ๐Ÿงต about the main differences between the two ๐Ÿ‘‡๐Ÿผ

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

jd7h, to generativeAI
@jd7h@fosstodon.org avatar

Today I took a first look at LangSmith, a new platform for LLM production pipelines by LangChain.
I can't hook it up to a working pipeline yet because it's in closed beta, but it surely looks ambitious. It should make it easier to do logging, monitoring, debugging and evaluating pipelines (chains) against each other. It's tightly integrated with LangChain but it should support other frameworks/models as well.

https://www.langchain.com/langsmith

ramikrispin, to vscode
@ramikrispin@mstdn.social avatar

A short and concise explanation about the VScode's Dev Containers extension ๐Ÿ‘‡๐Ÿผ

https://www.youtube.com/watch?v=b1RavPr_878

The Dev Containers extension enables to run code in VScode inside a containerized environment seamlessly.

ramikrispin, to python
@ramikrispin@mstdn.social avatar

Create a Natural Language to SQL Code Generator with Python and OpenAI API tutorial is now on Medium ๐Ÿ‘‡๐Ÿผ
https://medium.com/@rami.krispin/setting-a-natural-language-to-sql-code-generator-with-python-d267f40d7218

Code: https://github.com/RamiKrispin/lang2sql

#Python #openai #sql #datascience #MLOps

ramikrispin, to datascience
@ramikrispin@mstdn.social avatar

Still looking for reasons to learn Docker?

Source: Github Blog

ramikrispin, to Bash
@ramikrispin@mstdn.social avatar

A Bash Scripting Course ๐Ÿš€

Bash is a useful language for automating processes on the command line and has a lot of applications from IT to MLOps. The Bash Scripting on Linux course by Jay LaCroix is an intro course for Bash. The course focuses on the foundation of Bash scripting, and it covers the following topics:
โœ… Working with variables
โœ… If-Else statements
โœ… Loops
โœ… Functions
โœ… Arguments
โœ… Scheduling

Course ๐Ÿ“ฝ๏ธ: https://www.youtube.com/playlist?list=PLT98CRl2KxKGj-VKtApD8-zCqSaN2mD4w

ramikrispin, to python
@ramikrispin@mstdn.social avatar

This weekend working on a fun project combining AirFlow, MLflow, and Darts ๐Ÿ˜Ž

mfranz_on, to datascience

There are tons of MLOps platforms, middlewares and lambdas... are there some missing components? Seems that all is already in place๐Ÿ˜…

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, to machinelearning
@ramikrispin@mstdn.social avatar

(1/2) Machine Learning Engineering Online Book ๐Ÿš€

I came across this amazing repo by ๐’๐ญ๐š๐ฌ ๐๐ž๐ค๐ฆ๐š๐ง - the Machine Learning Engineering Online Book with a collection of guides for ML engineering focusing on training LLM and multi-model models.

License: Attribution-ShareAlike 4.0 International ๐Ÿฆ„

ramikrispin, to datascience
@ramikrispin@mstdn.social avatar

I am excited to present in November at the Oredev Developer Conference in Sweden about forecasting and MLOps ๐Ÿš€. In addition, I will run a workshop about forecasting methods with regression models โค๏ธ.

https://oredev.org/

Please ping me if you are going to be there!

ramikrispin, to datascience
@ramikrispin@mstdn.social avatar

(1/2) I created the second tutorial on the series of running RStudio inside a container ๐Ÿš€. This tutorial focuses on formalizing the run command from the first tutorial with Docker Compose using the Rocker RStudio image ๐Ÿณ ๐Ÿ‘‡๐Ÿผ

Setting and running RStudio inside a containerized environment is easier than it seems, thanks to the Rocker project.

video/mp4

ramikrispin, to python
@ramikrispin@mstdn.social avatar

(1/2) Setting A Dockerized ๐Ÿณ Python ๐Ÿ Environment โ€” The Elegant Way

A few weeks ago, I created a short tutorial about setting up a dockerized ๐Ÿณ Python ๐Ÿ environment via the CLI, or the hard way. The second tutorial on this topic provides a more elegant and robust approach for setting up a Python dockerized development environment with VScode and the Dev Containers extension ๐Ÿš€.

#python #docker #vscode #DataScience #mlops #medium

video/mp4

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 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 datascience
@ramikrispin@mstdn.social avatar

In the past few months, I created a bunch of Docker ๐Ÿณ tutorials covering random topics, from a fun setting for a Python ๐Ÿ environment on the CLI to advanced topics such as multi-stage builds ๐Ÿ—๏ธ. I organized all the tutorials under one folder, and I plan to keep updating this folder with future-related ones ๐Ÿ˜Ž.

Currently on my Docker tutorial TODO list:
โžก๏ธ Docker ENTRYPOINT vs CMD
โžก๏ธ Docker multi-architecture build

๐Ÿ”— https://medium.com/@rami.krispin/list/docker-21408ce79e6a

Enjoy!

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. ๐Ÿงต๐Ÿ‘‡๐Ÿผ

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

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