{"id":5384,"date":"2024-03-14T02:46:19","date_gmt":"2024-03-14T02:46:19","guid":{"rendered":"https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/"},"modified":"2025-08-01T14:24:42","modified_gmt":"2025-08-01T14:24:42","slug":"how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/","title":{"rendered":"Time Series Prediction with PyTorch"},"content":{"rendered":"<p>When it comes to time series prediction and sequence generation in PyTorch, it typically involves using models like Recurrent Neural Networks (RNN) or Long Short-Term Memory networks (LSTM). Here is a basic example demonstrating how to do time series prediction and sequence generation using PyTorch.<\/p>\n<ol>\n<li>Import PyTorch and the relevant libraries.<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><span class=\"hljs-keyword\">import<\/span> torch\r\n<span class=\"hljs-keyword\">import<\/span> torch.nn <span class=\"hljs-keyword\">as<\/span> nn\r\n<span class=\"hljs-keyword\">import<\/span> torch.optim <span class=\"hljs-keyword\">as<\/span> optim\r\n<span class=\"hljs-keyword\">import<\/span> numpy <span class=\"hljs-keyword\">as<\/span> np\r\n<\/code><\/pre>\n<ol>\n<li>Prepare the data.<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><span class=\"hljs-comment\"># \u51c6\u5907\u8f93\u5165\u5e8f\u5217<\/span>\r\ninput_sequence = np.array([<span class=\"hljs-number\">1<\/span>, <span class=\"hljs-number\">2<\/span>, <span class=\"hljs-number\">3<\/span>, <span class=\"hljs-number\">4<\/span>, <span class=\"hljs-number\">5<\/span>, <span class=\"hljs-number\">6<\/span>, <span class=\"hljs-number\">7<\/span>, <span class=\"hljs-number\">8<\/span>, <span class=\"hljs-number\">9<\/span>, <span class=\"hljs-number\">10<\/span>])\r\n<span class=\"hljs-comment\"># \u51c6\u5907\u8f93\u51fa\u5e8f\u5217<\/span>\r\noutput_sequence = np.array([<span class=\"hljs-number\">2<\/span>, <span class=\"hljs-number\">4<\/span>, <span class=\"hljs-number\">6<\/span>, <span class=\"hljs-number\">8<\/span>, <span class=\"hljs-number\">10<\/span>, <span class=\"hljs-number\">12<\/span>, <span class=\"hljs-number\">14<\/span>, <span class=\"hljs-number\">16<\/span>, <span class=\"hljs-number\">18<\/span>, <span class=\"hljs-number\">20<\/span>])\r\n\r\n<span class=\"hljs-comment\"># \u8f6c\u6362\u6570\u636e\u4e3aPyTorch\u5f20\u91cf<\/span>\r\ninput_sequence = torch.from_numpy(input_sequence).<span class=\"hljs-built_in\">float<\/span>()\r\noutput_sequence = torch.from_numpy(output_sequence).<span class=\"hljs-built_in\">float<\/span>()\r\n<\/code><\/pre>\n<ol>\n<li>Definition of an RNN model:<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><span class=\"hljs-keyword\">class<\/span> <span class=\"hljs-title class_\">RNN<\/span>(nn.Module):\r\n    <span class=\"hljs-keyword\">def<\/span> <span class=\"hljs-title function_\">__init__<\/span>(<span class=\"hljs-params\">self, input_size, hidden_size, output_size<\/span>):\r\n        <span class=\"hljs-built_in\">super<\/span>(RNN, self).__init__()\r\n        self.hidden_size = hidden_size\r\n        self.rnn = nn.RNN(input_size, hidden_size, batch_first=<span class=\"hljs-literal\">True<\/span>)\r\n        self.fc = nn.Linear(hidden_size, output_size)\r\n\r\n    <span class=\"hljs-keyword\">def<\/span> <span class=\"hljs-title function_\">forward<\/span>(<span class=\"hljs-params\">self, x<\/span>):\r\n        out, _ = self.rnn(x.unsqueeze(<span class=\"hljs-number\">0<\/span>).unsqueeze(<span class=\"hljs-number\">2<\/span>))\r\n        out = self.fc(out)\r\n        <span class=\"hljs-keyword\">return<\/span> out\r\n<\/code><\/pre>\n<ol>\n<li>Instantiate the model, define the loss function, and optimizer.<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><span class=\"hljs-comment\"># \u5b9a\u4e49\u6a21\u578b<\/span>\r\nmodel = RNN(<span class=\"hljs-number\">1<\/span>, <span class=\"hljs-number\">128<\/span>, <span class=\"hljs-number\">1<\/span>)\r\n<span class=\"hljs-comment\"># \u5b9a\u4e49\u635f\u5931\u51fd\u6570<\/span>\r\ncriterion = nn.MSELoss()\r\n<span class=\"hljs-comment\"># \u5b9a\u4e49\u4f18\u5316\u5668<\/span>\r\noptimizer = optim.Adam(model.parameters(), lr=<span class=\"hljs-number\">0.001<\/span>)\r\n<\/code><\/pre>\n<ol>\n<li>Model training:<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><span class=\"hljs-comment\"># \u8bad\u7ec3\u6a21\u578b<\/span>\r\nnum_epochs = <span class=\"hljs-number\">1000<\/span>\r\n<span class=\"hljs-keyword\">for<\/span> epoch <span class=\"hljs-keyword\">in<\/span> <span class=\"hljs-built_in\">range<\/span>(num_epochs):\r\n    optimizer.zero_grad()\r\n    output = model(input_sequence)\r\n    loss = criterion(output.squeeze(), output_sequence.unsqueeze(<span class=\"hljs-number\">0<\/span>))\r\n    loss.backward()\r\n    optimizer.step()\r\n    \r\n    <span class=\"hljs-keyword\">if<\/span> epoch % <span class=\"hljs-number\">100<\/span> == <span class=\"hljs-number\">0<\/span>:\r\n        <span class=\"hljs-built_in\">print<\/span>(<span class=\"hljs-string\">f'Epoch <span class=\"hljs-subst\">{epoch+<span class=\"hljs-number\">1<\/span>}<\/span>, Loss: <span class=\"hljs-subst\">{loss.item()}<\/span>'<\/span>)\r\n<\/code><\/pre>\n<ol>\n<li>Performing time series prediction or sequence generation.<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><span class=\"hljs-comment\"># \u8fdb\u884c\u65f6\u5e8f\u9884\u6d4b<\/span>\r\ninput_sequence_test = torch.tensor([<span class=\"hljs-number\">11<\/span>]).<span class=\"hljs-built_in\">float<\/span>()\r\npredicted_output = model(input_sequence_test)\r\n\r\n<span class=\"hljs-comment\"># \u8fdb\u884c\u5e8f\u5217\u751f\u6210<\/span>\r\ngenerated_sequence = []\r\ninput_sequence_gen = torch.tensor([<span class=\"hljs-number\">11<\/span>]).<span class=\"hljs-built_in\">float<\/span>()\r\n<span class=\"hljs-keyword\">for<\/span> i <span class=\"hljs-keyword\">in<\/span> <span class=\"hljs-built_in\">range<\/span>(<span class=\"hljs-number\">10<\/span>):\r\n    output = model(input_sequence_gen)\r\n    generated_sequence.append(output.item())\r\n    input_sequence_gen = output.detach()\r\n\r\n<span class=\"hljs-built_in\">print<\/span>(<span class=\"hljs-string\">\"Predicted output: \"<\/span>, predicted_output.item())\r\n<span class=\"hljs-built_in\">print<\/span>(<span class=\"hljs-string\">\"Generated sequence: \"<\/span>, generated_sequence)\r\n<\/code><\/pre>\n<p>The above example is a simple illustration showing how to use PyTorch for time series prediction and sequence generation. In actual applications, you may need to adjust and optimize according to the specific requirements of the problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When it comes to time series prediction and sequence generation in PyTorch, it typically involves using models like Recurrent Neural Networks (RNN) or Long Short-Term Memory networks (LSTM). Here is a basic example demonstrating how to do time series prediction and sequence generation using PyTorch. Import PyTorch and the relevant libraries. import torch import torch.nn [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","footnotes":""},"categories":[1],"tags":[1256,1239,2352,2399,516],"class_list":["post-5384","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-lstm","tag-pytorch","tag-rnn","tag-sequence-generation","tag-time-series"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Time Series Prediction with PyTorch - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Learn how to perform time series prediction and sequence generation in PyTorch using RNN and LSTM models with practical code examples.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Time Series Prediction with PyTorch\" \/>\n<meta property=\"og:description\" content=\"Learn how to perform time series prediction and sequence generation in PyTorch using RNN and LSTM models with practical code examples.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/SiliCloudGlobal\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-14T02:46:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-01T14:24:42+00:00\" \/>\n<meta name=\"author\" content=\"Emily Johnson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@SiliCloudGlobal\" \/>\n<meta name=\"twitter:site\" content=\"@SiliCloudGlobal\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Emily Johnson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/\"},\"author\":{\"name\":\"Emily Johnson\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/3b041b19cffc258705478ecfab895378\"},\"headline\":\"Time Series Prediction with PyTorch\",\"datePublished\":\"2024-03-14T02:46:19+00:00\",\"dateModified\":\"2025-08-01T14:24:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/\"},\"wordCount\":119,\"publisher\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#organization\"},\"keywords\":[\"LSTM\",\"PyTorch\",\"RNN\",\"Sequence Generation\",\"Time Series\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/\",\"url\":\"https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/\",\"name\":\"Time Series Prediction with PyTorch - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#website\"},\"datePublished\":\"2024-03-14T02:46:19+00:00\",\"dateModified\":\"2025-08-01T14:24:42+00:00\",\"description\":\"Learn how to perform time series prediction and sequence generation in PyTorch using RNN and LSTM models with practical code examples.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.silicloud.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Time Series Prediction with PyTorch\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/blog\/\",\"name\":\"Silicon Cloud Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#organization\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#organization\",\"name\":\"Silicon Cloud Blog\",\"url\":\"https:\/\/www.silicloud.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png\",\"contentUrl\":\"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png\",\"width\":1024,\"height\":1024,\"caption\":\"Silicon Cloud Blog\"},\"image\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/SiliCloudGlobal\/\",\"https:\/\/twitter.com\/SiliCloudGlobal\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/3b041b19cffc258705478ecfab895378\",\"name\":\"Emily Johnson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a5cb4e73d02ab1d79f2dfe919389ff7c1de072baa97686392031c03d858cc358?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a5cb4e73d02ab1d79f2dfe919389ff7c1de072baa97686392031c03d858cc358?s=96&d=mm&r=g\",\"caption\":\"Emily Johnson\"},\"url\":\"https:\/\/www.silicloud.com\/blog\/author\/emilyjohnson\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Time Series Prediction with PyTorch - Blog - Silicon Cloud","description":"Learn how to perform time series prediction and sequence generation in PyTorch using RNN and LSTM models with practical code examples.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/","og_locale":"en_US","og_type":"article","og_title":"Time Series Prediction with PyTorch","og_description":"Learn how to perform time series prediction and sequence generation in PyTorch using RNN and LSTM models with practical code examples.","og_url":"https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/","og_site_name":"Blog - Silicon Cloud","article_publisher":"https:\/\/www.facebook.com\/SiliCloudGlobal\/","article_published_time":"2024-03-14T02:46:19+00:00","article_modified_time":"2025-08-01T14:24:42+00:00","author":"Emily Johnson","twitter_card":"summary_large_image","twitter_creator":"@SiliCloudGlobal","twitter_site":"@SiliCloudGlobal","twitter_misc":{"Written by":"Emily Johnson","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/#article","isPartOf":{"@id":"https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/"},"author":{"name":"Emily Johnson","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/3b041b19cffc258705478ecfab895378"},"headline":"Time Series Prediction with PyTorch","datePublished":"2024-03-14T02:46:19+00:00","dateModified":"2025-08-01T14:24:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/"},"wordCount":119,"publisher":{"@id":"https:\/\/www.silicloud.com\/blog\/#organization"},"keywords":["LSTM","PyTorch","RNN","Sequence Generation","Time Series"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/","url":"https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/","name":"Time Series Prediction with PyTorch - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/blog\/#website"},"datePublished":"2024-03-14T02:46:19+00:00","dateModified":"2025-08-01T14:24:42+00:00","description":"Learn how to perform time series prediction and sequence generation in PyTorch using RNN and LSTM models with practical code examples.","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/blog\/how-to-perform-time-series-prediction-and-sequence-generation-in-pytorch\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.silicloud.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Time Series Prediction with PyTorch"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/blog\/#website","url":"https:\/\/www.silicloud.com\/blog\/","name":"Silicon Cloud Blog","description":"","publisher":{"@id":"https:\/\/www.silicloud.com\/blog\/#organization"},"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.silicloud.com\/blog\/#organization","name":"Silicon Cloud Blog","url":"https:\/\/www.silicloud.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png","contentUrl":"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png","width":1024,"height":1024,"caption":"Silicon Cloud Blog"},"image":{"@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/SiliCloudGlobal\/","https:\/\/twitter.com\/SiliCloudGlobal"]},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/3b041b19cffc258705478ecfab895378","name":"Emily Johnson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a5cb4e73d02ab1d79f2dfe919389ff7c1de072baa97686392031c03d858cc358?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a5cb4e73d02ab1d79f2dfe919389ff7c1de072baa97686392031c03d858cc358?s=96&d=mm&r=g","caption":"Emily Johnson"},"url":"https:\/\/www.silicloud.com\/blog\/author\/emilyjohnson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts\/5384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/comments?post=5384"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts\/5384\/revisions"}],"predecessor-version":[{"id":150131,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts\/5384\/revisions\/150131"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/media?parent=5384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/categories?post=5384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/tags?post=5384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}