Row 6206
Content Data
This page contains data entry 6206 from the Axioma AXP content repository. The structured data below represents the complete record for this entry.
If you want to learn about auto* diff, go look at the micrograd tutorials by Andrej Karpathy.
I would strongly recommend against using pytorch partially like this. It isn't really designed for what you want to do. Anyway, one probable fix is to do the operation directly on the tensor value. I think .data() is the method. So that it isn't captured by the torch.
You will also need to go learn in depth about autograd and the difference between leaf and non-leaf nodes to understand what you've done here and why it is failing.
I'm also not clear why you are retaining graph there. But you'll need to forgive that since I'm looking at this on my phone and formatting is horrible on mobile. Edit: typo again :/
| Field | Value |
|---|---|
| text | If you want to learn about auto* diff, go look at the micrograd tutorials by Andrej Karpathy. I would strongly recommend against using pytorch partially like this. It isn't really designed for what you want to do. Anyway, one probable fix is to do the operation directly on the tensor value. I think .data() is the method. So that it isn't captured by the torch. You will also need to go learn in depth about autograd and the difference between leaf and non-leaf nodes to understand what you've don… |
| label | r/pytorch |
| dataType | comment |
| communityName | r/pytorch |
| datetime | 2024-05-08 |
| username_encoded | Z0FBQUFBQm5LakwyMjZhUXJ3WTVfZFR1SzFEaUdZbURxNS1VS1lFeVdoazdNRmM0SGJqbnRMZFhfdjM3ZlBONnFZN01wR1hmcmtHUzFXM0hHWWZtRy1FZXRNV0NSVlNSWHc9PQ== |
| url_encoded | Z0FBQUFBQm5Lak9HWWlGbExvTU9HdTNJeVh0dmRNMzk1OGpsNGxjWDBtejFtTVVCRlpKcVlLTDFiemd1NXlJNV9scEtYNHdsdTRnQjkwTnNjQmU1SHBncnZNYnJiOHV1LUNLY2VzRE5VZGRjSE5KZjdIb0p0R2VBNHJIeXY1MFpLemdJVjNoYm9DMEFhekMwSUlKN29zejNOdC1mYUNDY0dUZi1aQmVidEF0dFhMQWFiejcwak9qeUE3X2pXd1llbXg0Zm9oWDRiOUFVZ2kxNVBOWERtRmhSd2hEQzdHMmV4dz09 |
Raw Record
{
"text": "If you want to learn about auto* diff, go look at the micrograd tutorials by Andrej Karpathy.\n\nI would strongly recommend against using pytorch partially like this. It isn't really designed for what you want to do. Anyway, one probable fix is to do the operation directly on the tensor value. I think .data() is the method. So that it isn't captured by the torch.\n\nYou will also need to go learn in depth about autograd and the difference between leaf and non-leaf nodes to understand what you've done here and why it is failing. \n\nI'm also not clear why you are retaining graph there. But you'll need to forgive that since I'm looking at this on my phone and formatting is horrible on mobile. Edit: typo again :/",
"label": "r/pytorch",
"dataType": "comment",
"communityName": "r/pytorch",
"datetime": "2024-05-08",
"username_encoded": "Z0FBQUFBQm5LakwyMjZhUXJ3WTVfZFR1SzFEaUdZbURxNS1VS1lFeVdoazdNRmM0SGJqbnRMZFhfdjM3ZlBONnFZN01wR1hmcmtHUzFXM0hHWWZtRy1FZXRNV0NSVlNSWHc9PQ==",
"url_encoded": "Z0FBQUFBQm5Lak9HWWlGbExvTU9HdTNJeVh0dmRNMzk1OGpsNGxjWDBtejFtTVVCRlpKcVlLTDFiemd1NXlJNV9scEtYNHdsdTRnQjkwTnNjQmU1SHBncnZNYnJiOHV1LUNLY2VzRE5VZGRjSE5KZjdIb0p0R2VBNHJIeXY1MFpLemdJVjNoYm9DMEFhekMwSUlKN29zejNOdC1mYUNDY0dUZi1aQmVidEF0dFhMQWFiejcwak9qeUE3X2pXd1llbXg0Zm9oWDRiOUFVZ2kxNVBOWERtRmhSd2hEQzdHMmV4dz09"
}
Entry Information
- Entry ID: 6206
- Repository: Axioma AXP
- Dataset: arrmlet/reddit_dataset_36
- Total Entries: 100,000