New kit import doc#711
Merged
bmicklea merged 2 commits intokitops-ml:mainfrom Jan 22, 2025
bmicklea:import-doc
Merged
Conversation
Collaborator
Author
|
Helps with #710, but I think we should also update the CLI docs a little. |
amisevsk
approved these changes
Jan 22, 2025
|
|
||
| 1. **Get the HF URL**: On the Hugging Face site, copy the URL from the repository you want to create a ModelKit from (e.g., https://huggingface.co/HuggingFaceTB/SmolLM-135M-Instruct). You can also customize the name or add a tag name if desired. | ||
|
|
||
| 1. **Kit import**: In a terminal window running Kit version 1.0.0 at least, type `kit import https://huggingface.co/HuggingFaceTB/SmolLM-135M-Instruct`. This will download and build a [Kitfile](./kitfile/kf-overview.md) based on the Hugging Face model and give you an opportunity to edit it before the ModelKit is packed. |
Contributor
There was a problem hiding this comment.
I guess this can be confusing, but part of the implementation was to simplify things: both
kit import https://huggingface.co/HuggingFaceTB/SmolLM-135M-Instruct
and
kit import HuggingFaceTB/SmolLM-135M-Instruct
are equivalent (i.e. you don't need the huggingface bit)
Collaborator
Author
|
This was related to #708 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds a new top-level docs page for
kit import.