# Lab 3 - \[Generative AI with Large Language Models\] throwing error

**URL:** <https://community.deeplearning.ai/t/lab-3-generative-ai-with-large-language-models-throwing-error/698033>\
**Category:** Generative AI with Large Language Models\
**Tags:** ai-discussions\
**Created:** [September 25, 2024, 6:21pm UTC](https://community.deeplearning.ai/t/lab-3-generative-ai-with-large-language-models-throwing-error/698033 "2024-09-25T18:21:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nid4](https://avatars.discourse-cdn.com/v4/letter/n/43a26b/32.png) [@nid4](https://community.deeplearning.ai/u/nid4)\
**Post date:** [September 25, 2024, 6:21pm UTC](https://community.deeplearning.ai/t/lab-3-generative-ai-with-large-language-models-throwing-error/698033/1 "2024-09-25T18:21:20Z")

</div>

Lab 3 - Fine-tune FLAN-T5 with reinforcement learning to generate more-positive summaries  
Lab gives error while loading data

### 2.1 - Load Data and FLAN-T5 Model Fine-Tuned with Summarization Instruction

Error  
TimeoutError Traceback (most recent call last)  
File /opt/conda/lib/python3.10/site-packages/urllib3/connectionpool.py:467, in HTTPConnectionPool.\_make\_request(self, conn, method, url, body, headers, retries, timeout, chunked, response\_conn, preload\_content, decode\_content, enforce\_content\_length)  
466 try:  
 → 467 self.\_validate\_conn(conn)  
468 except (SocketTimeout, BaseSSLError) as e:

File /opt/conda/lib/python3.10/site-packages/urllib3/connectionpool.py:1099, in HTTPSConnectionPool.\_validate\_conn(self, conn)  
1098 if conn.is\_closed:  
 → 1099 conn.connect()

---

<div class="post-metadata">

**Author:** ![Anna\_Kay](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/anna_kay/32/94763_2.png) [@Anna\_Kay](https://community.deeplearning.ai/u/Anna_Kay)\
**Post date:** [September 25, 2024, 6:22pm UTC](https://community.deeplearning.ai/t/lab-3-generative-ai-with-large-language-models-throwing-error/698033/2 "2024-09-25T18:22:32Z")

</div>

Please check:

> [@Week 1: Error in loading huggingface dataset](https://community.deeplearning.ai/t/week-1-error-in-loading-huggingface-dataset/697866):
>
> In Week 1 Lab Assignment, I am not able to load the huggingface dataset. It is giving readtimeout exception (Attached screenshot) Tried changing the internal network, but didn’t work. Any suggestions here?

---

<div class="post-metadata">

**Author:** ![nid4](https://avatars.discourse-cdn.com/v4/letter/n/43a26b/32.png) [@nid4](https://community.deeplearning.ai/u/nid4)\
**Post date:** [September 26, 2024, 8:54pm UTC](https://community.deeplearning.ai/t/lab-3-generative-ai-with-large-language-models-throwing-error/698033/3 "2024-09-26T20:54:25Z")

</div>

Is this still not resolved

---

<div class="post-metadata">

**Author:** ![Anna\_Kay](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/anna_kay/32/94763_2.png) [@Anna\_Kay](https://community.deeplearning.ai/u/Anna_Kay)\
**Post date:** [September 26, 2024, 9:04pm UTC](https://community.deeplearning.ai/t/lab-3-generative-ai-with-large-language-models-throwing-error/698033/4 "2024-09-26T21:04:05Z")

</div>

It is being looked into:

> [@Week 2 : Lab Assignment : Issue in loading HuggingFace](https://community.deeplearning.ai/t/week-2-lab-assignment-issue-in-loading-huggingface/698368):
>
> Hi Team, I am facing the below issue, tried it multiple times since yesterday: ReadTimeout: (ReadTimeoutError(“HTTPSConnectionPool(host=‘[cdn-lfs.hf.co](http://cdn-lfs.hf.co)’, port=443): Read timed out. (read timeout=10)”), ‘(Request ID: b5ad8989-819e-40e1-9f4c-3ba3b11614f7)’) when running the code: Can someone please guide or solve the issue? Thank you!

---

<div class="post-metadata">

**Author:** ![nid4](https://avatars.discourse-cdn.com/v4/letter/n/43a26b/32.png) [@nid4](https://community.deeplearning.ai/u/nid4)\
**Post date:** [September 26, 2024, 9:59pm UTC](https://community.deeplearning.ai/t/lab-3-generative-ai-with-large-language-models-throwing-error/698033/5 "2024-09-26T21:59:55Z")

</div>

This is not resolved yet and we have a deadline
