Code Monkey home page Code Monkey logo

cet's Introduction

Hi there 👋

  • 🔭 I’m zheng junhao (郑俊豪). I’m currently a PhD student in South China University of Technology
  • 🤔 My research interests include large language models, continual learning/incremental learning, causal inference. [Google Scholar][Github]
  • 📫 How to reach me: A @ B dot C, where A is junhaozheng47, B is outlook, C is com

info

gtihub-visitors

cet's People

Contributors

zzz47zzz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cet's Issues

DataParallel该怎么用

  1. 按照源代码来跑,报错:AttributeError: 'DataParallel' object has no attribute 'train_model'。定位到问题应该是运行 mian.pymodel = torch.nn.DataParallel(model, device_ids=list(range(torch.cuda.device_count())) 后,model被封装成DataParallel类中的module。故擅自添加了 model = model.module 后不再报错。

  2. 但是用了DataParallel貌似仍然是单卡运行(4块可用)。请问该如何解决?

  3. 单卡跑的时候提示 CUDA out of memory,batch_size用了默认的8,单个GPU内存10G,调整为3左右才可顺利跑起来。

Couldn't find max_input_len

main.py: Line262__getitem__() -> utils/data_utils.py: self.tokenizer() 传入args.max_input_len并没有在parser中添加。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.