Skip to content

Instantly share code, notes, and snippets.

View chedigitz's full-sized avatar

Juan Vasquez chedigitz

View GitHub Profile
@chedigitz
chedigitz / rename-pictures.sh
Created December 13, 2023 21:05 — forked from jart/rename-pictures.sh
Shell script for renaming all images in a folder
#!/bin/sh
# rename-pictures.sh
# Author: Justine Tunney <[email protected]>
# License: Apache 2.0
#
# This shell script can be used to ensure all the images in a folder
# have good descriptive filenames that are written in English. It's
# based on the Mistral 7b and LLaVA v1.5 models.
#
# For example, the following command: