Spaces:
Sleeping
Sleeping
File size: 2,449 Bytes
0481514 eb0ceee 0481514 eb0ceee 0481514 | 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mistral Fine-tuned Model</title>
<link rel="stylesheet" href="/static/style.css">
</head>
<body>
<div class="container">
<header>
<h1>🤖 Mistral Fine-tuned Model</h1>
<p>Model: <code>KASHH-4/mistral_fine-tuned</code></p>
</header>
<main>
<div class="prompt-section">
<label for="prompt">Enter your prompt:</label>
<textarea id="prompt" rows="6" placeholder="Write a short story about a robot learning to paint..."></textarea>
</div>
<div class="settings-section">
<details>
<summary>⚙️ Advanced Settings</summary>
<div class="settings-grid">
<div class="setting">
<label for="maxTokens">Max Tokens: <span id="maxTokensValue">256</span></label>
<input type="range" id="maxTokens" min="50" max="512" value="256">
</div>
<div class="setting">
<label for="temperature">Temperature: <span id="temperatureValue">0.7</span></label>
<input type="range" id="temperature" min="0.1" max="2.0" step="0.1" value="0.7">
</div>
<div class="setting">
<label for="topP">Top P: <span id="topPValue">0.9</span></label>
<input type="range" id="topP" min="0.1" max="1.0" step="0.05" value="0.9">
</div>
</div>
</details>
</div>
<div class="button-section">
<button id="generateBtn" class="generate-btn">✨ Generate</button>
<span id="status" class="status"></span>
</div>
<div class="output-section">
<h3>Generated Output:</h3>
<div id="output" class="output"></div>
</div>
</main>
<footer>
<p>API Endpoints: <code>POST /api/generate</code> | <code>GET /api/health</code></p>
</footer>
</div>
<script src="/static/app.js"></script>
</body>
</html>
|