Comments (6)
你好,这是由于你的服务器无法连接github造成的。可以上网搜索修改hosts加速的方法来解决。
from p-tuning-v2.
@jx1100370217 Hi,
has your problem got resolved? Please feel free to reopen the issue if necessary.
from p-tuning-v2.
我遇到了相同的错误,参考以下链接解决了,希望能帮到后来人。
https://blog.csdn.net/qq_15821487/article/details/121069536
from p-tuning-v2.
05/15/2023 17:19:03 - INFO - datasets.utils.file_utils - HEAD request to https://raw.githubusercontent.com/huggingface/datasets/2.3.2/metrics/super_glue/super_glue.py timed out, retrying... [1.0]
Traceback (most recent call last):
File "run.py", line 130, in <module>
trainer, predict_dataset = get_trainer(args)
File "/home/mylady/code/ai/nlp/P-tuning-v2/tasks/superglue/get_trainer.py", line 30, in get_trainer
dataset = SuperGlueDataset(tokenizer, data_args, training_args)
File "/home/mylady/code/ai/nlp/P-tuning-v2/tasks/superglue/dataset.py", line 98, in __init__
self.metric = load_metric("super_glue", data_args.dataset_name)
File "/home/mylady/.virtualenvs/chatglm_tuning/lib/python3.8/site-packages/datasets/load.py", line 1335, in load_metric
metric_module = metric_module_factory(
File "/home/mylady/.virtualenvs/chatglm_tuning/lib/python3.8/site-packages/datasets/load.py", line 1277, in metric_module_factory
raise e1 from None
File "/home/mylady/.virtualenvs/chatglm_tuning/lib/python3.8/site-packages/datasets/load.py", line 1265, in metric_module_factory
return GithubMetricModuleFactory(
File "/home/mylady/.virtualenvs/chatglm_tuning/lib/python3.8/site-packages/datasets/load.py", line 537, in get_module
local_path = self.download_loading_script(revision)
File "/home/mylady/.virtualenvs/chatglm_tuning/lib/python3.8/site-packages/datasets/load.py", line 531, in download_loading_script
return cached_path(file_path, download_config=download_config)
File "/home/mylady/.virtualenvs/chatglm_tuning/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 185, in cached_path
output_path = get_from_cache(
File "/home/mylady/.virtualenvs/chatglm_tuning/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 533, in get_from_cache
raise ConnectionError(f"Couldn't reach {url} ({repr(head_error)})")
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.3.2/metrics/super_glue/super_glue.py (ConnectionError(MaxRetryError("HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /huggingface/datasets/2.3.2/metrics/super_glue/super_glue.py (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fef16c35070>: Failed to establish a new connection: [Errno 111] Connection refused'))")))
from p-tuning-v2.
from p-tuning-v2.
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.3.2/metrics/super_glue/super_glue.py (ConnectionError(MaxRetryError("HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /huggingface/datasets/2.3.2/metrics/super_glue/super_glue.py (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fef16c35070>: Failed to establish a new connection: [Errno 111] Connection refused'))")))
from p-tuning-v2.
Related Issues (20)
- AttributeError: No huggingface_hub attribute hf_api HOT 4
- 请问,实现p-tuningv2,在每一层都添加可学习参数的代码在哪里?,nlp新手,感谢!! HOT 1
- ReCoRD dataset
- 微调结果不收敛是什么原因?
- 有没有大佬可以提供一些下游任务是“关键词提取”的数据集?
- 提问:MPT-2是否对每个任务训练一个独立的linear classifiers?
- 跟prefix tuning的区别是什么呢? HOT 1
- 使用微调后的模型报错 HOT 1
- AttributeError: 'ExponentialTrainer' object has no attribute 'deepspeed' HOT 1
- 如何加载本地模型
- Fine-tuning
- Is it possible to use p-tuning v2 during inference without causing any impact on the backbone model's performance?
- p tuning v2在NER任务 conll2003上复现F1值和文中写的差一个点啊 参数是跟着shell文件里面设置的 有朋友遇到相似的问题吗? HOT 1
- 还是丢了原有的很多能力 HOT 1
- 关于prompt depth
- Run scripts for GLUE tasks
- 请问在训练时模型中的dropout层还会工作吗?
- p-tuning v2适合分类任务吗?
- 怎么在chatglm3-6b中使用修改以后的p-tuning v2啊?
- GLUE、NER、SRL、QA 和 SuperGLUE任务集相关问题
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 p-tuning-v2.