Comments (4)
First, manually download all the huggingface dependency to where it should be (e.g. ~/.cache/huggingface
). Then you may set the following env variables and start OpenCompass scripts.
export HF_DATASETS_OFFLINE=1
export TRANSFORMERS_OFFLINE=1
export HF_EVALUATE_OFFLINE=1
from opencompass.
To my knowledge, once load_dataset
is executed, the dataset has already been cached to the disk. There is no need to save_to_disk
again. Still, you can download the files in one machine and copy them to another machine in any way possible (e.g. in-cluster networks / USB flask disk / mount disk). And that is all I know.
I am not sure whether this post would be helpful to you.
from opencompass.
First, manually download all the huggingface dependency to where it should be (e.g.
~/.cache/huggingface
). Then you may set the following env variables and start OpenCompass scripts.export HF_DATASETS_OFFLINE=1 export TRANSFORMERS_OFFLINE=1 export HF_EVALUATE_OFFLINE=1
手工下载huggingface的数据集的方式有哪些,目前我知道的一种方法是:采用能联网的电脑,使用load_dataset 函数,从网络上load,然后再save_to_disk(my_dataset_dir),磁盘上应该就会有了;
还有其他方式吗?感谢~
from opencompass.
To my knowledge, once
load_dataset
is executed, the dataset has already been cached to the disk. There is no need tosave_to_disk
again. Still, you can download the files in one machine and copy them to another machine in any way possible (e.g. in-cluster networks / USB flask disk / mount disk). And that is all I know. I am not sure whether this post would be helpful to you.
赞,多谢
from opencompass.
Related Issues (20)
- [Bug] 评测 Hellaswag 失败 HOT 2
- [Bug] 根据官方的Quick Start运行,输出结果为空 HOT 6
- 泛化性更好的评测方式 HOT 2
- [Feature] Add -f for evaluation stage
- [Bug] CLUEWSC的测试结果全是 50%
- [Feature] Leval数据集少了两个config:codeU和sci_fi
- [Bug] 使用api测评时mode参数不起作用,超出max_seq_len并没有按mode切分输入
- [Feature] Falmes dataset evaluation seems to be missing configs and json file HOT 3
- [Bug] 评测lawbench数据集时偶现异常
- [Feature] 支持openai/GPT4-o的评测seting HOT 1
- GenInferencer PPLInferencer 不能集成到一起吗[Feature] HOT 2
- [Feature] 如何在needlebench 中使用api model? HOT 2
- [Feature] config的bug,提示下载configs,然后下载了又出现以下bug
- [Bug] unrecognized arguments: --no-batch-padding HOT 1
- opencompass榜单更新情况 HOT 2
- [Bug] hf_chatglm3_6b评测AFQMC数据集时,自测结果与官方不一致。且自测结果不稳定。 HOT 1
- No module named 'opencompass' HOT 9
- [Bug] Unable to use tutorial methods properly——KeyError: 'opt125m'or'opt350m' HOT 1
- [Bug] opencompass/cli和opencompass/datasets/IFEval下缺少__init__.py所以release版本是不能导入这两个包的 HOT 1
- [Bug] configs/datasets/agieval/agieval_mixed_713d14.py not found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencompass.