🐦 Twitter Post Details

Viewing enriched Twitter post

@PyTorch

This @IBM tutorial shows how to build a spam text classifier from scratch using #PyTorch. AI Engineer and Developer Advocate Anna Gutowska walks through the full NLP workflow, from text preprocessing and #tokenization to training an LSTM model that reaches ~97% accuracy in a few epochs. šŸ“– Read and try it yourself: https://t.co/XNlWZD0mic #OpenSourceAI #MachineLearning

Media 1

šŸ“Š Media Metadata

{
  "media": [
    {
      "type": "photo",
      "url": "https://crmoxkoizveukayfjuyo.supabase.co/storage/v1/object/public/media/posts/2010793653535441192/media_0.jpg?",
      "filename": "media_0.jpg"
    }
  ],
  "processed_at": "2026-01-18T19:38:11.893287",
  "pipeline_version": "2.0"
}

šŸ”§ Raw API Response

{
  "type": "tweet",
  "id": "2010793653535441192",
  "url": "https://x.com/PyTorch/status/2010793653535441192",
  "twitterUrl": "https://twitter.com/PyTorch/status/2010793653535441192",
  "text": "This @IBM tutorial shows how to build a spam text classifier from scratch using #PyTorch.\n\nAI Engineer and Developer Advocate Anna Gutowska walks through the full NLP workflow, from text preprocessing and #tokenization to training an LSTM model that reaches ~97% accuracy in a few epochs.\n\nšŸ“– Read and try it yourself:\nhttps://t.co/XNlWZD0mic\n\n#OpenSourceAI #MachineLearning",
  "source": "Twitter for iPhone",
  "retweetCount": 40,
  "replyCount": 1,
  "likeCount": 272,
  "quoteCount": 3,
  "viewCount": 17339,
  "createdAt": "Mon Jan 12 19:19:00 +0000 2026",
  "lang": "en",
  "bookmarkCount": 197,
  "isReply": false,
  "inReplyToId": null,
  "conversationId": "2010793653535441192",
  "displayTextRange": [
    0,
    305
  ],
  "inReplyToUserId": null,
  "inReplyToUsername": null,
  "author": {
    "type": "user",
    "userName": "PyTorch",
    "url": "https://x.com/PyTorch",
    "twitterUrl": "https://twitter.com/PyTorch",
    "id": "776585502606721024",
    "name": "PyTorch",
    "isVerified": false,
    "isBlueVerified": true,
    "verifiedType": null,
    "profilePicture": "https://pbs.twimg.com/profile_images/1813965160702451712/yXV1vRhr_normal.jpg",
    "coverPicture": "https://pbs.twimg.com/profile_banners/776585502606721024/1761575044",
    "description": "",
    "location": "",
    "followers": 470158,
    "following": 81,
    "status": "",
    "canDm": false,
    "canMediaTag": true,
    "createdAt": "Fri Sep 16 00:56:26 +0000 2016",
    "entities": {
      "description": {
        "urls": []
      },
      "url": {}
    },
    "fastFollowersCount": 0,
    "favouritesCount": 838,
    "hasCustomTimelines": true,
    "isTranslator": false,
    "mediaCount": 1271,
    "statusesCount": 2996,
    "withheldInCountries": [],
    "affiliatesHighlightedLabel": {},
    "possiblySensitive": false,
    "pinnedTweetIds": [],
    "profile_bio": {
      "description": "Tensors and neural networks in Python with strong hardware acceleration. PyTorch is an open source project at the Linux Foundation. #PyTorchFoundation",
      "entities": {
        "description": {
          "hashtags": [
            {
              "indices": [
                132,
                150
              ],
              "text": "PyTorchFoundation"
            }
          ]
        },
        "url": {
          "urls": [
            {
              "display_url": "pytorch.org",
              "expanded_url": "http://pytorch.org",
              "indices": [
                0,
                23
              ],
              "url": "https://t.co/6SwTBhUwTJ"
            }
          ]
        }
      }
    },
    "isAutomated": false,
    "automatedBy": null
  },
  "extendedEntities": {},
  "card": {
    "binding_values": [
      {
        "key": "thumbnail_image",
        "value": {
          "image_value": {
            "height": 144,
            "url": "https://pbs.twimg.com/card_img/2010793657322950657/K-o1zgWO?format=jpg&name=144x144_2",
            "width": 144
          }
        }
      },
      {
        "key": "description",
        "value": {
          "string_value": "In this tutorial, you will learn how to build a text classifier with PyTorch that identifies and filters out unwanted or unsolicited communications, also known as spam. With high accuracy, your..."
        }
      },
      {
        "key": "domain",
        "value": {
          "string_value": "www.ibm.com"
        }
      },
      {
        "key": "thumbnail_image_large",
        "value": {
          "image_value": {
            "height": 420,
            "url": "https://pbs.twimg.com/card_img/2010793657322950657/K-o1zgWO?format=jpg&name=420x420_2",
            "width": 420
          }
        }
      },
      {
        "key": "thumbnail_image_original",
        "value": {
          "image_value": {
            "height": 830,
            "url": "https://pbs.twimg.com/card_img/2010793657322950657/K-o1zgWO?format=jpg&name=orig",
            "width": 1280
          }
        }
      },
      {
        "key": "thumbnail_image_small",
        "value": {
          "image_value": {
            "height": 100,
            "url": "https://pbs.twimg.com/card_img/2010793657322950657/K-o1zgWO?format=jpg&name=100x100_2",
            "width": 100
          }
        }
      },
      {
        "key": "thumbnail_image_x_large",
        "value": {
          "image_value": {
            "height": 830,
            "url": "https://pbs.twimg.com/card_img/2010793657322950657/K-o1zgWO?format=png&name=2048x2048_2_exp",
            "width": 1280
          }
        }
      },
      {
        "key": "vanity_url",
        "value": {
          "scribe_key": "vanity_url",
          "string_value": "ibm.com"
        }
      },
      {
        "key": "thumbnail_image_color",
        "value": {
          "image_color_value": {
            "palette": [
              {
                "percentage": 63.82,
                "rgb": {
                  "blue": 67,
                  "green": 56,
                  "red": 31
                }
              },
              {
                "percentage": 8.45,
                "rgb": {
                  "blue": 67,
                  "green": 70,
                  "red": 203
                }
              },
              {
                "percentage": 7.91,
                "rgb": {
                  "blue": 159,
                  "green": 168,
                  "red": 195
                }
              },
              {
                "percentage": 7.09,
                "rgb": {
                  "blue": 69,
                  "green": 79,
                  "red": 90
                }
              },
              {
                "percentage": 4.27,
                "rgb": {
                  "blue": 79,
                  "green": 128,
                  "red": 163
                }
              }
            ]
          }
        }
      },
      {
        "key": "title",
        "value": {
          "string_value": "Build a spam text classifier by using PyTorch | IBM"
        }
      },
      {
        "key": "card_url",
        "value": {
          "scribe_key": "card_url",
          "string_value": "https://t.co/XNlWZD0mic"
        }
      }
    ],
    "card_platform": {
      "platform": {
        "audience": {
          "name": "production"
        },
        "device": {
          "name": "iPhone",
          "version": "13"
        }
      }
    },
    "name": "summary",
    "url": "https://t.co/XNlWZD0mic"
  },
  "place": {},
  "entities": {
    "hashtags": [
      {
        "indices": [
          80,
          88
        ],
        "text": "PyTorch"
      },
      {
        "indices": [
          205,
          218
        ],
        "text": "tokenization"
      },
      {
        "indices": [
          343,
          356
        ],
        "text": "OpenSourceAI"
      },
      {
        "indices": [
          357,
          373
        ],
        "text": "MachineLearning"
      }
    ],
    "urls": [
      {
        "display_url": "hubs.la/Q03-rp750",
        "expanded_url": "https://hubs.la/Q03-rp750",
        "indices": [
          318,
          341
        ],
        "url": "https://t.co/XNlWZD0mic"
      }
    ],
    "user_mentions": [
      {
        "id_str": "18994444",
        "indices": [
          5,
          9
        ],
        "name": "IBM",
        "screen_name": "IBM"
      }
    ]
  },
  "quoted_tweet": null,
  "retweeted_tweet": null,
  "isLimitedReply": false,
  "article": null
}