Datasets:

Modalities:
Text
Formats:
parquet
Size:
< 1K
ArXiv:
Tags:
code
Libraries:
Datasets
pandas
License:
deniskokosss commited on
Commit
f327ab0
1 Parent(s): 4c5cd5b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -7
README.md CHANGED
@@ -100,10 +100,10 @@ mkdir -p ./results/humaneval_ru
100
  MODELS_PATH="bigcode"
101
  echo $MODELS_PATH
102
  declare -A bs=( ["starcoderbase-1b"]=16 ["starcoderbase-3b"]=8 ["starcoderbase-7b"]=4 ["starcoderbase"]=1 ["starcoder"]=1)
103
- for model_name in starcoder # starcoderbase-1b starcoderbase-3b starcoderbase-7b starcoderbase codellama_2_13b
104
  do
105
  echo $MODELS_PATH/$model_name
106
- conda run -p /home/jovyan/kokosinskiy/envs/codegen310 --no-capture-output accelerate launch --mixed_precision="fp16" main.py \
107
  --model $MODELS_PATH/$model_name \
108
  --max_length_generation 512 \
109
  --tasks humaneval_ru \
@@ -120,10 +120,10 @@ done
120
  MODELS_PATH="codellama"
121
  echo $MODELS_PATH
122
  declare -A bs=( ["CodeLlama-7b-Python-hf"]=8 ["CodeLlama-7b-hf"]=16 ["CodeLlama-13b-Python-hf"]=4 ["CodeLlama-13b-hf"]=4 )
123
- for model_name in CodeLlama-7b-hf CodeLlama-7b-Python-hf CodeLlama-13b-hf CodeLlama-13b-Python-hf # codellama_2_13b
124
  do
125
  echo $MODELS_PATH/$model_name
126
- conda run -p /home/jovyan/kokosinskiy/envs/codegen310 --no-capture-output accelerate launch --mixed_precision="fp16" main.py \
127
  --model $MODELS_PATH/$model_name \
128
  --max_length_generation 512 \
129
  --tasks humaneval_ru \
@@ -144,10 +144,10 @@ mkdir -p ./results/humaneval
144
  MODELS_PATH="bigcode"
145
  echo $MODELS_PATH
146
  declare -A bs=( ["starcoderbase-1b"]=16 ["starcoderbase-3b"]=8 ["starcoderbase-7b"]=4 ["starcoderbase"]=1 ["starcoder"]=1)
147
- for model_name in starcoder starcoderbase-1b starcoderbase-3b starcoderbase-7b starcoderbase
148
  do
149
  echo $MODELS_PATH/$model_name
150
- conda run -p /home/jovyan/kokosinskiy/envs/codegen310 --no-capture-output accelerate launch --mixed_precision="fp16" main.py \
151
  --model $MODELS_PATH/$model_name \
152
  --max_length_generation 512 \
153
  --tasks humaneval \
@@ -167,7 +167,7 @@ declare -A bs=( ["CodeLlama-7b-Python-hf"]=8 ["CodeLlama-7b-hf"]=16 ["CodeLlama-
167
  for model_name in CodeLlama-7b-hf CodeLlama-7b-Python-hf CodeLlama-13b-hf CodeLlama-13b-Python-hf
168
  do
169
  echo $MODELS_PATH/$model_name
170
- conda run -p /home/jovyan/kokosinskiy/envs/codegen310 --no-capture-output accelerate launch --mixed_precision="fp16" main.py \
171
  --model $MODELS_PATH/$model_name \
172
  --max_length_generation 512 \
173
  --tasks humaneval \
 
100
  MODELS_PATH="bigcode"
101
  echo $MODELS_PATH
102
  declare -A bs=( ["starcoderbase-1b"]=16 ["starcoderbase-3b"]=8 ["starcoderbase-7b"]=4 ["starcoderbase"]=1 ["starcoder"]=1)
103
+ for model_name in starcoderbase-1b starcoderbase-3b starcoderbase-7b starcoderbase starcoder
104
  do
105
  echo $MODELS_PATH/$model_name
106
+ accelerate launch --mixed_precision="fp16" main.py \
107
  --model $MODELS_PATH/$model_name \
108
  --max_length_generation 512 \
109
  --tasks humaneval_ru \
 
120
  MODELS_PATH="codellama"
121
  echo $MODELS_PATH
122
  declare -A bs=( ["CodeLlama-7b-Python-hf"]=8 ["CodeLlama-7b-hf"]=16 ["CodeLlama-13b-Python-hf"]=4 ["CodeLlama-13b-hf"]=4 )
123
+ for model_name in CodeLlama-7b-hf CodeLlama-7b-Python-hf CodeLlama-13b-hf CodeLlama-13b-Python-hf
124
  do
125
  echo $MODELS_PATH/$model_name
126
+ accelerate launch --mixed_precision="fp16" main.py \
127
  --model $MODELS_PATH/$model_name \
128
  --max_length_generation 512 \
129
  --tasks humaneval_ru \
 
144
  MODELS_PATH="bigcode"
145
  echo $MODELS_PATH
146
  declare -A bs=( ["starcoderbase-1b"]=16 ["starcoderbase-3b"]=8 ["starcoderbase-7b"]=4 ["starcoderbase"]=1 ["starcoder"]=1)
147
+ for model_name in starcoderbase-1b starcoderbase-3b starcoderbase-7b starcoderbase starcoder
148
  do
149
  echo $MODELS_PATH/$model_name
150
+ accelerate launch --mixed_precision="fp16" main.py \
151
  --model $MODELS_PATH/$model_name \
152
  --max_length_generation 512 \
153
  --tasks humaneval \
 
167
  for model_name in CodeLlama-7b-hf CodeLlama-7b-Python-hf CodeLlama-13b-hf CodeLlama-13b-Python-hf
168
  do
169
  echo $MODELS_PATH/$model_name
170
+ accelerate launch --mixed_precision="fp16" main.py \
171
  --model $MODELS_PATH/$model_name \
172
  --max_length_generation 512 \
173
  --tasks humaneval \