Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 1,918 Bytes
b2ecf7d |
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 |
import type { TaskDataCustom } from "../Types";
const taskData: TaskDataCustom = {
datasets: [
{
description: "A dataset of copyright-free books translated into 16 different languages.",
id: "opus_books",
},
{
description:
"An example of translation between programming languages. This dataset consists of functions in Java and C#.",
id: "code_x_glue_cc_code_to_code_trans",
},
],
demo: {
inputs: [
{
label: "Input",
content: "My name is Omar and I live in Zürich.",
type: "text",
},
],
outputs: [
{
label: "Output",
content: "Mein Name ist Omar und ich wohne in Zürich.",
type: "text",
},
],
},
metrics: [
{
description:
"BLEU score is calculated by counting the number of shared single or subsequent tokens between the generated sequence and the reference. Subsequent n tokens are called “n-grams”. Unigram refers to a single token while bi-gram refers to token pairs and n-grams refer to n subsequent tokens. The score ranges from 0 to 1, where 1 means the translation perfectly matched and 0 did not match at all",
id: "bleu",
},
{
description: "",
id: "sacrebleu",
},
],
models: [
{
description: "A model that translates from English to French.",
id: "Helsinki-NLP/opus-mt-en-fr",
},
{
description:
"A general-purpose Transformer that can be used to translate from English to German, French, or Romanian.",
id: "t5-base",
},
],
spaces: [
{
description: "An application that can translate between 100 languages.",
id: "Iker/Translate-100-languages",
},
{
description: "An application that can translate between English, Spanish and Hindi.",
id: "EuroPython2022/Translate-with-Bloom",
},
],
summary: "Translation is the task of converting text from one language to another.",
widgetModels: ["t5-small"],
youtubeId: "1JvfrvZgi6c",
};
export default taskData;
|