| 1 | <div id="tabby_downloader_popup"> |
| 2 | <div> |
| 3 | <h3><strong data-i18n="Download Model">Download Model</strong> |
| 4 | <a href="https://github.com/theroyallab/async-hf-downloader" class="notes-link" target="_blank"> |
| 5 | <span class="note-link-span">?</span> |
| 6 | </a> |
| 7 | </h3> |
| 8 | |
| 9 | <small class="flex-container extensions_info justifyCenter"> |
| 10 | Download a HuggingFace model with TabbyAPI |
| 11 | </small> |
| 12 | <small class="flex-container extensions_info justifyCenter"> |
| 13 | (Requires an admin key) |
| 14 | </small> |
| 15 | <hr /> |
| 16 | |
| 17 | <!-- Model parameter textboxes --> |
| 18 | Repo ID |
| 19 | <div class="flex-container"> |
| 20 | <input name="hf_repo_id" class="text_pole" type="text" placeholder="Ex. turboderp/Llama-3-8B-exl2" /> |
| 21 | </div> |
| 22 | <div class="range-block-title justifyCenter"> |
| 23 | <span data-i18n="Downloader Options">Downloader Options</span> |
| 24 | <div class="margin5 fa-solid fa-circle-info opacity50p " data-i18n="[title]Extra parameters for downloading/HuggingFace API" title="Extra parameters for downloading/HuggingFace API. If unsure, leave these blank."></div> |
| 25 | </div> |
| 26 | <div class="flex-container"> |
| 27 | <div class="flex1"> |
| 28 | <label for="revision"> |
| 29 | <small data-i18n="Revision">Revision</small> |
| 30 | </label> |
| 31 | <input name="revision" class="text_pole" type="text" placeholder="Ex. 6.0bpw" /> |
| 32 | </div> |
| 33 | <div class="flex1"> |
| 34 | <label for="folder_name"> |
| 35 | <small data-i18n="Output Folder Name">Output Folder Name</small> |
| 36 | </label> |
| 37 | <input name="folder_name" class="text_pole" type="text" /> |
| 38 | </div> |
| 39 | <div class="flex1"> |
| 40 | <label for="hf_token"> |
| 41 | <small data-i18n="HF Token">HF Token</small> |
| 42 | </label> |
| 43 | <input name="hf_token" class="text_pole" type="text" placeholder="For gated models" /> |
| 44 | </div> |
| 45 | </div> |
| 46 | <div class="range-block-title justifyCenter"> |
| 47 | <span data-i18n="Include Patterns">Include Patterns</span> |
| 48 | <div class="margin5 fa-solid fa-circle-info opacity50p" data-i18n="[title]Glob patterns of files to include in the download." title="Glob patterns of files to include in the download. Separate each pattern by a newline."></div> |
| 49 | </div> |
| 50 | <div class="flex-container"> |
| 51 | <textarea class="text_pole textarea_compact" name="tabby_download_include" placeholder="Ex. *.txt"></textarea> |
| 52 | </div> |
| 53 | <div class="range-block-title justifyCenter"> |
| 54 | <span data-i18n="Exclude Patterns">Exclude Patterns</span> |
| 55 | <div class="margin5 fa-solid fa-circle-info opacity50p" data-i18n="[title]Glob patterns of files to exclude in the download." title="Glob patterns of files to exclude in the download. Separate each pattern by a newline."></div> |
| 56 | </div> |
| 57 | <div class="flex-container"> |
| 58 | <textarea class="text_pole textarea_compact" name="tabby_download_exclude" placeholder="Ex. *.txt"></textarea> |
| 59 | </div> |
| 60 | </div> |
| 61 | </div> |