-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
563 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# mlflow experiment (wip) | ||
|
||
### Goals | ||
|
||
- I want to keep track of my experiments, whether LLM experiments, or other experiments as well. | ||
- I want to be able to compare the result of different prompts, different scenario, different models, etc. | ||
- I'd like to be able to do experiment with [Langchain](https://python.langchain.com) as well. | ||
|
||
### Tools/Architecture | ||
|
||
- [MLFlow](https://mlflow.org/) for keeping track of the experiments | ||
- [Langchain](https://python.langchain.com) | ||
- some kind of inference server, probably [llama.cpp server](https://github.com/ggerganov/llama.cpp/tree/master/examples/server), | ||
or others | ||
- [MLFlow + Langchain)(https://mlflow.org/docs/latest/llms/langchain/index.html) | ||
|
||
|
||
I want those tools to be simple to setup in my local, and can be inspected in the future as well, so I'll try to | ||
make it run with docker and store the result locally & version-controlled so it can be inspected by others. | ||
|
||
I'd need couple other tools to do it: | ||
|
||
- git | ||
- git-lfs (to store sqlite db cleanly) | ||
- ~~docker & docker compose~~ - I originally wants to run it in docker, but it turned out running it natively is easier | ||
(w.r.t. installation & file permission issue) | ||
- ~~[minio](https://min.io/) - to simulate S3, but store it locally~~ - I thought I need minio to simulate s3, but it | ||
turned out mlflow can use local storage directly, and it makes everything easy | ||
|
||
|
||
## Setup | ||
|
||
### MLFlow setup | ||
|
||
- mlflow is installed locally - using `pip install mlflow`. see [requirements.txt](https://github.com/mudiarto/ml-notebooks/blob/dev/requirements.txt) | ||
- I tried to install using conda and it worked, but somehow | ||
I got weird error: ["You are very likely running the MLflow server using a source installation of the Python MLflow | ||
package"](https://github.com/mlflow/mlflow/issues/3631) - so I just uninstall it and use pip installation | ||
- See the environment variables I use to run here: | ||
https://github.com/mudiarto/ml-notebooks/blob/43838aacb986f090de5f1b5a3395b5fec8b07602/justfile#L70-L75- | ||
|
||
- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
order: 2 | ||
order: 3 | ||
title: Extras | ||
listing: | ||
fields: [title, description] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# CLI Tools/Links (wip) | ||
|
||
List of the tools that I use, and the configurations in the dotfiles. | ||
|
||
|
||
|
||
## dotfiles | ||
|
||
I have a huge set of configurations on my private repo, built over the years, but it is not very organized. | ||
I want to cleanup and make it public so I can clone it easily when I work on a new terminal. | ||
The old config files are based on [stow](https://www.gnu.org/software/stow/stow.html), | ||
and I want to change it to use [chezmoi](https://www.chezmoi.io/) | ||
|
||
- [My dotfiles - wip](https://github.com/mudiarto/dotfiles) | ||
|
||
|
||
## tools that I use daily | ||
|
||
### shell | ||
|
||
- zsh | ||
- xonsh | ||
|
||
### version control | ||
|
||
- git | ||
- stgit | ||
|
||
### editor | ||
|
||
- nvim | ||
|
||
|
||
### communication | ||
|
||
- ssh | ||
- assh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
order: 2 | ||
title: Tools | ||
listing: | ||
fields: [title, description] | ||
type: table | ||
sort-ui: false | ||
filter-ui: false | ||
--- | ||
# My semi organized list of tools | ||
|
||
["If the only tool you have is a hammer, it is tempting to treat everything as if it were a nail"](https://en.wikipedia.org/wiki/Law_of_the_instrument) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# ML/AI Tools/Links | ||
|
||
Links and my comments on tools that I found interesting around the web | ||
|
||
## Refs: | ||
- [Mudiarto ML/AI stars](https://github.com/stars/mudiarto/lists/ml-ai) - My collection of ML/AI stars as I stumbled upon them | ||
|
||
## Tools I use | ||
- TBD | ||
|
||
## Tools that seems useful | ||
- TBD |