spock
labml
spock | labml | |
---|---|---|
12 | 23 | |
115 | 1,867 | |
1.7% | 2.1% | |
7.0 | 9.7 | |
6 months ago | 6 days ago | |
Python | Jupyter Notebook | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
spock
- Managing complex configurations any other way would be highly illogical
- [D] Alternatives to fb Hydra?
-
Why you should use Data Classes in Python
(Note: I wrote a library called spock that was originally based on dataclasses and then shifted to attrs. In the end attrs was just the better and more fully fledged library for what I needed so I’ve always preferred attrs over dataclasses since then)
-
Is Spock-Config the only tool that integrates object-oriented config files and command-line interfaces?
Spock-Config allows one to create OO configuration files. That's how I roll. I currently use PYdantic settings and it's great. But it does not offer command-line re-configuration of what you have in the OO config file.
- My first Python project: reference finder
- Python 3.11 will now have tomllib - Support for Parsing TOML in the Standard Library
-
Spock - Managing complex configurations any other way would be highly illogical...
Check out more in the docs or on GitHub
-
[D] I'm new and scrappy. What tips do you have for better logging and documentation when training or hyperparameter training?
We wrote Spock which actually sits in the middle ground between Hydra and OmegaConf (I’m of the same opinion that Hydra does a little too much feature wise). You can do hierarchical composition within the markdown of any JSON, YAML, or TOML files by simply using the config argument. No code needed to merge. Docs are here if you’re interested.
-
[D] Tools to avoid writing tons of scripts
Spock
labml
-
Creating stickers using SD with img2img
Used the PromptArt app by labml.ai to generate a sticker of an image I took from my iPhone. The results are amazing.
- [D] Why doesn’t your team use an experiment tracking tool?
-
Probe PyTorch models
💻 Github
-
[P] Probe PyTorch models
🧑🏫 Demo that extracts attention maps of BERT
- Show HN: Probe PyTorch Models
- [D] How do you guys tune hyperparameters, when a single training run takes a long time (days to weeks)?
- Machine Learning Best Practices
-
[D] Machine Learning Best Practices
from github
-
[P] Annotated deep learning paper implementations
labmlai/labml is a set of tools (tracking experiments, configurations, a bunch of helpers) we coded to ease our ML work (which later improved and open sourced). So we use it in all our projects because it makes things easier for us.
- React's UI State Model vs. Vanilla JavaScript
What are some alternatives?
gin-config - Gin provides a lightweight configuration framework for Python
nn - 🧑🏫 60 Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠
dvc - 🦉 ML Experiments and Data Management with Git
guildai - Experiment tracking, ML developer tools
strictyaml - Type-safe YAML parser and validator.
Practical_RL - A course in reinforcement learning in the wild
reference-finder - Matches PDFs to sentences in text or docx file
Deep-Learning-Push-Up-Counter - Deep Learning approach to count the number of repetitions in a video of push ups or pull ups.
traitlets - A lightweight Traits like module
tensorflow-onnx - Convert TensorFlow, Keras, Tensorflow.js and Tflite models to ONNX
tune-sklearn - A drop-in replacement for Scikit-Learn’s GridSearchCV / RandomizedSearchCV -- but with cutting edge hyperparameter tuning techniques.
MIRNet-TFJS - TensorFlow JS models for MIRNet for low-light💡 image enhancement