File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ def _extract_links_from_html(html: str):
142142 list[str]: A list of links to download.
143143 """
144144 soup = BeautifulSoup (html , 'html.parser' )
145- links = [a ['href' ] for a in soup .find_all ('a' )]
145+ links = [a ['href' ] for a in soup .find_all ('a' )] # type: ignore
146146 return links
147147
148148
@@ -208,7 +208,7 @@ def _recursive_download(
208208 _recursive_download (
209209 session ,
210210 base_url ,
211- urljoin (path , child_link ),
211+ urljoin (path , child_link ), # type: ignore
212212 save_dir ,
213213 ignore_cert = ignore_cert ,
214214 )
Original file line number Diff line number Diff line change 5858 'transformers>=4.43.2,<4.47' ,
5959 'mosaicml-streaming>=0.11.0,<0.12' ,
6060 'torch>=2.5.1,<2.5.2' ,
61- 'datasets>=2.20.0 ,<3.3 ' ,
61+ 'datasets>=3.3.2 ,<3.4 ' ,
6262 'fsspec==2023.6.0' , # newer version results in a bug in datasets that duplicates data
6363 'sentencepiece==0.2.0' ,
6464 'einops==0.8.0' ,
You can’t perform that action at this time.
0 commit comments