-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
拿辰
committed
Oct 26, 2023
1 parent
4e0749b
commit 6540a35
Showing
173 changed files
with
6,206 additions
and
1 deletion.
There are no files selected for viewing
Submodule facechain_agent
deleted from
1818ba
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
license: Apache License 2.0 | ||
domain: #领域:cv/nlp/audio/multi-modal/AutoML | ||
# - cv | ||
tags: #自定义标签 | ||
- | ||
datasets: #关联数据集 | ||
evaluation: | ||
#- damotest/beans | ||
test: | ||
#- damotest/squad | ||
train: | ||
#- modelscope/coco_2014_caption | ||
models: | ||
- damo/cv_ddsar_face-detection_iclr23-damofd | ||
- damo/cv_resnet101_image-multiple-human-parsing | ||
- damo/cv_unet_skin-retouching | ||
- damo/cv_resnet34_face-attribute-recognition_fairface | ||
- damo/cv_manual_face-quality-assessment_fqa | ||
- damo/cv_unet-image-face-fusion_damo | ||
- damo/cv_ir_face-recognition-ood_rts | ||
- damo/cv_manual_facial-landmark-confidence_flcm | ||
- Cherrytest/rot_bgr | ||
- ly261666/cv_portrait_model | ||
- ly261666/civitai_xiapei_lora | ||
deployspec: #部署配置,默认上限CPU4核、内存8GB、无GPU、单实例,超过此规格请联系管理员配置才能生效 | ||
# 部署启动文件(若SDK为Gradio/Streamlit,默认为app.py, 若为Static HTML, 默认为index.html) | ||
# entry_file: | ||
# CPU核数 | ||
cpu: 7 | ||
# 内存(单位MB) | ||
memory: 26500 | ||
# gpu个数 | ||
gpu: 1 | ||
# 实例数 | ||
instance: 1 | ||
instance_type: ecs.gn7i-c8g1.2xlarge | ||
--- | ||
#### Clone with HTTP | ||
```bash | ||
git clone https://www.modelscope.cn/studios/CVstudio/FaceChain_Agent.git | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import os | ||
os.chdir('./demo/facechain_agent') | ||
#os.system('cd ./demo/facechain_agent') | ||
os.system('python app_v1.0.py') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"modelscope-agent": { | ||
"type": "dashscope", | ||
"model": "modelscope-agent-llm-v1", | ||
"generate_cfg": { | ||
"parameters":{ | ||
"use_raw_prompt": true, | ||
"top_p": 0.8, | ||
"top_k": 10, | ||
"seed": 123, | ||
"debug": false | ||
} | ||
} | ||
}, | ||
"http_llm": { | ||
"type":"http_llm" | ||
}, | ||
"openai": { | ||
"model": "gpt-3.5-turbo-16k-0613", | ||
"type": "openai" | ||
}, | ||
"modelscope-agent-qwen-7b":{ | ||
"type": "modelscope", | ||
"model_id": "damo/MSAgent-Qwen-7B", | ||
"model_revision": "v1.0.2", | ||
"use_raw_generation_config": true, | ||
"custom_chat": true | ||
}, | ||
"modelscope-agent-7b":{ | ||
"type": "modelscope", | ||
"model_id": "damo/ModelScope-Agent-7B", | ||
"model_revision": "v1.0.3", | ||
"use_raw_generation_config": true, | ||
"custom_chat": true | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"modelscope_text-address": { | ||
"url": "https://api-inference.modelscope.cn/api-inference/v1/models/damo/mgeo_geographic_elements_tagging_chinese_base" | ||
}, | ||
"modelscope_text-ner": { | ||
"url": "https://api-inference.modelscope.cn/api-inference/v1/models/damo/nlp_raner_named-entity-recognition_chinese-base-cmeee" | ||
}, | ||
"modelscope_text-ie": { | ||
"url": "https://api-inference.modelscope.cn/api-inference/v1/models/damo/nlp_structbert_siamese-uie_chinese-base" | ||
}, | ||
"modelscope_speech-generation": { | ||
"url": "https://api-inference.modelscope.cn/api-inference/v1/models/damo/speech_sambert-hifigan_tts_zh-cn_16k" | ||
}, | ||
"modelscope_video-generation": { | ||
"url": "https://api-inference.modelscope.cn/api-inference/v1/models/damo/text-to-video-synthesis" | ||
}, | ||
"modelscope_image-chat": { | ||
"url": "https://api-inference.modelscope.cn/api-inference/v1/models/damo/multi-modal_mplug_owl_multimodal-dialogue_7b" | ||
}, | ||
"modelscope_text-translation-en2zh": { | ||
"url": "https://api-inference.modelscope.cn/api-inference/v1/models/damo/nlp_csanmt_translation_en2zh" | ||
}, | ||
"modelscope_text-translation-zh2en": { | ||
"url": "https://api-inference.modelscope.cn/api-inference/v1/models/damo/nlp_csanmt_translation_zh2en" | ||
}, | ||
"modelscope_image-generation": { | ||
"url": "https://api-inference.modelscope.cn/api-inference/v1/models/AI-ModelScope/stable-diffusion-xl-base-1.0", | ||
"pipeline_params": { | ||
"use_safetensors": true | ||
} | ||
} | ||
} |
Oops, something went wrong.