adjidieng / ETM

Topic Modeling in Embedding Spaces
MIT License
540 stars 127 forks source link

args.clip #49

Open Eksi123 opened 1 year ago

Eksi123 commented 1 year ago

if args.clip > 0: torch.nn.utils.clip_gradnorm(model.parameters(), args.clip)

hi everybody!

I just want to know what role dose the above block play? Why is the args.clip default 0 ?