File size: 2,973 Bytes
9b4d740 5f91362 9b4d740 5f91362 9b4d740 5f91362 9b4d740 5f91362 9b4d740 5f91362 9b4d740 5f91362 9b4d740 5f91362 9b4d740 5f91362 9b4d740 5f91362 9b4d740 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hugging Face CLI Autocompletion</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background-color: #1e1e1e; /* Dark background */
color: #f5f5f5; /* Light text color */
}
header {
background: #4B0082; /* Dark purple */
color: white;
padding: 10px 20px;
text-align: center;
border-radius: 8px;
}
h1 {
margin: 0;
}
section {
margin: 20px 0;
padding: 20px;
background: #2a2a2a; /* Darker section background */
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
code {
background-color: #333; /* Code background */
color: #f8f8f2; /* Code text color */
padding: 2px 4px;
border-radius: 4px;
}
pre {
background-color: #333; /* Preformatted text background */
color: #f8f8f2; /* Preformatted text color */
padding: 10px;
border-radius: 4px;
overflow-x: auto;
}
footer {
text-align: center;
margin-top: 20px;
font-size: small;
}
a {
color: #66d9ef; /* Link color */
}
</style>
</head>
<body>
<header>
<h1>Hugging Face CLI Autocompletion</h1>
<p>Enhance your command line experience with autocompletion for huggingface-cli!</p>
</header>
<section>
<h2>Installation</h2>
<p>To install the autocompletion script, run the following command:</p>
<pre><code>curl -sSL https://huggingface.co/spaces/pavel321/huggingface-cli-completion/resolve/main/huggingface-cli-completion.sh >> ~/.bashrc && source ~/.bashrc</code></pre>
</section>
<section>
<h2>Usage</h2>
<p>After installation, you can use the autocompletion feature as follows:</p>
<pre><code>$ huggingface-cli download google/<TAB></code></pre>
<p>This will suggest available models:</p>
<pre><code>google/codegemma-7b google/flan-t5-xl
google/gemma-2-2b-jpn-it-pytorch google/matcha-plotqa-v2
google/gemma-2-9b google/owlvit-base-patch32
google/gemma-2-9b-it google/paligemma-3b-pt-224
google/gemma-2b google/pegasus-cnn_dailymail
google/gemma-2b-it google/siglip-so400m-patch14-384
google/gemma-7b google/timesfm-1.0-200m</code></pre>
</section>
<footer>
<p>© 2024 Hugging Face Community | <a href="https://huggingface.co">Visit Hugging Face</a></p>
</footer>
</body>
</html> |