@@ -12,29 +12,29 @@ const inputsSummarization = () =>
1212
1313const inputsTableQuestionAnswering = ( ) =>
1414 `{
15- "query": "How many stars does the transformers repository have?",
16- "table": {
17- "Repository": ["Transformers", "Datasets", "Tokenizers"],
18- "Stars": ["36542", "4512", "3934"],
19- "Contributors": ["651", "77", "34"],
20- "Programming language": [
21- "Python",
22- "Python",
23- "Rust, Python and NodeJS"
24- ]
25- }
15+ "query": "How many stars does the transformers repository have?",
16+ "table": {
17+ "Repository": ["Transformers", "Datasets", "Tokenizers"],
18+ "Stars": ["36542", "4512", "3934"],
19+ "Contributors": ["651", "77", "34"],
20+ "Programming language": [
21+ "Python",
22+ "Python",
23+ "Rust, Python and NodeJS"
24+ ]
25+ }
2626}` ;
2727
2828const inputsVisualQuestionAnswering = ( ) =>
2929 `{
30- "image": "cat.png",
31- "question": "What is in this image?"
32- }`;
30+ "image": "cat.png",
31+ "question": "What is in this image?"
32+ }`;
3333
3434const inputsQuestionAnswering = ( ) =>
3535 `{
36- "question": "What is my name?",
37- "context": "My name is Clara and I live in Berkeley."
36+ "question": "What is my name?",
37+ "context": "My name is Clara and I live in Berkeley."
3838}` ;
3939
4040const inputsTextClassification = ( ) => `"I like you. I love you"` ;
@@ -72,12 +72,12 @@ const inputsFillMask = (model: ModelDataMinimal) => `"The answer to the universe
7272
7373const inputsSentenceSimilarity = ( ) =>
7474 `{
75- "source_sentence": "That is a happy person",
76- "sentences": [
77- "That is a happy dog",
78- "That is a very happy person",
79- "Today is a sunny day"
80- ]
75+ "source_sentence": "That is a happy person",
76+ "sentences": [
77+ "That is a happy dog",
78+ "That is a very happy person",
79+ "Today is a sunny day"
80+ ]
8181}` ;
8282
8383const inputsFeatureExtraction = ( ) => `"Today is a sunny day and I will get some ice cream."` ;
@@ -87,8 +87,8 @@ const inputsImageClassification = () => `"cats.jpg"`;
8787const inputsImageToText = ( ) => `"cats.jpg"` ;
8888
8989const inputsImageToImage = ( ) => `{
90- "image": "cat.png",
91- "prompt": "Turn the cat into a tiger."
90+ "image": "cat.png",
91+ "prompt": "Turn the cat into a tiger."
9292}` ;
9393
9494const inputsImageSegmentation = ( ) => `"cats.jpg"` ;
0 commit comments