pipeline_inputs.json 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. {
  2. "action-detection":{
  3. "input":{
  4. "video":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/videos/action_detection_test_video.mp4"
  5. }
  6. },
  7. "action-recognition":{
  8. "input":{
  9. "video":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/videos/action_recognition_test_video.mp4"
  10. }
  11. },
  12. "animal-recognition":{
  13. "input":{
  14. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/dogs.jpg"
  15. }
  16. },
  17. "chat":{
  18. "input":{
  19. "messages": [{
  20. "role": "user",
  21. "content": "Hello! 你是谁?"
  22. }, {
  23. "role": "assistant",
  24. "content": "我是你的助手。"
  25. }, {
  26. "role": "user",
  27. "content": "你叫什么名字?"
  28. }]
  29. },
  30. "parameters": {
  31. "do_sample": true,
  32. "max_length": 512
  33. }
  34. },
  35. "domain-specific-object-detection":{
  36. "input":{
  37. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/image_traffic_sign.jpg"
  38. }
  39. },
  40. "face-2d-keypoints":{
  41. "input":{
  42. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/face_detection.png"
  43. }
  44. },
  45. "face-attribute-recognition":{
  46. "input":{
  47. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/face_recognition_1.png"
  48. }
  49. },
  50. "facial-expression-recognition":{
  51. "input":{
  52. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/facial_expression_recognition.jpg"
  53. }
  54. },
  55. "general-recognition":{
  56. "input":{
  57. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/dogs.jpg"
  58. }
  59. },
  60. "human-detection":{
  61. "input":{
  62. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/image_detection.jpg"
  63. }
  64. },
  65. "image-captioning":{
  66. "input":{
  67. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/image_captioning.png"
  68. }
  69. },
  70. "image-classification":{
  71. "input":{
  72. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/content_check.jpg"
  73. }
  74. },
  75. "image-demoireing":{
  76. "input":{
  77. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/shop_segmentation.jpg"
  78. }
  79. },
  80. "image-object-detection":{
  81. "input":{
  82. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/image_detection.jpg"
  83. }
  84. },
  85. "image-portrait-stylization":{
  86. "input":{
  87. "image":"https://modelscope.oss-cn-beijing.aliyuncs.com/test/images/image_cartoon.png"
  88. }
  89. },
  90. "image-segmentation":{
  91. "input":{
  92. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/image_semantic_segmentation.jpg"
  93. },
  94. "parameters":{
  95. }
  96. },
  97. "image-text-retrieval":{
  98. "input":{
  99. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/image_mplug_vqa.jpg",
  100. "text":"What is the woman doing?"
  101. }
  102. },
  103. "indoor-layout-estimation":{
  104. "input":{
  105. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/image_traffic_sign.jpg"
  106. }
  107. },
  108. "live-category":{
  109. "input":{
  110. "video":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/videos/live_category_test_video.mp4"
  111. }
  112. },
  113. "motion-generation":{
  114. "input":{
  115. "text":"the person walked forward and is picking up his toolbox"
  116. }
  117. },
  118. "named-entity-recognition":{
  119. "input":{
  120. "text":"这与温岭市新河镇的一个神秘的传说有关。[SEP]地名"
  121. }
  122. },
  123. "nli":{
  124. "input":[
  125. "四川商务职业学院和四川财经职业学院哪个好?",
  126. "四川商务职业学院商务管理在哪个校区?"
  127. ],
  128. "parameters":{
  129. }
  130. },
  131. "ocr-recognition":{
  132. "input":{
  133. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/image_ocr_recognition.jpg"
  134. }
  135. },
  136. "panorama-depth-estimation":{
  137. "input":{
  138. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/panorama_depth_estimation.jpg"
  139. }
  140. },
  141. "semantic-segmentation":{
  142. "input":{
  143. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/image_salient_detection.jpg"
  144. }
  145. },
  146. "sentence-embedding":{
  147. "input": {
  148. "source_sentence":[
  149. "吃完海鲜可以喝牛奶吗?"
  150. ],
  151. "sentences_to_compare":[
  152. "不可以,早晨喝牛奶不科学",
  153. "吃了海鲜后是不能再喝牛奶的,因为牛奶中含得有维生素C,如果海鲜喝牛奶一起服用会对人体造成一定的伤害",
  154. "吃海鲜是不能同时喝牛奶吃水果,这个至少间隔6小时以上才可以。",
  155. "吃海鲜是不可以吃柠檬的因为其中的维生素C会和海鲜中的矿物质形成砷"
  156. ]
  157. }
  158. },
  159. "shop-segmentation":{
  160. "input":{
  161. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/shop_segmentation.jpg"
  162. }
  163. },
  164. "text-classification":{
  165. "input":{
  166. "text":"i like this wonderful place"
  167. },
  168. "parameters":{
  169. }
  170. },
  171. "text-driven-segmentation":{
  172. "input":{
  173. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/text_driven_segmentation.jpg",
  174. "text":"bear"
  175. }
  176. },
  177. "text-generation":{
  178. "input":{
  179. "text":"蒙古国的首都是乌兰巴托(Ulaanbaatar)\n冰岛的首都是雷克雅未克(Reykjavik)\n埃塞俄比亚的首都是"
  180. },
  181. "parameters":{
  182. }
  183. },
  184. "text-ranking":{
  185. "input":{
  186. "source_sentence":[
  187. "how long it take to get a master's degree"
  188. ],
  189. "sentences_to_compare":[
  190. "On average, students take about 18 to 24 months to complete a master's degree.",
  191. "On the other hand, some students prefer to go at a slower pace and choose to take several years to complete their studies.",
  192. "It can take anywhere from two semesters"
  193. ]
  194. }
  195. },
  196. "text-summarization":{
  197. "input":{
  198. "text":"five-time world champion michelle kwan withdrew from the #### us figure skating championships on wednesday , but will petition us skating officials for the chance to compete at the #### turin olympics ."
  199. }
  200. },
  201. "text-to-video-synthesis":{
  202. "input":{
  203. "text":"A panda eating bamboo on a rock."
  204. }
  205. },
  206. "translation":{
  207. "input":{
  208. "text":"声明补充说,沃伦的同事都深感震惊,并且希望他能够投案自首。"
  209. }
  210. },
  211. "video-captioning":{
  212. "input":{
  213. "video":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/videos/video_caption_and_qa_test.mp4"
  214. }
  215. },
  216. "video-category":{
  217. "input":{
  218. "video":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/videos/video_category_test_video.mp4"
  219. }
  220. },
  221. "video-depth-estimation":{
  222. "input":{
  223. "video":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/videos/video_depth_estimation.mp4"
  224. }
  225. },
  226. "video-embedding":{
  227. "input":{
  228. "video":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/videos/action_recognition_test_video.mp4"
  229. }
  230. },
  231. "video-multi-object-tracking":{
  232. "input":{
  233. "video":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/videos/MOT17-03-partial.mp4"
  234. }
  235. },
  236. "video-panoptic-segmentation":{
  237. "input":{
  238. "video":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/videos/kitti-step_testing_image_02_0000.mp4"
  239. }
  240. },
  241. "video-question-answering":{
  242. "input":{
  243. "video":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/videos/video_caption_and_qa_test.mp4",
  244. "text":"How many people are there?"
  245. }
  246. },
  247. "video-summarization":{
  248. "input":{
  249. "text":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/videos/video_category_test_video.mp4"
  250. }
  251. },
  252. "visual-entailment":{
  253. "input":{
  254. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/dogs.jpg",
  255. "text":"there are two birds."
  256. }
  257. },
  258. "visual-grounding":{
  259. "input":{
  260. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/visual_grounding.png",
  261. "text":"a blue turtle-like pokemon with round head"
  262. }
  263. },
  264. "visual-question-answering":{
  265. "input":{
  266. "image":"http://modelscope.oss-cn-beijing.aliyuncs.com/demo/images/image_mplug_vqa.jpg",
  267. "text":"What is the woman doing?"
  268. }
  269. },
  270. "word-segmentation":{
  271. "input":{
  272. "text":"今天天气不错,适合出去游玩"
  273. }
  274. },
  275. "zero-shot-classification":{
  276. "input":{
  277. "text":"全新突破 解放军运20版空中加油机曝光"
  278. },
  279. "parameters":{
  280. "candidate_labels":[
  281. "文化",
  282. "体育",
  283. "娱乐",
  284. "财经",
  285. "家居",
  286. "汽车",
  287. "教育",
  288. "科技",
  289. "军事"
  290. ]
  291. }
  292. }
  293. }