Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
this Makefile enables developers to download and extract three Mistral open source models with a single word:
make
Models included:
Note: there would still be some additional setup needed, specifically to tell the mistral-chat CLI where to find the models
If it's helpful, I can help update the README to show how to use the makefile
We can also have the makefile install and run the cli
We can even make it idempotently add
mistral-models
to the$PATH
by adding code to theirprofile
(example: https://github.com/bionicles/tree_plus/blob/main/tree_plus_src/scripts/alias_tree_plus.sh)inlined here and lightly modified to save you a click
ah here's another nice script chunk that would enable the one above to automatically add a line to the user's profile which would indicate the path to find the mistral_models
key idea: it only adds the line once, so it won't keep re-adding it
could enable mistral to install local terminal utilities more easily without needing to tell people to tinker with their path too much
Anyway: TLDR - make it easier to download the models, and this description contains a couple of bash fragments to make it even easier