File size: 1,701 Bytes
1fac8fa
e5f180e
1fac8fa
 
 
7fe7631
fa24c8c
e5f180e
 
 
 
 
 
b48edc8
d29d9b1
b48edc8
d29d9b1
1fac8fa
 
 
 
 
bf2cbab
 
 
 
 
1fac8fa
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Flan-T5 🤗 with HF.co, fastAPI, Uvicorn, Langchain, and PostgreSQL</title>
    <meta name="description" content="a minimal multi-model AI/ML implementation with api-routing, web-crawling, inference, auth, sql-database" />
    <meta name="keywords" content="AI, machine learning, nanotech, IT, web3, data" />
    <meta name="robots" content="noindex" />
    <meta http-equiv="author" content="Innolink" />
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="expires" content="Thurs, 24 Dec 2026 23:59:59 GMT" />
    
    <link rel="stylesheet" href="static/styles.css" />
    <link rel="stylesheet" href="static/content/bootstrap-5.3.8-dist/css/bootstrap.min.css" />
    <script type="module" src="static/script.js"></script>
    <script type="module" href="static/content/bootstrap-5.3.8-dist/js/bootstrap.bundle.min.js"></script>
  </head>
  <body>
    <main>
      <section id="text-gen">
        <h1>Text generation using Flan T5</h1>
        <p>Model:
          <a href="https://huggingface.co/google/flan-t5-small"
              rel="noreferrer" target="_blank">
            google/flan-t5-small
          </a>
        </p>
        <form class="text-gen-form">
          <label for="text-gen-input">Text prompt</label>
          <input id="text-gen-input" type="text"
            value="English: Translate There are many ducks. German:"
          />
          <button id="text-gen-submit">Submit</button>
          <p class="text-gen-output"></p>
        </form>
      </section>
    </main>
  </body>
</html>