-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathregression.yaml
57 lines (57 loc) · 1.37 KB
/
regression.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# if this file is updated, check required updates:
# * in the demo: https://colab.research.google.com/drive/1Me2goAjjIhdCWtpyGSIHELJCF-jC3m7-?usp=sharing
# * in the documentation: https://docs.wandb.ai/integrations/huggingface
version: 0.0
name: huggingface-transformers
short: transformers
sources:
- transformers:
url: https://github.com/huggingface/transformers.git
base: transformers
hash: bfa4ccf77d65d8899b01417bd9845b2e78bc0ec5
branch: main
# v4.1.1 release
launch:
path: transformers
command:
- python
- examples/text-classification/run_glue.py
- --model_name_or_path
- bert-base-uncased
- --task_name
- MRPC
- --learning_rate
- 1e-4
- --do_train
- --do_eval
- --max_steps
- 1
- --logging_steps
- 1
- --evaluation_strategy
- steps
- --output_dir
- /tmp/MRPC/
- --overwrite_output_dir
- --run_name
- demo
timeout: 15m
killtime: 20m
environment:
pip:
- pip>=21.0
- transformers==4.1.1
- datasets
- scikit-learn
variables:
WANDB_PROJECT: huggingface-demo
WANDB_LOG_MODEL: true
variants:
- init:
- python3s
- wandb-cli
- torches1plus
check:
command:
- python
- check.py