Navigation

    Gpushare.com

    • Register
    • Login
    • Search
    • Popular
    • Categories
    • Recent
    • Tags

    【记录】lightning-hydra-template工具

    技术交流
    1
    1
    81
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 183****0229
      183****0229 last edited by 183****0229

      感想

      个人感觉现在pytorch领域有两个法宝,一个是pytorch-lighting
      https://github.com/PyTorchLightning/pytorch-lightning ,另一个是transformers库
      https://github.com/huggingface/transformers。
      之前想着要是能同时使用这两大法宝就好了,transformers专注于模型,pytorch-lighting专注于训练。
      现在pytorchlightning团队,也开发了https://github.com/PyTorchLightning/lightning-transformers,感觉可能自己扩展起来不怎么方便。
      后来发现有个lightning-hydra-template,https://github.com/ashleve/lightning-hydra-template 感觉可以自己自定义可插拔式的类进行实验。

      pytorch-lighting

      The lightweight PyTorch wrapper for high-performance AI research. Scale your models, not the boilerplate.

      transformers

      🤗 Transformers: State-of-the-art Natural Language Processing for Pytorch, TensorFlow, and JAX.
      (huggingface全家桶,感觉用起来还是很不错,accelerate,datasets,tokenizer)

      end

      有没有同是使用transformers全家桶+pytorch lightning的小伙伴?

      1 Reply Last reply Reply Quote 1
      • First post
        Last post