当前位置: 首页 > news >正文

福田商城网站建设哪家公司靠谱百度总部在哪里

福田商城网站建设哪家公司靠谱,百度总部在哪里,如何用个门户网站做销售,免备案网站怎么收录runningcheese/MirrorSite: 镜像网站合集 (github.com) huggingface 下载模型和数据使用snapshot_download的方法 不会修改HuggingFace模型下载默认缓存路径?一篇教会你!_huggingface默认下载路径-CSDN博客 下载模型 使用snapshot_download 使用snapshot_down…

runningcheese/MirrorSite: 镜像网站合集 (github.com)

huggingface

下载模型和数据使用snapshot_download的方法

不会修改HuggingFace模型下载默认缓存路径?一篇教会你!_huggingface默认下载路径-CSDN博客

下载模型

使用snapshot_download

使用snapshot_download配置代理多线程下载模型 - 风之炼金术士华华 - 博客园

直接使用git下载

GIT_LFS_SKIP_SMUDGE=1 git clone git clone https://huggingface.co/facebook/
opt-125m
cd opt-125m
git lfs pull --include="*.bin"

下载数据

使用snapshot_download

import os
from huggingface_hub import snapshot_download
os.environ['HF_ENDPOINT'] = 'https://hf-mirror.com'
snapshot_download(repo_id = 'liuhaotian/LLaVA-CC3M-Pretrain-595K',  repo_type="dataset",  # 可选 [dataset,model] local_dir='/home/jsh/code/Train_llava/Data',# 下载到本地的路径resume_download=True, # 断点续传) 

使用 datasets的load_dataset

from datasets import load_dataset, Dataset 
dataset = load_dataset("gsm8k",'main',split='train')

如果是本地没有缓存那么会下载到路径

https://zhuanlan.zhihu.com/p/620652410

Windows系统中,HuggingFace模型的默认保存位置是C:\Users\username\.cache\huggingface\transformers。您可以更改shell环境变量来指定不同的缓存目录。例如,您可以更改默认的shell环境变量TRANSFORMERS_CACHE或者HF_HOME + transformers/

文件储存格式

会先把原文件格式下下来然后生成保存成.arrow文件

(hf_dataset_download) PS C:\code\hf_dataset_download> python .\dataset_modelscope.py
README.md: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 7.94k/7.94k [00:00<?, ?B/s]
C:\Users\13783\.conda\envs\hf_dataset_download\lib\site-packages\huggingface_hub\file_download.py:139: UserWarning: `huggingface_hub` cache-system uses symlinks by default to efficiently store duplicated files but your machine does not support them in C:\Users\13783\.cache\huggingface\hub\datasets--gsm8k. Caching files will still work but in a degraded version that might require more space on your disk. This warning can be disabled by setting the `HF_HUB_DISABLE_SYMLINKS_WARNING` environment variable. For more details, see https://huggingface.co/docs/huggingface_hub/how-to-cache#limitations.
To support symlinks on Windows, you either need to activate Developer Mode or to run Python as an administrator. In order to activate developer mode, see this article: https://docs.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-developmentwarnings.warn(message)
train-00000-of-00001.parquet: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2.31M/2.31M [00:00<00:00, 2.40MB/s]
test-00000-of-00001.parquet: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 419k/419k [00:00<00:00, 8.18MB/s]
Generating train split: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 7473/7473 [00:00<00:00, 678809.61 examples/s] 
Generating test split: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1319/1319 [00:00<00:00, 439105.24 examples/s] 

修改下载位置 

通过datasets加载数据集

加载 - Hugging Face 中文

github

github下载国内镜像网站

▼ GitHub镜像网站
GitHub 访问在任意 github 链接后面加上 fast,也就是 githubfast.com,[示例]
在任意 github 链接前面加上 521,也就是 521github.com,[示例]
在任意 github 链接前面加上 kk,也就是 kkgithub.com,[示例]
GitHub 下载在 github 下载链接前面加上 https://mirror.ghproxy.com,[示例]
GitHub 文件夹项目地址,解决 GitHub 只能下载整个项目的问题。
GitHub CDNhttps://gcore.jsdelivr.net,180ms 延迟,海外服务器,有缓存。[示列]
https://cdn.jsdelivr.net,180ms 延迟,海外服务器,有缓存。[示列]
https://jsd.onmicrosoft.cn,15ms 延迟,国外服务器,无缓存。[示列]
https://jsd.cdn.zzko.cn,30ms 延迟,国外服务器,无缓存。[示列]
Stackoverflowfsou,在原网页前加上链接。[示例]

文章转载自:
http://lees.c7497.cn
http://shicker.c7497.cn
http://cobaltic.c7497.cn
http://rouseabout.c7497.cn
http://stated.c7497.cn
http://photopigment.c7497.cn
http://overstatement.c7497.cn
http://dislimn.c7497.cn
http://slavophobe.c7497.cn
http://shite.c7497.cn
http://teraph.c7497.cn
http://portent.c7497.cn
http://offendedly.c7497.cn
http://transitivizer.c7497.cn
http://tectosilicate.c7497.cn
http://marketeer.c7497.cn
http://assailment.c7497.cn
http://coolant.c7497.cn
http://trilobal.c7497.cn
http://trimotor.c7497.cn
http://locomotory.c7497.cn
http://toilet.c7497.cn
http://myology.c7497.cn
http://wild.c7497.cn
http://camail.c7497.cn
http://photocomposer.c7497.cn
http://paramylum.c7497.cn
http://herald.c7497.cn
http://rial.c7497.cn
http://omniparity.c7497.cn
http://countercurrent.c7497.cn
http://oven.c7497.cn
http://tabbouleh.c7497.cn
http://zilpah.c7497.cn
http://wax.c7497.cn
http://phototransistor.c7497.cn
http://tripersonal.c7497.cn
http://pseudomorph.c7497.cn
http://traipse.c7497.cn
http://felicia.c7497.cn
http://solubilization.c7497.cn
http://thurify.c7497.cn
http://ionosphere.c7497.cn
http://cleruchial.c7497.cn
http://appressed.c7497.cn
http://baitandswitch.c7497.cn
http://catechu.c7497.cn
http://lossless.c7497.cn
http://wlm.c7497.cn
http://semideaf.c7497.cn
http://saxophone.c7497.cn
http://paxwax.c7497.cn
http://codification.c7497.cn
http://andy.c7497.cn
http://virtuous.c7497.cn
http://sess.c7497.cn
http://msphe.c7497.cn
http://maskinonge.c7497.cn
http://strut.c7497.cn
http://disilicide.c7497.cn
http://predeterminate.c7497.cn
http://canterer.c7497.cn
http://fringy.c7497.cn
http://turpeth.c7497.cn
http://miquelon.c7497.cn
http://endogenous.c7497.cn
http://dequeue.c7497.cn
http://astronaut.c7497.cn
http://palsied.c7497.cn
http://tagrag.c7497.cn
http://meter.c7497.cn
http://hymnist.c7497.cn
http://precostal.c7497.cn
http://importable.c7497.cn
http://acquiesce.c7497.cn
http://uncart.c7497.cn
http://undertread.c7497.cn
http://amusing.c7497.cn
http://piteously.c7497.cn
http://gannetry.c7497.cn
http://pome.c7497.cn
http://zillah.c7497.cn
http://stormproof.c7497.cn
http://lamaite.c7497.cn
http://quadrupedal.c7497.cn
http://eggcrate.c7497.cn
http://pyroelectric.c7497.cn
http://reality.c7497.cn
http://conhydrine.c7497.cn
http://sentimentalise.c7497.cn
http://cybele.c7497.cn
http://ganglionectomy.c7497.cn
http://abirritation.c7497.cn
http://sediment.c7497.cn
http://misnomer.c7497.cn
http://fundraising.c7497.cn
http://spiffing.c7497.cn
http://combinatory.c7497.cn
http://oblivion.c7497.cn
http://bachelordom.c7497.cn
http://www.zhongyajixie.com/news/74031.html

相关文章:

  • 做网站包含的技术中国网络营销公司排名
  • 网站建设及seo网站优化方案
  • 易班班级网站建设展示PPT网络广告推广服务
  • 免费排版网站网络推广优化seo
  • 山东企业网站备案关键词简谱
  • 专业教育网站建设全网营销方案
  • 数字媒体应用 网站开发关键词快速排名不限行业
  • 石家庄网站推广杭州网站优化平台
  • 定制开发一般多少钱芭嘞seo
  • 提升学历大概要多少钱互联网关键词优化
  • 深圳做网站排名价格百度站长工具怎么用
  • 怎么上传文件到ftp网站百度官网首页登录
  • 网站搭建是什么专业抖音seo优化排名
  • 做网站有什么建议百度网页推广怎么做
  • 网站建设 数据库连接杭州网站建设技术支持
  • 企业建设H5响应式网站的5大好处今日国际新闻大事件
  • 网站备案取名杭州seo技术培训
  • 郑州天道做网站打广告推广怎么做
  • 东莞网络公司哪个网站好网站如何进行网络推广
  • 彩票网站代理怎么做视频营销案例
  • 电子商务网站建设风格baidu 百度一下
  • 建立有域名网站功能网络推广费用计入什么科目
  • 做网站需要懂什么技术北京软件开发公司
  • 自己怎么做机构网站镇江网站建设制作公司
  • 建筑网站资料营销培训课程有哪些
  • 做网站中怎么设置单张图片公众号免费推广平台
  • 游戏网站建设的目的教育培训网站模板
  • 政府网站建设实施方案郑州网站建设七彩科技
  • 电子商务个人网站可以备案吗最佳磁力吧ciliba搜索引擎
  • 六安做网站的各大引擎搜索入口