浅谈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

使用特点

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



相关文章
|
安全 网络安全
Foxmail邮箱提示错误:ssl连接错误,errorCode:5解决方法
Foxmail邮箱提示错误:ssl连接错误,errorCode:5解决方法
10598 0
|
消息中间件 存储 负载均衡
【Kafka】Kafka 分区
【4月更文挑战第5天】【Kafka】Kafka 分区
|
机器学习/深度学习 自然语言处理 达摩院
Modelscope 工程介绍及实战演示| 学习笔记
快速学习 Modelscope 工程介绍及实战演示
Modelscope 工程介绍及实战演示| 学习笔记
|
人工智能 安全 Apache
QwenPaw:你的私人 AI 助理 —— 数据归你、记忆进化、多端触达的开源个人智能体
QwenPaw 是一款开源、本地优先的AI个人智能体(Apache 2.0),数据归属用户、记忆自主进化、支持钉钉/飞书/微信等多端触达。3行命令即可部署,内置Coding IDE、Persona人格、定时任务、MCP工具生态与多Agent协作,真正属于你的私有AI助理。
QwenPaw:你的私人 AI 助理 —— 数据归你、记忆进化、多端触达的开源个人智能体
|
人工智能 自然语言处理 API
ModelScope是什么
【9月更文挑战第1天】ModelScope是什么
5214 2
|
10月前
|
存储 弹性计算 人工智能
挖到宝了!阿里云服务器38元一年,2核2G、200M峰值带宽、40G系统盘,不限流量超划算
2026年阿里云服务器低价攻略:新用户轻量服务器2核2G仅38元/年(200M带宽+40G SSD),ECS普惠款99元起;推荐多年付享3折、叠加秒杀/券/组合购,个人省80%、企业省40%+。避坑关键:勿原价购、慎选按量付费、按需配置。
|
机器学习/深度学习 算法 安全
大模型微调 PPO 原理 —— 零基础也能懂的强化学习微调逻辑
本文通俗解析PPO算法在大模型RLHF微调中的核心作用:以人类反馈为依据,通过奖励模型量化偏好,借助“近端约束”实现安全、稳定、渐进的策略优化,解决传统微调无偏好导向与更新不稳的痛点。零基础可懂,附实操平台入口。
|
11月前
|
数据可视化 定位技术 开发工具
榜单不盲从:用 EvalScope 打造你的专属场景评测
本文介绍如何通过EvalScope构建自定义评测指数,突破通用榜单局限,结合业务需求定义权重,实现模型在真实场景中的价值评估,助力选出真正适配业务的“最佳模型”。
1239 6
|
机器学习/深度学习 自然语言处理 测试技术
魔搭社区模型速递(5.25-6.1)
魔搭ModelScope本期社区进展:📟1636个模型,📁663个数据集,🎨147个创新应用,📄 6 篇内容
834 0
魔搭社区模型速递(5.25-6.1)
|
自然语言处理 小程序
ModelScope体验:自然语言推理模型应用
自然语言推理,即输入形如(前提句,假设句)的句子对数据,模型会给出该句子对应的自然语言推理标签(contradiction、entailment、neutral)以及相应的概率,从而反映出句子对之间的关系。本文以“达摩自然语言推理”模型为例,展示了如果调用ModelScope工具,并通过gradio将该功能部署为小程序的过程。

热门文章

最新文章