File size: 1,527 Bytes
a9ea03f
 
ca2592c
 
 
a9ea03f
ca2592c
a9ea03f
ca2592c
 
 
 
a9ea03f
 
ca2592c
 
 
 
 
 
 
 
 
 
 
 
 
 
a9ea03f
ca2592c
a9ea03f
 
ca2592c
 
 
 
 
 
 
 
a9ea03f
ca2592c
 
 
a9ea03f
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>Fast API 🤗 Space served with Uvicorn</title>
    <link rel="stylesheet" href="style.css"/>
    <script type="module" src="script.js"></script>
</head>
<body>
<main>
    <section id="comma-fixing">
        <h2>Fixing commas using Transformers</h2>
        <p>
            Fine-tuned model:
            <a
                    href="https://huggingface.co/klasocki/roberta-large-lora-ner-comma-fixer"
                    rel="noreferrer"
                    target="_blank"
            >klasocki/roberta-large-lora-ner-comma-fixer
            </a>
        </p>
        <p>
            Baseline model:
            <a
                    href="https://huggingface.co/oliverguhr/fullstop-punctuation-multilang-large"
                    rel="noreferrer"
                    target="_blank"
            >oliverguhr/fullstop-punctuation-multilang-large
            </a>
        </p>
        <form class="comma-fixing-form">
            <label for="comma-fixing-input">Text with incorrect commas</label>
            <input
                    id="comma-fixing-input"
                    type="text"
                    value="This is however a very bad, and terrible sentence grammatically that is."
            />
            <button id="comma-fixing-submit">Submit</button>
            <p class="comma-fixing-output"></p>
        </form>
    </section>
</main>
</body>
</html>