pavel321's picture
Update index.html
5f91362 verified
<!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>&copy; 2024 Hugging Face Community | <a href="https://huggingface.co">Visit Hugging Face</a></p>
</footer>
</body>
</html>