stanford-oval / storm

An LLM-powered knowledge curation system that researches a topic and generates a full-length report with citations.
http://storm.genie.stanford.edu
MIT License
13.54k stars 1.25k forks source link

conversation_log.json not created #31

Closed jacb9 closed 4 months ago

jacb9 commented 7 months ago

Troubleshooting suggestions? thanks.

Traceback (most recent call last): File "C:\Users...\Desktop\storm-main\storm-main\scripts\run_storm_wiki_gpt.py", line 111, in main(parser.parse_args()) File "C:\Users...\Desktop\storm-main\storm-main\scripts\run_storm_wiki_gpt.py", line 68, in main runner.run( File "C:\Users...\Desktop\storm-main\storm-main\src\storm_wiki\engine.py", line 286, in run information_table = StormInformationTable.from_conversation_log_file( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users...\Desktop\storm-main\storm-main\src\storm_wiki\modules\storm_dataclass.py", line 145, in from_conversation_log_file conversation_log_data = FileIOHelper.load_json(path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users...\Desktop\storm-main\storm-main\src\utils.py", line 302, in load_json with open(file_name, 'r', encoding=encoding) as fr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: './results/gpt\newtest\conversation_log.json'

Yucheng-Jiang commented 7 months ago

Hi, would you mind share the command you’re trying to run?

jacb9 commented 7 months ago

C:\Users...\Desktop\storm-main\storm-main>python scripts\run_storm_wiki_gpt.py Topic: newtest

The results directory "newtest" is created, but empty.

Yucheng-Jiang commented 7 months ago

It's expected behavior. You have to manually set command line arguments to define which stages of the pipeline you're planning to run. We declare these arguments here.

If you're going to run all stages of the pipeline, these arguments are needed --do-research --do-generate-outline --do-generate-article. You may want to add --do-polish-article if you hope to add summary / lead section of the article, and --remove-duplicate if hope to remove duplicate contents across different sections (this may lead to higher costs and much longer running time).

jacb9 commented 7 months ago

Thank you. I thought the run_storm prompt set the default as true. Appears to be running now. Looking forward to exploring storm's capabilities.

jacb9 commented 7 months ago

Thanks again.

Getting further -- storm_gen_outline.txt, conversation_log.json, direct_gen_outline.txt, and raw_search_results.json all created and look promising, but tripping up after that (see below). Will see if I can get further tomorrow…

Best regards, Joel

C:\Users\baum\Desktop\storm-main\storm-main>python scripts\run_storm_wiki_gpt.py --do-research --do-generate-outline --do-generate-article --do-polish-article --remove-duplicate Topic: vancouver island beaches Traceback (most recent call last): File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 793, in urlopen response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 491, in _make_request raise new_e File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 467, in _make_request self._validate_conn(conn) File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 1099, in _validate_conn conn.connect() File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connection.py", line 653, in connect sock_and_verified = _ssl_wrap_socket_and_match_hostname( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connection.py", line 806, in _ssl_wrap_socket_and_match_hostname ssl_sock = ssl_wrapsocket( ^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\util\ssl.py", line 465, in ssl_wrap_socket ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls, serverhostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\util\ssl.py", line 509, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock, server_hostname=server_hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\ssl.py", line 455, in wrap_socket return self.sslsocket_class._create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\ssl.py", line 1042, in _create self.do_handshake() File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\ssl.py", line 1320, in do_handshake self._sslobj.do_handshake() ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\adapters.py", line 486, in send resp = conn.urlopen( ^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 847, in urlopen retries = retries.increment( ^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\util\retry.py", line 470, in increment raise reraise(type(error), error, _stacktrace) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\util\util.py", line 38, in reraise raise value.with_traceback(tb) File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 793, in urlopen response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 491, in _make_request raise new_e File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 467, in _make_request self._validate_conn(conn) File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 1099, in _validate_conn conn.connect() File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connection.py", line 653, in connect sock_and_verified = _ssl_wrap_socket_and_match_hostname( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connection.py", line 806, in _ssl_wrap_socket_and_match_hostname ssl_sock = ssl_wrapsocket( ^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\util\ssl.py", line 465, in ssl_wrap_socket ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls, serverhostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\util\ssl.py", line 509, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock, server_hostname=server_hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\ssl.py", line 455, in wrap_socket return self.sslsocket_class._create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\ssl.py", line 1042, in _create self.do_handshake() File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\ssl.py", line 1320, in do_handshake self._sslobj.do_handshake() urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\baum\Desktop\storm-main\storm-main\scripts\run_storm_wiki_gpt.py", line 118, in main(parser.parse_args()) File "C:\Users\baum\Desktop\storm-main\storm-main\scripts\run_storm_wiki_gpt.py", line 75, in main runner.run( File "C:\Users\baum\Desktop\storm-main\storm-main\src\storm_wiki\engine.py", line 301, in run draft_article = self.run_article_generation_module(outline=outline, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\Desktop\storm-main\storm-main\src\interface.py", line 376, in wrapper result = func(*args, kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\Desktop\storm-main\storm-main\src\storm_wiki\engine.py", line 210, in run_article_generation_module draft_article = self.storm_article_generation.generate_article( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\Desktop\storm-main\storm-main\src\storm_wiki\modules\article_generation.py", line 56, in generate_article information_table.prepare_table_for_retrieval() File "C:\Users\baum\Desktop\storm-main\storm-main\src\storm_wiki\modules\storm_dataclass.py", line 154, in prepare_table_for_retrieval self.encoder = SentenceTransformer('paraphrase-MiniLM-L6-v2') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\sentence_transformers\SentenceTransformer.py", line 205, in init modules = self._load_auto_model( ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\sentence_transformers\SentenceTransformer.py", line 1197, in _load_auto_model transformer_model = Transformer( ^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\sentence_transformers\models\Transformer.py", line 36, in init self._load_model(model_name_or_path, config, cache_dir, model_args) File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\sentence_transformers\models\Transformer.py", line 65, in _load_model self.auto_model = AutoModel.from_pretrained( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\transformers\models\auto\auto_factory.py", line 563, in from_pretrained return model_class.from_pretrained( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\transformers\modeling_utils.py", line 3306, in from_pretrained resolved_archive_file = cached_file(pretrained_model_name_or_path, filename, cached_file_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\transformers\utils\hub.py", line 398, in cached_file resolved_file = hf_hub_download( ^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\huggingface_hub\utils_validators.py", line 119, in _inner_fn return fn(args, kwargs) ^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\huggingface_hub\file_download.py", line 1492, in hf_hub_download http_get( File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\huggingface_hub\file_download.py", line 456, in http_get r = _request_wrapper( ^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\huggingface_hub\file_download.py", line 392, in _request_wrapper response = get_session().request(method=method, url=url, params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\huggingface_hub\utils_http.py", line 68, in send return super().send(request, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\adapters.py", line 501, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: (ProtocolError('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)), '(Request ID: f12616cb-18d0-4bda-8782-4bb46510b2a2)')

From: Yucheng-Jiang @.> Sent: Wednesday, April 24, 2024 7:27 PM To: stanford-oval/storm @.> Cc: Joel Baum @.>; Author @.> Subject: Re: [stanford-oval/storm] conversation_log.json not created (Issue #31)

You don't often get email from @.**@.>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification

It's expected behavior. You have to manually set command line arguments to define which stages of the pipeline you're planning to run. We declare these arguments herehttps://github.com/stanford-oval/storm/blob/5d21c393e64d8c877ae6a9db3a0df0a72a926b33/examples/run_storm_wiki_gpt.py#L91-L99.

If you're going to run all stages of the pipeline, these arguments are needed --do-research --do-generate-outline --do-generate-article. You may want to add --do-polish-article if you hope to add summary / lead section of the article, and --remove-duplicate if hope to remove duplicate contents across different sections (this may lead to higher costs and much longer running time).

— Reply to this email directly, view it on GitHubhttps://github.com/stanford-oval/storm/issues/31#issuecomment-2076205792, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BICDIXGBJ5MUY5LXD3LKYBLY7BSVZAVCNFSM6AAAAABGX5WBYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZWGIYDKNZZGI. You are receiving this because you authored the thread.Message ID: @.**@.>>

Introduction

Geography

Location and Access

Climate

Major Beaches of Vancouver Island

Chesterman Beach

Overview

Activities and Amenities

Surfing

Kayak Tours

Tidal Rock Pools

Environmental Impact and Conservation Efforts

Saratoga Beach

Overview

Activities and Amenities

Swimming

Beach Access Upgrades

Environmental Impact and Conservation Efforts

Cape Scott Provincial Park Beach

Overview

Activities and Amenities

Wilderness Camping

Hiking Trails

Environmental Impact and Conservation Efforts

Kye Bay

Overview

Activities and Amenities

Sandy Beaches and Tidal Pools

Environmental Impact and Conservation Efforts

Long Beach, Vancouver Island

Overview

Activities and Amenities

Beachcombing

Whale Watching

Environmental Impact and Conservation Efforts

Conservation Efforts

Overview of Environmental Impact

Habitat Destruction

Threats to Wildlife

Organizations and Initiatives

Raincoast

Surfrider Foundation

Cetus Research and Conservation Society

Environmental Monitoring Programs

PollutionTracker

Indigenous Peoples and Cultural Significance

Historical Use of Beaches

Impact of European Settlement

Current Indigenous Involvement in Conservation

Activities and Amenities

Surfing

Hiking and Wildlife Viewing

Camping and Picnicking

Beachcombing

Challenges

Climate Change Impact

Pollution and Human Impact

Conservation and Management Challenges

Introduction

Geography

Location and Access

Climate

Major Beaches of Vancouver Island

Long Beach

Overview

Activities and Wildlife

Chesterman Beach

Overview

Activities and Facilities

Rathtrevor Beach

Overview

Park Features and Camping

Parksville Beach

Overview

Festivals and Events

Conservation Efforts

Marine Protected Areas

Beach Clean-up Initiatives

Activities and Amenities

Surfing

Hiking and Wildlife Viewing

Camping and Picnicking

Beachcombing

Challenges

Climate Change Impact

Pollution and Human Impact

Octobot222 commented 7 months ago

Hey guys sorry for the delay

On Thu, Apr 25, 2024, 12:11 AM jacb9 @.***> wrote:

Thanks again.

Getting further -- storm_gen_outline.txt, conversation_log.json, direct_gen_outline.txt, and raw_search_results.json all created and look promising, but tripping up after that (see below). Will see if I can get further tomorrow…

Best regards, Joel

C:\Users\baum\Desktop\storm-main\storm-main>python scripts\run_storm_wiki_gpt.py --do-research --do-generate-outline --do-generate-article --do-polish-article --remove-duplicate Topic: vancouver island beaches Traceback (most recent call last): File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 793, in urlopen response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 491, in _make_request raise new_e File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 467, in _make_request self._validate_conn(conn) File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 1099, in _validate_conn conn.connect() File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connection.py", line 653, in connect sock_and_verified = _ssl_wrap_socket_and_match_hostname( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connection.py", line 806, in _ssl_wrap_socket_and_match_hostname ssl_sock = ssl_wrapsocket( ^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\util\ssl.py", line 465, in ssl_wrap_socket ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls, serverhostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\util\ssl.py", line 509, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock, server_hostname=server_hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\ssl.py", line 455, in wrap_socket return self.sslsocket_class._create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\ssl.py", line 1042, in _create self.do_handshake() File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\ssl.py", line 1320, in do_handshake self._sslobj.do_handshake() ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\adapters.py", line 486, in send resp = conn.urlopen( ^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 847, in urlopen retries = retries.increment( ^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\util\retry.py", line 470, in increment raise reraise(type(error), error, _stacktrace) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\util\util.py", line 38, in reraise raise value.with_traceback(tb) File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 793, in urlopen response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 491, in _make_request raise new_e File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 467, in _make_request self._validate_conn(conn) File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 1099, in _validate_conn conn.connect() File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connection.py", line 653, in connect sock_and_verified = _ssl_wrap_socket_and_match_hostname( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connection.py", line 806, in _ssl_wrap_socket_and_match_hostname ssl_sock = ssl_wrapsocket( ^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\util\ssl.py", line 465, in ssl_wrap_socket ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls, serverhostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\util\ssl.py", line 509, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock, server_hostname=server_hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\ssl.py", line 455, in wrap_socket return self.sslsocket_class._create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\ssl.py", line 1042, in _create self.do_handshake() File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\ssl.py", line 1320, in do_handshake self._sslobj.do_handshake() urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\baum\Desktop\storm-main\storm-main\scripts\run_storm_wiki_gpt.py", line 118, in main(parser.parse_args()) File "C:\Users\baum\Desktop\storm-main\storm-main\scripts\run_storm_wiki_gpt.py", line 75, in main runner.run( File "C:\Users\baum\Desktop\storm-main\storm-main\src\storm_wiki\engine.py", line 301, in run draft_article = self.run_article_generation_module(outline=outline, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\Desktop\storm-main\storm-main\src\interface.py", line 376, in wrapper result = func(*args, kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\Desktop\storm-main\storm-main\src\storm_wiki\engine.py", line 210, in run_article_generation_module draft_article = self.storm_article_generation.generate_article( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\Desktop\storm-main\storm-main\src\storm_wiki\modules\article_generation.py", line 56, in generate_article information_table.prepare_table_for_retrieval() File "C:\Users\baum\Desktop\storm-main\storm-main\src\storm_wiki\modules\storm_dataclass.py", line 154, in prepare_table_for_retrieval self.encoder = SentenceTransformer('paraphrase-MiniLM-L6-v2') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\sentence_transformers\SentenceTransformer.py", line 205, in init modules = self._load_auto_model( ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\sentence_transformers\SentenceTransformer.py", line 1197, in _load_auto_model transformer_model = Transformer( ^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\sentence_transformers\models\Transformer.py", line 36, in init self._load_model(model_name_or_path, config, cache_dir, model_args) File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\sentence_transformers\models\Transformer.py", line 65, in _load_model self.auto_model = AutoModel.from_pretrained( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\transformers\models\auto\auto_factory.py", line 563, in from_pretrained return model_class.from_pretrained( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\transformers\modeling_utils.py", line 3306, in from_pretrained resolved_archive_file = cached_file(pretrained_model_name_or_path, filename, cached_file_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\transformers\utils\hub.py", line 398, in cached_file resolved_file = hf_hub_download( ^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\huggingface_hub\utils_validators.py", line 119, in _inner_fn return fn(args, kwargs) ^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\huggingface_hub\file_download.py", line 1492, in hf_hub_download http_get( File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\huggingface_hub\file_download.py", line 456, in http_get r = _request_wrapper( ^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\huggingface_hub\file_download.py", line 392, in _request_wrapper response = get_session().request(method=method, url=url, params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\huggingface_hub\utils_http.py", line 68, in send return super().send(request, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\baum\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\adapters.py", line 501, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: (ProtocolError('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)), '(Request ID: f12616cb-18d0-4bda-8782-4bb46510b2a2)')

From: Yucheng-Jiang @.> Sent: Wednesday, April 24, 2024 7:27 PM To: stanford-oval/storm @.> Cc: Joel Baum @.>; Author @.> Subject: Re: [stanford-oval/storm] conversation_log.json not created (Issue #31)

You don't often get email from @.**@.>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification

It's expected behavior. You have to manually set command line arguments to define which stages of the pipeline you're planning to run. We declare these arguments here< https://github.com/stanford-oval/storm/blob/5d21c393e64d8c877ae6a9db3a0df0a72a926b33/examples/run_storm_wiki_gpt.py#L91-L99>.

If you're going to run all stages of the pipeline, these arguments are needed --do-research --do-generate-outline --do-generate-article. You may want to add --do-polish-article if you hope to add summary / lead section of the article, and --remove-duplicate if hope to remove duplicate contents across different sections (this may lead to higher costs and much longer running time).

— Reply to this email directly, view it on GitHub< https://github.com/stanford-oval/storm/issues/31#issuecomment-2076205792>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/BICDIXGBJ5MUY5LXD3LKYBLY7BSVZAVCNFSM6AAAAABGX5WBYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZWGIYDKNZZGI>.

You are receiving this because you authored the thread.Message ID: @.**@.>>

Introduction

Geography

Location and Access

Climate

Major Beaches of Vancouver Island

Chesterman Beach

Overview

Activities and Amenities

Surfing

Kayak Tours

Tidal Rock Pools

Environmental Impact and Conservation Efforts

Saratoga Beach

Overview

Activities and Amenities

Swimming

Beach Access Upgrades

Environmental Impact and Conservation Efforts

Cape Scott Provincial Park Beach

Overview

Activities and Amenities

Wilderness Camping

Hiking Trails

Environmental Impact and Conservation Efforts

Kye Bay

Overview

Activities and Amenities

Sandy Beaches and Tidal Pools

Environmental Impact and Conservation Efforts

Long Beach, Vancouver Island

Overview

Activities and Amenities

Beachcombing

Whale Watching

Environmental Impact and Conservation Efforts

Conservation Efforts

Overview of Environmental Impact

Habitat Destruction

Threats to Wildlife

Organizations and Initiatives

Raincoast

Surfrider Foundation

Cetus Research and Conservation Society

Environmental Monitoring Programs

PollutionTracker

Indigenous Peoples and Cultural Significance

Historical Use of Beaches

Impact of European Settlement

Current Indigenous Involvement in Conservation

Activities and Amenities

Surfing

Hiking and Wildlife Viewing

Camping and Picnicking

Beachcombing

Challenges

Climate Change Impact

Pollution and Human Impact

Conservation and Management Challenges

Introduction

Geography

Location and Access

Climate

Major Beaches of Vancouver Island

Long Beach

Overview

Activities and Wildlife

Chesterman Beach

Overview

Activities and Facilities

Rathtrevor Beach

Overview

Park Features and Camping

Parksville Beach

Overview

Festivals and Events

Conservation Efforts

Marine Protected Areas

Beach Clean-up Initiatives

Activities and Amenities

Surfing

Hiking and Wildlife Viewing

Camping and Picnicking

Beachcombing

Challenges

Climate Change Impact

Pollution and Human Impact

— Reply to this email directly, view it on GitHub https://github.com/stanford-oval/storm/issues/31#issuecomment-2076367646, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHVMWDWJJ4KLGAYUVOTXEOTY7CF67AVCNFSM6AAAAABGX5WBYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZWGM3DONRUGY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Yucheng-Jiang commented 7 months ago

@jacb9 We haven't ran into this problem before. Here's some related posts I find.

  1. https://github.com/RallyTools/RallyRestToolkitForPython/issues/179
  2. https://stackoverflow.com/questions/50771343/python3-requests-connectionreseterror10054-when-opening-a-picture

I suspect it has something to do with your proxy configuration.

This line is raising the error

  File "{root}\storm-main\storm-main\src\storm_wiki\modules\storm_dataclass.py", line 154, in prepare_table_for_retrieval
    self.encoder = SentenceTransformer('paraphrase-MiniLM-L6-v2')

A quick workaround is to download this model to local filesystem and import the model locally.

jacb9 commented 7 months ago

Thanks.

Download which model? (Module?) From where?

On Apr 25, 2024 7:23 a.m., Yucheng-Jiang @.> wrote: You don't often get email from @. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification

@jacb9https://github.com/jacb9 We haven't ran into this problem before. Here's some related posts I find.

  1. RallyTools/RallyRestToolkitForPython#179https://github.com/RallyTools/RallyRestToolkitForPython/issues/179
  2. https://stackoverflow.com/questions/50771343/python3-requests-connectionreseterror10054-when-opening-a-picture

I suspect it has something to do with your proxy configuration.

This line is raising the error

File "{root}\storm-main\storm-main\src\storm_wiki\modules\storm_dataclass.py", line 154, in prepare_table_for_retrieval self.encoder = SentenceTransformer('paraphrase-MiniLM-L6-v2')

A quick workaround is to download this model to local filesystem and import the model locally.

— Reply to this email directly, view it on GitHubhttps://github.com/stanford-oval/storm/issues/31#issuecomment-2077331830, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BICDIXD22DXMZO3LPAQG4NDY7EGV3AVCNFSM6AAAAABGX5WBYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZXGMZTCOBTGA. You are receiving this because you were mentioned.Message ID: @.***>

Yucheng-Jiang commented 7 months ago

@jacb9 sentence transformer paraphrase-MiniLM-L6-v2 from hugging face.