Text Generation
Transformers
Safetensors
English
qwen3
long-context
sparse-attention
aha
l2a-style
reproducibility
conversational
text-generation-inference
Instructions to use keepsloading/icml_repro_scratch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use keepsloading/icml_repro_scratch with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="keepsloading/icml_repro_scratch") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("keepsloading/icml_repro_scratch") model = AutoModelForCausalLM.from_pretrained("keepsloading/icml_repro_scratch", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use keepsloading/icml_repro_scratch with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "keepsloading/icml_repro_scratch" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "keepsloading/icml_repro_scratch", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/keepsloading/icml_repro_scratch
- SGLang
How to use keepsloading/icml_repro_scratch with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "keepsloading/icml_repro_scratch" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "keepsloading/icml_repro_scratch", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "keepsloading/icml_repro_scratch" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "keepsloading/icml_repro_scratch", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use keepsloading/icml_repro_scratch with Docker Model Runner:
docker model run hf.co/keepsloading/icml_repro_scratch
Upload folder using huggingface_hub
Browse files- .gitattributes +3 -0
- outputs/eval/logs/vanilla/ruler_a.log +211 -47
.gitattributes
CHANGED
|
@@ -2,3 +2,6 @@
|
|
| 2 |
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
*.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 4 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
*.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 4 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
outputs/l2a_style/stage2/checkpoint-25/optimizer.pt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
outputs/l2a_style/stage2/checkpoint-50/optimizer.pt filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
outputs/l2a_style/stage2/checkpoint-75/optimizer.pt filter=lfs diff=lfs merge=lfs -text
|
outputs/eval/logs/vanilla/ruler_a.log
CHANGED
|
@@ -1,13 +1,177 @@
|
|
| 1 |
-
2026-07-18:10:
|
| 2 |
-
2026-07-18:10:
|
| 3 |
-
2026-07-18:10:
|
| 4 |
-
2026-07-18:10:
|
| 5 |
-
2026-07-18:10:
|
| 6 |
-
2026-07-18:10:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
0%| | 0/1 [00:00<?, ?it/s][A
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
0%| | 0/500 [00:00<?, ?it/s][A
|
|
|
|
| 9 |
12%|ββ | 60/500 [00:01<00:07, 59.90it/s][A
|
|
|
|
| 10 |
24%|βββ | 120/500 [00:02<00:06, 59.31it/s][A
|
|
|
|
| 11 |
36%|ββββ | 181/500 [00:03<00:05, 59.99it/s][A
|
|
|
|
| 12 |
49%|βββββ | 243/500 [00:04<00:04, 60.56it/s][A
|
|
|
|
| 13 |
61%|ββββββ | 304/500 [00:05<00:03, 59.89it/s][A
|
|
|
|
| 14 |
73%|ββββββββ | 364/500 [00:06<00:02, 59.63it/s][A
|
|
|
|
| 15 |
85%|βββββββββ | 424/500 [00:07<00:01, 59.16it/s][A
|
|
|
|
| 16 |
97%|ββββββββββ| 485/500 [00:08<00:00, 59.51it/s][A
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
Traceback (most recent call last):
|
| 18 |
-
File "/opt/conda/lib/python3.11/site-packages/
|
| 19 |
-
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
During handling of the above exception, another exception occurred:
|
| 23 |
|
|
@@ -37,41 +201,41 @@ Traceback (most recent call last):
|
|
| 37 |
File "/opt/conda/lib/python3.11/site-packages/lm_eval/tasks/__init__.py", line 430, in <lambda>
|
| 38 |
lambda task: self._load_individual_task_or_group(task),
|
| 39 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 40 |
-
File "/opt/conda/lib/python3.11/site-packages/lm_eval/tasks/__init__.py", line
|
| 41 |
-
task_config =
|
| 42 |
-
|
| 43 |
-
File "/opt/conda/lib/python3.11/site-packages/lm_eval/tasks/__init__.py", line
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
File "/opt/conda/lib/python3.11/site-packages/lm_eval/
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
File "/opt/conda/lib/python3.11/site-packages/
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
File "/opt/conda/lib/python3.11/site-packages/
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
File "/opt/conda/lib/python3.11/site-packages/
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
File "/opt/conda/lib/python3.11/site-packages/
|
| 67 |
-
|
| 68 |
-
^^^^^^^^^^^^^^^^^^^^^^^
|
| 69 |
-
File "/opt/conda/lib/python3.11/site-packages/
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
File "
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
File "/opt/conda/lib/python3.11/site-packages/
|
| 76 |
-
raise
|
| 77 |
-
|
|
|
|
| 1 |
+
2026-07-18:10:14:08 WARNING [config.evaluate_config:281] --limit SHOULD ONLY BE USED FOR TESTING. REAL METRICS SHOULD NOT BE COMPUTED USING LIMIT.
|
| 2 |
+
2026-07-18:10:14:12 INFO [_cli.run:376] Selected Tasks: ['niah_single_1', 'niah_single_3', 'niah_multikey_2', 'niah_multiquery', 'ruler_vt', 'ruler_fwe', 'ruler_qa_hotpot']
|
| 3 |
+
2026-07-18:10:14:13 INFO [evaluator:211] Setting random seed to 0 | Setting numpy seed to 1234 | Setting torch manual seed to 1234 | Setting fewshot manual seed to 1234
|
| 4 |
+
2026-07-18:10:14:13 INFO [evaluator:236] Initializing hf model, with arguments: {'pretrained': '/workspace', 'trust_remote_code': True, 'dtype': 'bfloat16', 'max_length': 16384, 'attn_implementation': 'sdpa'}
|
| 5 |
+
2026-07-18:10:14:16 INFO [models.huggingface:161] Using device 'cuda:0'
|
| 6 |
+
2026-07-18:10:14:16 INFO [models.huggingface:423] Model parallel was set to False, max memory was not set, and device map was set to {'': 'cuda:0'}
|
| 7 |
+
2026-07-18:10:14:26 WARNING [api.task:856] niah_single_1: Custom kwargs can be passed to `--metadata` in console (as json string) or to the TaskManager.
|
| 8 |
+
For example --metadata='{"max_seq_lengths":[4096, 8192]}'. For details see task Readme.
|
| 9 |
+
2026-07-18:10:14:26 INFO [tasks.ruler.common_utils:26] Using tokenizer /workspace for synthetic tasks.
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
2026-07-18:10:14:35 WARNING [api.task:856] niah_single_3: Custom kwargs can be passed to `--metadata` in console (as json string) or to the TaskManager.
|
| 21 |
+
For example --metadata='{"max_seq_lengths":[4096, 8192]}'. For details see task Readme.
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
2026-07-18:10:14:46 WARNING [api.task:856] niah_multikey_2: Custom kwargs can be passed to `--metadata` in console (as json string) or to the TaskManager.
|
| 37 |
+
For example --metadata='{"max_seq_lengths":[4096, 8192]}'. For details see task Readme.
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
2026-07-18:10:14:53 WARNING [api.task:856] niah_multiquery: Custom kwargs can be passed to `--metadata` in console (as json string) or to the TaskManager.
|
| 48 |
+
For example --metadata='{"max_seq_lengths":[4096, 8192]}'. For details see task Readme.
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
2026-07-18:10:15:02 WARNING [api.task:856] ruler_vt: Custom kwargs can be passed to `--metadata` in console (as json string) or to the TaskManager.
|
| 60 |
+
For example --metadata='{"max_seq_lengths":[4096, 8192]}'. For details see task Readme.
|
| 61 |
+
2026-07-18:10:15:02 INFO [tasks.ruler.common_utils:26] Using tokenizer /workspace for synthetic tasks.
|
| 62 |
+
Max length 500 | Current length 307 | Noises: 5
|
| 63 |
+
Max length 500 | Current length 410 | Noises: 10
|
| 64 |
+
Max length 500 | Current length 531 | Noises: 15
|
| 65 |
+
Num noises: 10
|
| 66 |
+
|
| 67 |
+
|
| 68 |
0%| | 0/1 [00:00<?, ?it/s][A
|
| 69 |
+
Max length 8192 | Current length 791 | Noises: 10
|
| 70 |
+
Max length 8192 | Current length 1025 | Noises: 20
|
| 71 |
+
Max length 8192 | Current length 1273 | Noises: 30
|
| 72 |
+
Max length 8192 | Current length 1510 | Noises: 40
|
| 73 |
+
Max length 8192 | Current length 1749 | Noises: 50
|
| 74 |
+
Max length 8192 | Current length 1996 | Noises: 60
|
| 75 |
+
Max length 8192 | Current length 2231 | Noises: 70
|
| 76 |
+
Max length 8192 | Current length 2473 | Noises: 80
|
| 77 |
+
Max length 8192 | Current length 2705 | Noises: 90
|
| 78 |
+
Max length 8192 | Current length 2953 | Noises: 100
|
| 79 |
+
Max length 8192 | Current length 3186 | Noises: 110
|
| 80 |
+
Max length 8192 | Current length 3431 | Noises: 120
|
| 81 |
+
Max length 8192 | Current length 3671 | Noises: 130
|
| 82 |
+
Max length 8192 | Current length 3916 | Noises: 140
|
| 83 |
+
Max length 8192 | Current length 4149 | Noises: 150
|
| 84 |
+
Max length 8192 | Current length 4386 | Noises: 160
|
| 85 |
+
Max length 8192 | Current length 4630 | Noises: 170
|
| 86 |
+
Max length 8192 | Current length 4871 | Noises: 180
|
| 87 |
+
Max length 8192 | Current length 5110 | Noises: 190
|
| 88 |
+
Max length 8192 | Current length 5349 | Noises: 200
|
| 89 |
+
Max length 8192 | Current length 5590 | Noises: 210
|
| 90 |
+
Max length 8192 | Current length 5832 | Noises: 220
|
| 91 |
+
Max length 8192 | Current length 6070 | Noises: 230
|
| 92 |
+
Max length 8192 | Current length 6311 | Noises: 240
|
| 93 |
+
Max length 8192 | Current length 6544 | Noises: 250
|
| 94 |
+
Max length 8192 | Current length 6791 | Noises: 260
|
| 95 |
+
Max length 8192 | Current length 7031 | Noises: 270
|
| 96 |
+
Max length 8192 | Current length 7271 | Noises: 280
|
| 97 |
+
Max length 8192 | Current length 7513 | Noises: 290
|
| 98 |
+
Max length 8192 | Current length 7751 | Noises: 300
|
| 99 |
+
Max length 8192 | Current length 7986 | Noises: 310
|
| 100 |
+
Max length 8192 | Current length 8230 | Noises: 320
|
| 101 |
+
Num noises: 310
|
| 102 |
+
|
| 103 |
+
|
| 104 |
0%| | 0/500 [00:00<?, ?it/s][A
|
| 105 |
+
|
| 106 |
12%|ββ | 60/500 [00:01<00:07, 59.90it/s][A
|
| 107 |
+
|
| 108 |
24%|βββ | 120/500 [00:02<00:06, 59.31it/s][A
|
| 109 |
+
|
| 110 |
36%|ββββ | 181/500 [00:03<00:05, 59.99it/s][A
|
| 111 |
+
|
| 112 |
49%|βββββ | 243/500 [00:04<00:04, 60.56it/s][A
|
| 113 |
+
|
| 114 |
61%|ββββββ | 304/500 [00:05<00:03, 59.89it/s][A
|
| 115 |
+
|
| 116 |
73%|ββββββββ | 364/500 [00:06<00:02, 59.63it/s][A
|
| 117 |
+
|
| 118 |
85%|βββββββββ | 424/500 [00:07<00:01, 59.16it/s][A
|
| 119 |
+
|
| 120 |
97%|ββββββββββ| 485/500 [00:08<00:00, 59.51it/s][A
|
| 121 |
+
2026-07-18:10:15:12 WARNING [api.task:856] ruler_fwe: Custom kwargs can be passed to `--metadata` in console (as json string) or to the TaskManager.
|
| 122 |
+
For example --metadata='{"max_seq_lengths":[4096, 8192]}'. For details see task Readme.
|
| 123 |
+
|
| 124 |
+
|
| 125 |
+
|
| 126 |
+
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
|
| 130 |
+
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
|
| 137 |
+
2026-07-18:10:15:25 WARNING [api.task:856] ruler_qa_hotpot: Custom kwargs can be passed to `--metadata` in console (as json string) or to the TaskManager.
|
| 138 |
+
For example --metadata='{"max_seq_lengths":[4096, 8192]}'. For details see task Readme.
|
| 139 |
Traceback (most recent call last):
|
| 140 |
+
File "/opt/conda/lib/python3.11/site-packages/urllib3/connection.py", line 198, in _new_conn
|
| 141 |
+
sock = connection.create_connection(
|
| 142 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 143 |
+
File "/opt/conda/lib/python3.11/site-packages/urllib3/util/connection.py", line 85, in create_connection
|
| 144 |
+
raise err
|
| 145 |
+
File "/opt/conda/lib/python3.11/site-packages/urllib3/util/connection.py", line 73, in create_connection
|
| 146 |
+
sock.connect(sa)
|
| 147 |
+
TimeoutError: [Errno 110] Connection timed out
|
| 148 |
+
|
| 149 |
+
The above exception was the direct cause of the following exception:
|
| 150 |
+
|
| 151 |
+
Traceback (most recent call last):
|
| 152 |
+
File "/opt/conda/lib/python3.11/site-packages/urllib3/connectionpool.py", line 787, in urlopen
|
| 153 |
+
response = self._make_request(
|
| 154 |
+
^^^^^^^^^^^^^^^^^^^
|
| 155 |
+
File "/opt/conda/lib/python3.11/site-packages/urllib3/connectionpool.py", line 493, in _make_request
|
| 156 |
+
conn.request(
|
| 157 |
+
File "/opt/conda/lib/python3.11/site-packages/urllib3/connection.py", line 494, in request
|
| 158 |
+
self.endheaders()
|
| 159 |
+
File "/opt/conda/lib/python3.11/http/client.py", line 1298, in endheaders
|
| 160 |
+
self._send_output(message_body, encode_chunked=encode_chunked)
|
| 161 |
+
File "/opt/conda/lib/python3.11/http/client.py", line 1058, in _send_output
|
| 162 |
+
self.send(msg)
|
| 163 |
+
File "/opt/conda/lib/python3.11/http/client.py", line 996, in send
|
| 164 |
+
self.connect()
|
| 165 |
+
File "/opt/conda/lib/python3.11/site-packages/urllib3/connection.py", line 325, in connect
|
| 166 |
+
self.sock = self._new_conn()
|
| 167 |
+
^^^^^^^^^^^^^^^^
|
| 168 |
+
File "/opt/conda/lib/python3.11/site-packages/urllib3/connection.py", line 207, in _new_conn
|
| 169 |
+
raise ConnectTimeoutError(
|
| 170 |
+
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPConnection object at 0x7f91c0eaee90>, 'Connection to curtis.ml.cmu.edu timed out. (connect timeout=None)')
|
| 171 |
+
|
| 172 |
+
The above exception was the direct cause of the following exception:
|
| 173 |
+
|
| 174 |
+
Traceback (most recent call last):
|
| 175 |
+
File "/opt/conda/lib/python3.11/site-packages/requests/adapters.py", line 644, in send
|
| 176 |
+
resp = conn.urlopen(
|
| 177 |
+
^^^^^^^^^^^^^
|
| 178 |
+
File "/opt/conda/lib/python3.11/site-packages/urllib3/connectionpool.py", line 841, in urlopen
|
| 179 |
+
retries = retries.increment(
|
| 180 |
+
^^^^^^^^^^^^^^^^^^
|
| 181 |
+
File "/opt/conda/lib/python3.11/site-packages/urllib3/util/retry.py", line 519, in increment
|
| 182 |
+
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
|
| 183 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 184 |
+
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='curtis.ml.cmu.edu', port=80): Max retries exceeded with url: /datasets/hotpot/hotpot_dev_distractor_v1.json (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f91c0eaee90>, 'Connection to curtis.ml.cmu.edu timed out. (connect timeout=None)'))
|
| 185 |
|
| 186 |
During handling of the above exception, another exception occurred:
|
| 187 |
|
|
|
|
| 201 |
File "/opt/conda/lib/python3.11/site-packages/lm_eval/tasks/__init__.py", line 430, in <lambda>
|
| 202 |
lambda task: self._load_individual_task_or_group(task),
|
| 203 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 204 |
+
File "/opt/conda/lib/python3.11/site-packages/lm_eval/tasks/__init__.py", line 328, in _load_individual_task_or_group
|
| 205 |
+
return _load_task(task_config, task=name_or_config)
|
| 206 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 207 |
+
File "/opt/conda/lib/python3.11/site-packages/lm_eval/tasks/__init__.py", line 288, in _load_task
|
| 208 |
+
task_object = ConfigurableTask(config=config)
|
| 209 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 210 |
+
File "/opt/conda/lib/python3.11/site-packages/lm_eval/api/task.py", line 748, in __init__
|
| 211 |
+
self.download(self.config.dataset_kwargs)
|
| 212 |
+
File "/opt/conda/lib/python3.11/site-packages/lm_eval/api/task.py", line 860, in download
|
| 213 |
+
self.dataset = self.config.custom_dataset(
|
| 214 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 215 |
+
File "/opt/conda/lib/python3.11/site-packages/lm_eval/tasks/ruler/qa_utils.py", line 240, in get_hotpotqa
|
| 216 |
+
return get_qa_dataset("hotpotqa", **kwargs)
|
| 217 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 218 |
+
File "/opt/conda/lib/python3.11/site-packages/lm_eval/tasks/ruler/qa_utils.py", line 222, in get_qa_dataset
|
| 219 |
+
qas, docs = read_hotpotqa()
|
| 220 |
+
^^^^^^^^^^^^^^^
|
| 221 |
+
File "/opt/conda/lib/python3.11/site-packages/lm_eval/tasks/ruler/qa_utils.py", line 79, in read_hotpotqa
|
| 222 |
+
data = download_json(url)
|
| 223 |
+
^^^^^^^^^^^^^^^^^^
|
| 224 |
+
File "/opt/conda/lib/python3.11/site-packages/lm_eval/tasks/ruler/qa_utils.py", line 38, in download_json
|
| 225 |
+
response = requests.get(url)
|
| 226 |
+
^^^^^^^^^^^^^^^^^
|
| 227 |
+
File "/opt/conda/lib/python3.11/site-packages/requests/api.py", line 73, in get
|
| 228 |
+
return request("get", url, params=params, **kwargs)
|
| 229 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 230 |
+
File "/opt/conda/lib/python3.11/site-packages/requests/api.py", line 59, in request
|
| 231 |
+
return session.request(method=method, url=url, **kwargs)
|
| 232 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 233 |
+
File "/opt/conda/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
|
| 234 |
+
resp = self.send(prep, **send_kwargs)
|
| 235 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 236 |
+
File "/opt/conda/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
|
| 237 |
+
r = adapter.send(request, **kwargs)
|
| 238 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 239 |
+
File "/opt/conda/lib/python3.11/site-packages/requests/adapters.py", line 665, in send
|
| 240 |
+
raise ConnectTimeout(e, request=request)
|
| 241 |
+
requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='curtis.ml.cmu.edu', port=80): Max retries exceeded with url: /datasets/hotpot/hotpot_dev_distractor_v1.json (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f91c0eaee90>, 'Connection to curtis.ml.cmu.edu timed out. (connect timeout=None)'))
|