PaddleNLP
PaddleNLP copied to clipboard
[NewFeature] add paddlenlp command
PR types
New features
PR changes
APIs
Description
add paddlenlp
command tools to do more fancy things, eg: search models, download models and so on ...
Cool features! 🎉
commands目录改为cli是否会更简洁?
cool,赞成, 那我调整成cli
。
paddlenlp search
的示例界面如下所示:

paddlenlp search
的示例界面如下所示:![]()
- 这里的model type代表的是什么呢,看ALBERT的是transformer,是使用的
base_model_prefix
吗,这个可能不太合适,是不是还是用model class或者所在模型目录来表示 - 另外就是model source这里的official感觉还要商榷下,这些应该都不算是咱们官方的,咱们官方的应该只有文心系列,或者是否咱们直接就去掉model source,这个 @wawltor @ZeyuChen 看下呢
-
model type
代表着模型是属于哪中类型,比如bert、albert,当然和更广泛的模型类型(encoder-only、decoder-only、生成式等不同类型的模型)有一定的diff - 目前确实是通过
base_model_prefix
来获取model type
- 如果是community的模型比较难以获取到其
model type
等信息,不过也是可以的获取的,只需要更新bos上的配置文件即可。
坐等关于model-source 这个概念的讨论