LMonan
3 years ago
| 120 | 120 | ], |
| 121 | 121 | "metadata": { |
| 122 | 122 | "kernelspec": { |
| 123 | "display_name": "Python 3", | |
| 123 | "display_name": "Python 3 (ipykernel)", | |
| 124 | 124 | "language": "python", |
| 125 | 125 | "name": "python3" |
| 126 | 126 | }, |
| 134 | 134 | "name": "python", |
| 135 | 135 | "nbconvert_exporter": "python", |
| 136 | 136 | "pygments_lexer": "ipython3", |
| 137 | "version": "3.5.2" | |
| 138 | }, | |
| 137 | "version": "3.7.5" | |
| 138 | }, | |
| 139 | 139 | "pycharm": { |
| 140 | 140 | "stem_cell": { |
| 141 | 141 | "cell_type": "raw", |
| 142 | "source": [], | |
| 143 | 142 | "metadata": { |
| 144 | 143 | "collapsed": false |
| 145 | } | |
| 146 | } | |
| 147 | } | |
| 144 | }, | |
| 145 | "source": [] | |
| 146 | } | |
| 147 | } | |
| 148 | 148 | }, |
| 149 | 149 | "nbformat": 4, |
| 150 | 150 | "nbformat_minor": 2 |
| 0 | input: | |
| 1 | things: | |
| 2 | name: things | |
| 3 | value_type: str | |
| 4 | description: 所求之事 | |
| 5 | pray: | |
| 6 | name: pray | |
| 7 | value_type: str | |
| 8 | description: 祈祷 | |
| 9 | output: | |
| 10 | ret1: | |
| 11 | name: ret1 | |
| 12 | value_type: str | |
| 13 | description: 本卦 | |
| 14 | ret2: | |
| 15 | name: ret2 | |
| 16 | value_type: str | |
| 17 | description: 变卦 |
| 0 | ||
| 1 | { | |
| 2 | "cells": [ | |
| 3 | { | |
| 4 | "cell_type": "code", | |
| 5 | "execution_count": null, | |
| 6 | "metadata": {}, | |
| 7 | "outputs": [], | |
| 8 | "source": [ | |
| 9 | "print('Hello Mo!')" | |
| 10 | ] | |
| 11 | } | |
| 12 | ], | |
| 13 | "metadata": { | |
| 14 | "kernelspec": { | |
| 15 | "display_name": "Python 3", | |
| 16 | "language": "python", | |
| 17 | "name": "python3" | |
| 18 | }, | |
| 19 | "language_info": { | |
| 20 | "codemirror_mode": { | |
| 21 | "name": "ipython", | |
| 22 | "version": 3 | |
| 23 | }, | |
| 24 | "file_extension": ".py", | |
| 25 | "mimetype": "text/x-python", | |
| 26 | "name": "python", | |
| 27 | "nbconvert_exporter": "python", | |
| 28 | "pygments_lexer": "ipython3", | |
| 29 | "version": "3.5.2" | |
| 30 | } | |
| 31 | }, | |
| 32 | "nbformat": 4, | |
| 33 | "nbformat_minor": 2 | |
| 34 | } | |
| 35 | ⏎ |
| 0 | def handle(conf): | |
| 1 | """ | |
| 2 | 该方法是部署之后,其他人调用你的服务时候的处理方法。 | |
| 3 | 请按规范填写参数结构,这样我们就能替你自动生成配置文件,方便其他人的调用。 | |
| 4 | 范例: | |
| 5 | params['key'] = value # value_type: str # description: some description | |
| 6 | value_type 可以选择:img, video, audio, str, int, float, [int], [str], [float] | |
| 7 | 参数请放到params字典中,我们会自动解析该变量。 | |
| 8 | """ | |
| 9 | ||
| 10 | param1 = conf['param1'] # value_type: str # description: some description | |
| 11 | # add your code | |
| 12 | return {'ret1': 'cat'} | |
| 13 | ⏎ |
| 0 | { | |
| 1 | "cells": [ | |
| 2 | { | |
| 3 | "cell_type": "code", | |
| 4 | "execution_count": 1, | |
| 5 | "metadata": {}, | |
| 6 | "outputs": [], | |
| 7 | "source": [ | |
| 8 | "def handle(conf):\n", | |
| 9 | " \"\"\"\n", | |
| 10 | " 该方法是部署之后,其他人调用你的服务时候的处理方法。\n", | |
| 11 | " 请按规范填写参数结构,这样我们就能替你自动生成配置文件,方便其他人的调用。\n", | |
| 12 | " 范例:\n", | |
| 13 | " params['key'] = value # value_type: str # description: some description\n", | |
| 14 | " value_type 可以选择:img, video, audio, str, int, float, [int], [str], [float]\n", | |
| 15 | " 参数请放到params字典中,我们会自动解析该变量。\n", | |
| 16 | " \"\"\"\n", | |
| 17 | "\n", | |
| 18 | " things = conf['things'] # value_type: str # description: some description\n", | |
| 19 | " pray = conf['pray']\n", | |
| 20 | " \n", | |
| 21 | " # add your code\n", | |
| 22 | " return {'ret1': 'cat'}\n", | |
| 23 | " " | |
| 24 | ] | |
| 25 | }, | |
| 26 | { | |
| 27 | "cell_type": "code", | |
| 28 | "execution_count": null, | |
| 29 | "metadata": { | |
| 30 | "inputHidden": false | |
| 31 | }, | |
| 32 | "outputs": [], | |
| 33 | "source": [] | |
| 34 | } | |
| 35 | ], | |
| 36 | "metadata": { | |
| 37 | "kernelspec": { | |
| 38 | "display_name": "Python 3 (ipykernel)", | |
| 39 | "language": "python", | |
| 40 | "name": "python3" | |
| 41 | }, | |
| 42 | "language_info": { | |
| 43 | "codemirror_mode": { | |
| 44 | "name": "ipython", | |
| 45 | "version": 3 | |
| 46 | }, | |
| 47 | "file_extension": ".py", | |
| 48 | "mimetype": "text/x-python", | |
| 49 | "name": "python", | |
| 50 | "nbconvert_exporter": "python", | |
| 51 | "pygments_lexer": "ipython3", | |
| 52 | "version": "3.7.5" | |
| 53 | } | |
| 54 | }, | |
| 55 | "nbformat": 4, | |
| 56 | "nbformat_minor": 2 | |
| 57 | } |
| 0 | ############################################################################### | |
| 1 | # 重要: 请务必把任务(jobs)中需要保存的文件存放在 results 文件夹内 | |
| 2 | # Important : Please make sure your files are saved to the 'results' folder | |
| 3 | # in your jobs | |
| 4 | ############################################################################### | |
| 5 | print('Hello Mo!') | |
| 6 | def handle(conf): | |
| 7 | """ | |
| 8 | 该方法是部署之后,其他人调用你的服务时候的处理方法。 | |
| 9 | 请按规范填写参数结构,这样我们就能替你自动生成配置文件,方便其他人的调用。 | |
| 10 | 范例: | |
| 11 | params['key'] = value # value_type: str # description: some description | |
| 12 | value_type 可以选择:img, video, audio, str, int, float, [int], [str], [float] | |
| 13 | 参数请放到params字典中,我们会自动解析该变量。 | |
| 14 | """ | |
| 15 | ||
| 16 | things = conf['things'] # value_type: str # description: some description | |
| 17 | pray = conf['pray'] | |
| 18 | ||
| 19 | # add your code | |
| 20 | return {'ret1': 'cat'} | |
| 21 | ⏎ |
| 0 | murmurhash==1.0.6 | |
| 1 | jmespath==0.10.0 | |
| 2 | configparser==5.2.0 | |
| 3 | imbalanced-learn==0.6.2 | |
| 4 | Augmentor==0.2.8 | |
| 5 | scikit-image==0.15.0 | |
| 6 | tensorboard-data-server==0.6.1 | |
| 7 | requests-oauthlib==1.3.1 | |
| 8 | argon2-cffi-bindings==21.2.0 | |
| 9 | thinc==7.4.1 | |
| 10 | charset-normalizer==2.0.12 | |
| 11 | nltk==3.5 | |
| 12 | transformers==4.1.1 | |
| 13 | astunparse==1.6.3 | |
| 14 | PyWavelets==1.2.0 | |
| 15 | semantic-version==2.8.5 | |
| 16 | sentencepiece==0.1.91 | |
| 17 | PyAudio==0.2.11 | |
| 18 | greenlet==1.1.2 | |
| 19 | ruamel.yaml.clib==0.2.6 | |
| 20 | pyasn1==0.4.8 | |
| 21 | attrs==19.3.0 | |
| 22 | retrying==1.3.3 | |
| 23 | torchtext==0.6.0 | |
| 24 | func-timeout==4.3.5 | |
| 25 | gym==0.15.7 | |
| 26 | importlib-metadata==4.11.1 | |
| 27 | pyasn1-modules==0.2.8 | |
| 28 | cmake==3.21.1 | |
| 29 | word2vec==0.11.1 | |
| 30 | packaging==21.3 | |
| 31 | preshed==3.0.6 | |
| 32 | regex==2022.1.18 | |
| 33 | tensorflow-privacy==0.5.2 | |
| 34 | rsa==4.8 | |
| 35 | easydict==1.9 | |
| 36 | spacy==2.3.2 | |
| 37 | tensorboardX==2.0 | |
| 38 | defusedxml==0.7.1 | |
| 39 | s3transfer==0.3.3 | |
| 40 | networkx==2.6.3 | |
| 41 | catalogue==1.0.0 | |
| 42 | openpyxl==2.6.4 | |
| 43 | dm-tree==0.1.6 | |
| 44 | imageio==2.8.0 | |
| 45 | metakernel==0.28.2 | |
| 46 | opt-einsum==3.3.0 | |
| 47 | cachetools==3.1.1 | |
| 48 | smart-open==5.2.1 | |
| 49 | multipledispatch==0.6.0 | |
| 50 | argon2-cffi==21.3.0 | |
| 51 | tinycss2==1.1.1 | |
| 52 | graphviz==0.14 | |
| 53 | minio==5.0.10 | |
| 54 | boto3==1.16.25 | |
| 55 | unification==0.2.2 | |
| 56 | oauthlib==3.2.0 | |
| 57 | google-auth==2.6.0 | |
| 58 | gensim==3.8.3 | |
| 59 | tensorboard-plugin-wit==1.8.1 | |
| 60 | pytorch-pretrained-bert==0.6.2 | |
| 61 | plotly==4.8.1 | |
| 62 | joblib==1.1.0 | |
| 63 | pydot==1.4.1 | |
| 64 | sacremoses==0.0.47 | |
| 65 | calysto==1.0.6 | |
| 66 | mpmath==1.2.1 | |
| 67 | toolz==0.11.2 | |
| 68 | en-core-web-sm==https://files.momodel.cn/en_core_web_sm-2.3.0.tar.gz | |
| 69 | rouge==1.0.0 | |
| 70 | plac==1.1.3 | |
| 71 | importlib-resources==5.4.0 | |
| 72 | et-xmlfile==1.1.0 | |
| 73 | typing-extensions==4.1.1 | |
| 74 | certipy==0.1.3 | |
| 75 | platformdirs==2.5.1 | |
| 76 | debugpy==1.5.1 | |
| 77 | kanren==0.2.3 | |
| 78 | cryptography==36.0.1 | |
| 79 | python-json-logger==2.0.2 | |
| 80 | ruamel.yaml==0.17.21 | |
| 81 | pyglet==1.5.0 | |
| 82 | cymem==2.0.6 | |
| 83 | Shapely==1.7.0 | |
| 84 | click==8.0.4 | |
| 85 | jdcal==1.4.1 | |
| 86 | jupyter-telemetry==0.1.0 | |
| 87 | tensorflow-federated==0.17.0 | |
| 88 | tensorflow-estimator==2.3.0 | |
| 89 | cloudpickle==1.2.2 | |
| 90 | jupyterlab-server==0.2.0 | |
| 91 | nest-asyncio==1.5.4 | |
| 92 | mindspore==https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.0.0/MindSpore/cpu/ubuntu_x86/mindspore-1.0.0-cp37-cp37m-linux_x86_64.whl | |
| 93 | google-pasta==0.2.0 | |
| 94 | async-generator==1.10 | |
| 95 | yellowbrick==1.1 | |
| 96 | tf-slim==1.1.0 | |
| 97 | xlrd==1.2.0 | |
| 98 | numpyencoder==0.3.0 | |
| 99 | copulas==0.3.3 | |
| 100 | torch==1.4.0+cpu | |
| 101 | typeguard==2.13.3 | |
| 102 | pyOpenSSL==22.0.0 | |
| 103 | matplotlib-inline==0.1.3 | |
| 104 | tqdm==4.46.1 | |
| 105 | torchvision==0.5.0+cpu | |
| 106 | wrapt==1.13.3 | |
| 107 | google-auth-oauthlib==0.4.6 | |
| 108 | pycparser==2.21 | |
| 109 | filelock==3.6.0 | |
| 110 | botocore==1.19.25 | |
| 111 | XlsxWriter==1.4.3 | |
| 112 | dlib==19.22.0 | |
| 113 | portpicker==1.3.9 | |
| 114 | pytorch-transformers==1.2.0 | |
| 115 | srsly==1.0.5 | |
| 116 | distlib==0.3.4 | |
| 117 | Cython==0.29.20 | |
| 118 | install==1.3.5 | |
| 119 | cssselect2==0.4.1 | |
| 120 | CairoSVG==2.5.2 | |
| 121 | pygame==2.0.1 | |
| 122 | ipdb==0.13.2 | |
| 123 | zipp==3.7.0 | |
| 124 | tensorflow-model-optimization==0.4.1 | |
| 125 | wasabi==0.9.0 | |
| 126 | svgwrite==1.4.1 | |
| 127 | baytune==0.3.12 | |
| 128 | jieba==0.42.1 | |
| 129 | minepy==1.2.4 | |
| 130 | cffi==1.15.0 | |
| 131 | blis==0.4.1 | |
| 132 | paddlepaddle==2.0.1 | |
| 133 | cairocffi==1.3.0 | |
| 134 | tensorflow-addons==0.11.2 | |
| 135 | sympy==1.6.2 | |
| 136 | pyrsistent==0.18.1 | |
| 137 | imgaug==0.4.0 | |
| 138 | asttokens==2.0.5 | |
| 139 | tokenizers==0.9.4 |