From 5668d446b7f9e4ec74696506644fa3370dd03a06 Mon Sep 17 00:00:00 2001 From: Olivier Sprangers Date: Tue, 17 Dec 2024 13:58:11 +0100 Subject: [PATCH 1/2] small_doc_fixes --- nbs/docs/getting-started/5_faq.ipynb | 22 +++++----------------- nbs/docs/reference/02_date_features.ipynb | 11 +++++++++-- 2 files changed, 14 insertions(+), 19 deletions(-) diff --git a/nbs/docs/getting-started/5_faq.ipynb b/nbs/docs/getting-started/5_faq.ipynb index 31c39e7e..66046355 100644 --- a/nbs/docs/getting-started/5_faq.ipynb +++ b/nbs/docs/getting-started/5_faq.ipynb @@ -153,7 +153,7 @@ "If your key is validating correctly, this will return\n", "\n", "```\n", - "INFO:nixtla.nixtla_client:Happy Forecasting! :), If you have questions or need support, please email ops@nixtla.io\n", + "INFO:nixtla.nixtla_client:Happy Forecasting! :), If you have questions or need support, please email support@nixtla.io\n", "\n", "True\n", "```\n", @@ -447,7 +447,7 @@ "
\n", " Are there free options or discounts?\n", "\n", - "Yes! You can use TimeGPT with our Starter subscription plan, with 50 API calls/month for free. We do also provide some discounted options for academic research. If you would like to learn more, please email us at support@nixtla.io.\n", + "Yes! You can use TimeGPT with our Starter subscription plan, with 50 API calls/month for free. We do also provide some discounted options for academic research. If you would like to learn more, please email us at [support@nixtla.io](mailto:support@nixtla.io).\n", "\n", "
" ] @@ -502,11 +502,6 @@ "" ] }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [] - }, { "cell_type": "markdown", "metadata": {}, @@ -526,13 +521,6 @@ "## Privacy and Security " ] }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] - }, { "cell_type": "markdown", "metadata": {}, @@ -548,7 +536,7 @@ "\n", "- For `TimeGPT`, please refer to our [terms and conditions](https://docs.nixtla.io/docs/terms-and-conditions). \n", "\n", - "In addtion, we are currently developing a self-hosted version of `TimeGPT`, tailored for the unique security requirements of enterprise data. This version is currently in beta. If you are interested in exploring this option, please contact us at ops@nixtla.io.\n", + "In addtion, we are currently developing a self-hosted version of `TimeGPT`, tailored for the unique security requirements of enterprise data. This version is currently in beta. If you are interested in exploring this option, please contact us at [support@nixtla.io](mailto:support@nixtla.io).\n", "\n", "" ] @@ -575,7 +563,7 @@ " Error message: Invalid API key\n", "\n", "``` python\n", - "ApiError: status_code: 401, body: {'data': None, 'message': 'Invalid API key', 'details': 'Key not found', 'code': 'A12', 'requestID': 'E7F2BBTB2P', 'support': 'If you have questions or need support, please email ops@nixtla.io'}\n", + "ApiError: status_code: 401, body: {'data': None, 'message': 'Invalid API key', 'details': 'Key not found', 'code': 'A12', 'requestID': 'E7F2BBTB2P', 'support': 'If you have questions or need support, please email support@nixtla.io'}\n", "```\n", "\n", "**Solution:** This error occurs when your `TimeGPT` API key is either invalid or has not been set up correctly. Please use the `validate_api_key` method to verify it or make sure it was copied correctly from the `API Keys` section of your [dashboard](https://dashboard.nixtla.io/).\n", @@ -591,7 +579,7 @@ "Error message: Too many requests\n", "\n", "``` python\n", - "ApiError: status_code: 429, body: {'data': None, 'message': 'Too many requests', 'details': 'You need to add a payment method to continue using the API, do so from https://dashboard.nixtla.io', 'code': 'A21', 'requestID': 'NCJDK7KSJ6', 'support': 'If you have questions or need support, please email ops@nixtla.io'}\n", + "ApiError: status_code: 429, body: {'data': None, 'message': 'Too many requests', 'details': 'You need to add a payment method to continue using the API, do so from https://dashboard.nixtla.io', 'code': 'A21', 'requestID': 'NCJDK7KSJ6', 'support': 'If you have questions or need support, please email support@nixtla.io'}\n", "```\n", "\n", "**Solution:** This error occurs when you have exhausted your free credits and need to add a payment method to continue using `TimeGPT`. You can add a payment method in the `Billing` section of your [dashboard](https://dashboard.nixtla.io/).\n", diff --git a/nbs/docs/reference/02_date_features.ipynb b/nbs/docs/reference/02_date_features.ipynb index 35f718b9..d4fa32e1 100644 --- a/nbs/docs/reference/02_date_features.ipynb +++ b/nbs/docs/reference/02_date_features.ipynb @@ -311,8 +311,15 @@ } ], "source": [ - "import pandas as pd\n", - "\n", + "import pandas as pd" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ "c_holidays = CountryHolidays(countries=['US', 'MX'])\n", "periods = 365 * 5\n", "dates = pd.date_range(end='2023-09-01', periods=periods)\n", From a853eb874a8f554f754a993b73bbd839e0f046d2 Mon Sep 17 00:00:00 2001 From: Olivier Sprangers Date: Mon, 13 Jan 2025 23:27:04 +0100 Subject: [PATCH 2/2] fix_reusing_models_issue --- nbs/docs/tutorials/061_reusing_finetuned_models.ipynb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/nbs/docs/tutorials/061_reusing_finetuned_models.ipynb b/nbs/docs/tutorials/061_reusing_finetuned_models.ipynb index 1faf7ad0..76ac8da5 100644 --- a/nbs/docs/tutorials/061_reusing_finetuned_models.ipynb +++ b/nbs/docs/tutorials/061_reusing_finetuned_models.ipynb @@ -7,9 +7,8 @@ "metadata": {}, "outputs": [], "source": [ - "#|hide\n", - "#| eval: false\n", - "! [ -e /content ] && pip install -Uqq nixtla" + "#| hide\n", + "!pip install -Uqq nixtla" ] }, { @@ -80,7 +79,7 @@ "#| echo: false\n", "if not IN_COLAB:\n", " load_dotenv() \n", - " colab_badge('docs/tutorials/061_reusing_finetuned_models.ipynb')" + " colab_badge('docs/tutorials/061_reusing_finetuned_models')" ] }, {