| [ |
| { |
| "metadataOutputVersion" : "3.0", |
| "outputSchema" : [ |
| { |
| "isOptional" : "0", |
| "formattedType" : "String", |
| "type" : "String", |
| "name" : "label", |
| "shortDescription" : "Text label" |
| } |
| ], |
| "modelParameters" : [ |
| |
| ], |
| "author" : "Wenson Hsieh", |
| "specificationVersion" : 3, |
| "license" : "\/*\n * Copyright (C) 2021 Apple Inc. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n * notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n * notice, this list of conditions and the following disclaimer in the\n * documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS\n * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\n * THE POSSIBILITY OF SUCH DAMAGE.\n *\/", |
| "isUpdatable" : "0", |
| "availability" : { |
| "macOS" : "10.14", |
| "tvOS" : "12.0", |
| "watchOS" : "5.0", |
| "iOS" : "12.0", |
| "macCatalyst" : "12.0" |
| }, |
| "modelType" : { |
| "name" : "MLModelType_textClassifier" |
| }, |
| "inputSchema" : [ |
| { |
| "isOptional" : "0", |
| "formattedType" : "String", |
| "type" : "String", |
| "name" : "text", |
| "shortDescription" : "Input text" |
| } |
| ], |
| "classLabels" : [ |
| "negative", |
| "positive", |
| "neutral", |
| "other" |
| ], |
| "generatedClassName" : "TestModalContainerControls", |
| "userDefinedMetadata" : { |
| "com.apple.createml.version" : "13.0.0", |
| "com.apple.createml.app.tag" : "78.5", |
| "com.apple.coreml.model.preview.type" : "textClassifier", |
| "com.apple.createml.app.version" : "3.0" |
| }, |
| "method" : "predict" |
| } |
| ] |