当我尝试为fairseq模型添加模型支持时,以下操作不存在:
AdaptiveSoftmax
BaseLayer
FairseqDropout
LayerDropModuleList
LayerNorm
PositionalEmbedding
SinusoidalPositionalEmbedding
model: https://huggingface.co/spaces/OFA-Sys/OFA-vqa/tree/main/fairseq/fairseq/models/transformer
是否可以为这些操作添加支持?我正在按照以下教程为添加新模型支持。(https://llm.mlc.ai/docs/compilation/define_new_models.html)
1条答案
按热度按时间alen0pnh1#
更新
define new models
部分也会很好。