PaddleNLP icon indicating copy to clipboard operation
PaddleNLP copied to clipboard

[NewFeature] add paddlenlp command

Open wj-Mcat opened this issue 2 years ago • 5 comments

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 ...

wj-Mcat avatar Oct 22 '22 05:10 wj-Mcat

Cool features! 🎉

ZeyuChen avatar Oct 22 '22 08:10 ZeyuChen

commands目录改为cli是否会更简洁?

cool,赞成, 那我调整成cli

wj-Mcat avatar Oct 25 '22 01:10 wj-Mcat

paddlenlp search的示例界面如下所示:

image

wj-Mcat avatar Nov 01 '22 13:11 wj-Mcat

paddlenlp search的示例界面如下所示:

image
  • 这里的model type代表的是什么呢,看ALBERT的是transformer,是使用的base_model_prefix吗,这个可能不太合适,是不是还是用model class或者所在模型目录来表示
  • 另外就是model source这里的official感觉还要商榷下,这些应该都不算是咱们官方的,咱们官方的应该只有文心系列,或者是否咱们直接就去掉model source,这个 @wawltor @ZeyuChen 看下呢

guoshengCS avatar Nov 02 '22 08:11 guoshengCS

  1. model type代表着模型是属于哪中类型,比如bert、albert,当然和更广泛的模型类型(encoder-only、decoder-only、生成式等不同类型的模型)有一定的diff
  2. 目前确实是通过base_model_prefix来获取model type
  3. 如果是community的模型比较难以获取到其model type等信息,不过也是可以的获取的,只需要更新bos上的配置文件即可。

坐等关于model-source 这个概念的讨论

wj-Mcat avatar Nov 02 '22 11:11 wj-Mcat