浅谈ModelScope

简介: ModelScope是阿里推出的下一代开源的模型即服务共享平台,为泛AI开发者提供灵活、易用、低成本的一站式模型服务产品,其开发目标为让模型应用更简单。ModelScope希望在汇集行业领先的预训练模型,减少开发者的重复研发成本,提供更加绿色环保、开源开放的AI开发环境和模型服务,助力绿色“数字经济”事业的建设。ModelScope平台以开源的方式提供了多类优质模型,开发者可在平台上免费体验与下载使用。

随着近几年文本信息的爆发式增长,人们每天都接触到海量的文本信息,如新闻、微博等。如何从大量文本信息中提取关键的信息,已成为迫切需求。而生成式摘要则提供了一个高效的解决方案,相比于抽取式摘要,生成式摘要更接近人类写摘要的风格。生成式摘要有非常多的应用场景,如新闻标题生成、自动报告生成等。

ModelScope简介

ModelScope旨在打造下一代开源的模型即服务共享平台,为泛AI开发者提供灵活、易用、低成本的一站式模型服务产品,让模型应用更简单!

我们希望在汇集行业领先的预训练模型,减少开发者的重复研发成本,提供更加绿色环保、开源开放的AI开发环境和模型服务,助力绿色“数字经济”事业的建设。 ModelScope平台将以开源的方式提供多类优质模型,开发者可在平台上免费体验与下载使用。

若您也和我们有相同的初衷,欢迎关注我们,我们鼓励并支持个人或企业开发者与我们联系,平台将为您构建更好的支持服务,共同为泛AI社区做出贡献。

ModelScope服务


  • 丰富的预训练SOTA模型

覆盖NLP、CV、Audio等多领域的具有竞争力的SOTA模型,更有行业领先的多模态大模型,全部免费开放下载以及使用。

  • 多元开放的数据集

汇集行业和学术热门的公开数据集,更有阿里巴巴集团贡献的专业领域数据集等你来探索。

  • 一行代码使用模型推理能力

提供基于模型的本地推理接口,以及线上模型推理预测服务,方便开发者快速验证与使用。

  • 十行代码快速构建专属行业模型

十行代码实现对预训练模型的调优训练(finetune),方便开发者基于行业数据集快速构建专属行业模型。

  • 即开即用的在线开发平台

一键开启在线notebook实训平台,集成官方镜像免除环境安装困扰,链接澎湃云端算力,体验便捷的交互式编程。

  • 灵活的模型框架与部署方式

兼容主流AI框架,更好地实现模型迁移;多种模型训练与服务部署方式,提供更多自主可控的选择。

  • 丰富的教学内容与技术资源

提供友好的优质的教程内容与开放的社区氛围,帮助开发者学习成长。

使用方便

ModelScope提供了一个API调用所有模型的选项,对于不同的复杂模型只需一行代码即可调用,极大地方便了开发者对于模型的使用。

from modelscope.pipelines import pipeline
from modelscope.utils.constant import Tasks
semantic_cls = pipeline(Tasks.sentiment_classification, 'damo/nlp_structbert_sentiment-classification_chinese-base')
semantic_cls(input='启动的时候很大声音,然后就会听到1.2秒的卡察的声音,类似齿轮摩擦的声音')
from modelscope.pipelines import pipeline
from modelscope.utils.constant import Tasks
text_generation_en = pipeline(Tasks.text_generation, model='damo/nlp_palm2.0_text-generation_english-base')
result_en = text_generation_en("The Director of Public Prosecutions who let off Lord Janner over alleged child sex abuse started"
"her career at a legal chambers when the disgraced Labour peer was a top QC there . Alison Saunders ,"
"54 , sparked outrage last week when she decided the 86-year-old should not face astring of charges"
"of paedophilia against nine children because he has dementia . Today , newly-released documents"
"revealed damning evidence that abuse was covered up by police andsocial workers for more than 20 years ."
"And now it has emerged Mrs Saunders ' law career got off to a flying start when she secured her"
"pupillage -- a barrister 's training contract at 1 Garden Court Chambers in London in 1983 .")
print(result_en['text'])
"Alison Saunders, 54, sparked outrage last week when she decided the 86-year-old should not face charges of paedophilia against nine children because he has dementia. New documents reveal damning evidence that abuse was covered up by police and social workers for more than 20 years. Mrs Saunders'law career got off to a flying start when she secured her pupillage - a barrister"

frommodelscope.pipelinesimportpipeline

frommodelscope.utils.constantimportTasks

text_generation_en=pipeline(Tasks.text_generation, model='damo/nlp_palm2.0_text-generation_english-base')

result_en=text_generation_en("The Director of Public Prosecutions who let off Lord Janner over alleged child sex abuse started"

"her career at a legal chambers when the disgraced Labour peer was a top QC there . Alison Saunders ,"

"54 , sparked outrage last week when she decided the 86-year-old should not face astring of charges"

"of paedophilia against nine children because he has dementia . Today , newly-released documents"

"revealed damning evidence that abuse was covered up by police andsocial workers for more than 20 years ."

"And now it has emerged Mrs Saunders ' law career got off to a flying start when she secured her"

"pupillage -- a barrister 's training contract at 1 Garden Court Chambers in London in 1983 .")

print(result_en['text'])

"Alison Saunders, 54, sparked outrage last week when she decided the 86-year-old should not face charges of paedophilia against nine children because he has dementia. New documents reveal damning evidence that abuse was covered up by police and social workers for more than 20 years. Mrs Saunders'law career got off to a flying start when she secured her pupillage - a barrister"

快速体验


1660180419025_441E0432-2E72-4150-B95C-9E1F1DCEE971.png1660100486443_3F8C4976-7AE3-40cc-B69B-B3D9DFCFF0BC.png1660100438735_30135707-A2CC-49cd-81A6-5C527F445CD6.png1660100401942_24310C73-92E4-4bd3-B00C-6E83EF034E0B.png

使用特点

具有快速,方便,简洁等功效,使用灵活,是办公者使用的最佳助手。



相关文章
|
传感器 芯片 内存技术
STM32F103标准外设库——认识STM32(一)
STM32F103标准外设库——认识STM32(一)
847 0
STM32F103标准外设库——认识STM32(一)
|
安全 网络安全
Foxmail邮箱提示错误:ssl连接错误,errorCode:5解决方法
Foxmail邮箱提示错误:ssl连接错误,errorCode:5解决方法
10497 0
|
机器学习/深度学习 自然语言处理 开发工具
ModelScope--人像卡通化、人像美肤
利用ModelScope实现美拍人喜欢的人像处理卡通化、人像美肤
ModelScope--人像卡通化、人像美肤
|
机器学习/深度学习 并行计算 Shell
docker 获取Nvidia 镜像 | cuda |cudnn
本文分享如何使用docker获取Nvidia 镜像,包括cuda10、cuda11等不同版本,cudnn7、cudnn8等,快速搭建深度学习环境。
8669 0
|
人工智能 安全 Apache
QwenPaw:你的私人 AI 助理 —— 数据归你、记忆进化、多端触达的开源个人智能体
QwenPaw 是一款开源、本地优先的AI个人智能体(Apache 2.0),数据归属用户、记忆自主进化、支持钉钉/飞书/微信等多端触达。3行命令即可部署,内置Coding IDE、Persona人格、定时任务、MCP工具生态与多Agent协作,真正属于你的私有AI助理。
QwenPaw:你的私人 AI 助理 —— 数据归你、记忆进化、多端触达的开源个人智能体
|
9月前
|
边缘计算 人工智能 物联网
Ultralytics YOLO26来啦!5种尺寸全家桶,速度与精度兼顾
Ultralytics发布YOLO26,系列迄今最先进、易部署的模型,支持分类、检测、分割、姿态估计等多任务。五种尺寸灵活适配边缘设备,CPU推理提速43%,首创无NMS端到端推理,移除DFL提升兼容性,已上架魔搭社区。(239字)
1952 14
|
人工智能 自然语言处理 API
ModelScope是什么
【9月更文挑战第1天】ModelScope是什么
5162 2
|
10月前
|
数据可视化 定位技术 开发工具
榜单不盲从:用 EvalScope 打造你的专属场景评测
本文介绍如何通过EvalScope构建自定义评测指数,突破通用榜单局限,结合业务需求定义权重,实现模型在真实场景中的价值评估,助力选出真正适配业务的“最佳模型”。
1139 6
|
自然语言处理 小程序
ModelScope体验:自然语言推理模型应用
自然语言推理,即输入形如(前提句,假设句)的句子对数据,模型会给出该句子对应的自然语言推理标签(contradiction、entailment、neutral)以及相应的概率,从而反映出句子对之间的关系。本文以“达摩自然语言推理”模型为例,展示了如果调用ModelScope工具,并通过gradio将该功能部署为小程序的过程。

热门文章

最新文章