Row 20542
Content Data
This page contains data entry 20542 from the Axioma AXP content repository. The structured data below represents the complete record for this entry.
I am wondering whether it is correct or not... Cuz I saw this in some github repositories also. So to do it correctly, we should apply .zero\_grad() after the .step() under the 'if' condition if we wanna do gradient accumulation?
| Field | Value |
|---|---|
| text | I am wondering whether it is correct or not... Cuz I saw this in some github repositories also. So to do it correctly, we should apply .zero\_grad() after the .step() under the 'if' condition if we wanna do gradient accumulation? |
| label | r/pytorch |
| dataType | comment |
| communityName | r/pytorch |
| datetime | 2024-05-21 |
| username_encoded | Z0FBQUFBQm5LakxfUlBKaWVCTFpSMUdGUGg0YzRSazVGUHk1eEMtVFFlOUdPRk11WFF5MlgxTjMwVmpfUDhGT2pXdGlkX3ZSQkQ5cE0yOWNuLWxvZWcxTUVDV24zNlZLdjlwYzd1TkE1emdzRFJZRUtVT1ZwZFE9 |
| url_encoded | Z0FBQUFBQm5Lak9QVldnX28wOGdNQ2xmR3hITFF3T2tES2p2MUtXZUNsMWQ3aWlOSUlFZDk4UTNkOUZ3aVVGaTBNdWR1aUNfdy1QeW5maEs1UElRRkNNMVFIbUt6ZW0zd21tNVJwN29sejJTQUpxTTJPazlIaU0tMzNrYUd1S1U3bTA0SVNpRU5SaGN5ZlZZMTd6eENfb0FTcnVpaERlY1RaMkdqRXEwNFVGN0xZejdfMmFIc0dsUGhmU0E2bDRSNGM2azhNaEFSZjd0 |
Raw Record
{
"text": "I am wondering whether it is correct or not... Cuz I saw this in some github repositories also. So to do it correctly, we should apply .zero\\_grad() after the .step() under the 'if' condition if we wanna do gradient accumulation?",
"label": "r/pytorch",
"dataType": "comment",
"communityName": "r/pytorch",
"datetime": "2024-05-21",
"username_encoded": "Z0FBQUFBQm5LakxfUlBKaWVCTFpSMUdGUGg0YzRSazVGUHk1eEMtVFFlOUdPRk11WFF5MlgxTjMwVmpfUDhGT2pXdGlkX3ZSQkQ5cE0yOWNuLWxvZWcxTUVDV24zNlZLdjlwYzd1TkE1emdzRFJZRUtVT1ZwZFE9",
"url_encoded": "Z0FBQUFBQm5Lak9QVldnX28wOGdNQ2xmR3hITFF3T2tES2p2MUtXZUNsMWQ3aWlOSUlFZDk4UTNkOUZ3aVVGaTBNdWR1aUNfdy1QeW5maEs1UElRRkNNMVFIbUt6ZW0zd21tNVJwN29sejJTQUpxTTJPazlIaU0tMzNrYUd1S1U3bTA0SVNpRU5SaGN5ZlZZMTd6eENfb0FTcnVpaERlY1RaMkdqRXEwNFVGN0xZejdfMmFIc0dsUGhmU0E2bDRSNGM2azhNaEFSZjd0"
}
Entry Information
- Entry ID: 20542
- Repository: Axioma AXP
- Dataset: arrmlet/reddit_dataset_36
- Total Entries: 100,000