Initial commit
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- bert_results_ft_more_layers_github_epoch_9_mlp/pile_full_bert_6_9b_9_github_600_8e-05_test.txt +7 -0
- eval_bert_test_all.py +208 -0
- generate_lowest_ft_more_layers.py +166 -0
- model_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/README.md +202 -0
- model_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/adapter_config.json +31 -0
- model_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/adapter_model.safetensors +3 -0
- model_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/training_args.bin +3 -0
- model_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-nonmember-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/README.md +202 -0
- model_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-nonmember-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/adapter_config.json +31 -0
- model_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-nonmember-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/adapter_model.safetensors +3 -0
- model_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-nonmember-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/training_args.bin +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-10/README.md +202 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-10/adapter_config.json +31 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-10/adapter_model.safetensors +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-10/optimizer.pt +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-10/rng_state.pth +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-10/scheduler.pt +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-10/trainer_state.json +48 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-10/training_args.bin +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-100/README.md +202 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-100/adapter_config.json +31 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-100/adapter_model.safetensors +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-100/optimizer.pt +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-100/rng_state.pth +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-100/scheduler.pt +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-100/trainer_state.json +183 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-100/training_args.bin +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-110/README.md +202 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-110/adapter_config.json +31 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-110/adapter_model.safetensors +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-110/optimizer.pt +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-110/rng_state.pth +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-110/scheduler.pt +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-110/trainer_state.json +198 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-110/training_args.bin +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-120/README.md +202 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-120/adapter_config.json +31 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-120/adapter_model.safetensors +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-120/optimizer.pt +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-120/rng_state.pth +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-120/scheduler.pt +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-120/trainer_state.json +213 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-120/training_args.bin +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-130/README.md +202 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-130/adapter_config.json +31 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-130/adapter_model.safetensors +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-130/optimizer.pt +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-130/rng_state.pth +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-130/scheduler.pt +3 -0
- output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-130/trainer_state.json +228 -0
bert_results_ft_more_layers_github_epoch_9_mlp/pile_full_bert_6_9b_9_github_600_8e-05_test.txt
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Kolmogorov-Smirnov test statistic: p-value: 0.13385273551786803
|
| 3 |
+
|
| 4 |
+
Mann-Whitney U test statistic: p-value: 0.1872454720291966
|
| 5 |
+
|
| 6 |
+
Anderson-Darling test statistic: 0.4178133291209304 critical-value:1.9609999999999999
|
| 7 |
+
|
eval_bert_test_all.py
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from bert_score import BERTScorer
|
| 2 |
+
import torch
|
| 3 |
+
import json
|
| 4 |
+
import argparse
|
| 5 |
+
import numpy as np
|
| 6 |
+
from scipy.stats import ks_2samp, mannwhitneyu, anderson_ksamp
|
| 7 |
+
import matplotlib.pyplot as plt
|
| 8 |
+
import re
|
| 9 |
+
import os
|
| 10 |
+
import pandas as pd
|
| 11 |
+
|
| 12 |
+
def load_jsonl(file_path):
|
| 13 |
+
data = []
|
| 14 |
+
with open(file_path, 'r') as file:
|
| 15 |
+
for line in file:
|
| 16 |
+
data.append(json.loads(line.strip()))
|
| 17 |
+
return data
|
| 18 |
+
|
| 19 |
+
def dump_txt(data, file_path):
|
| 20 |
+
with open(file_path, 'w') as file:
|
| 21 |
+
file.write(str(data) + '\n')
|
| 22 |
+
|
| 23 |
+
def compare_distributions(sample1, sample2):
|
| 24 |
+
# Kolmogorov-Smirnov Test
|
| 25 |
+
ks_stat, ks_p_value = ks_2samp(sample1, sample2)
|
| 26 |
+
print(f"Kolmogorov-Smirnov test statistic: {ks_stat}, p-value: {ks_p_value}")
|
| 27 |
+
if ks_p_value < 0.05:
|
| 28 |
+
print("Kolmogorov-Smirnov test: The two samples likely come from different distributions.")
|
| 29 |
+
else:
|
| 30 |
+
print("Kolmogorov-Smirnov test: The two samples likely come from the same distribution.")
|
| 31 |
+
|
| 32 |
+
# Mann-Whitney U Test
|
| 33 |
+
mw_stat, mw_p_value = mannwhitneyu(sample1, sample2, alternative='two-sided')
|
| 34 |
+
print(f"Mann-Whitney U test statistic: {mw_stat}, p-value: {mw_p_value}")
|
| 35 |
+
if mw_p_value < 0.05:
|
| 36 |
+
print("Mann-Whitney U test: The two samples likely come from different distributions.")
|
| 37 |
+
else:
|
| 38 |
+
print("Mann-Whitney U test: The two samples likely come from the same distribution.")
|
| 39 |
+
|
| 40 |
+
# Anderson-Darling Test
|
| 41 |
+
ad_stat, critical_values, ad_significance_level = anderson_ksamp([sample1, sample2])
|
| 42 |
+
print(f"Anderson-Darling test statistic: {ad_stat}, significance level: {ad_significance_level}")
|
| 43 |
+
if ad_stat > critical_values[2]: # Using 5% significance level
|
| 44 |
+
print("Anderson-Darling test: The two samples likely come from different distributions.")
|
| 45 |
+
else:
|
| 46 |
+
print("Anderson-Darling test: The two samples likely come from the same distribution.")
|
| 47 |
+
|
| 48 |
+
return ks_p_value, mw_p_value, ad_stat, critical_values[2]
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
def get_num_from_directory(directory_path):
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
# List to store the extracted numbers
|
| 55 |
+
numbers = []
|
| 56 |
+
|
| 57 |
+
# Iterate over each file/directory in the specified path
|
| 58 |
+
for filename in os.listdir(directory_path):
|
| 59 |
+
# Use regex to find numbers in the filename
|
| 60 |
+
match = re.search(r'checkpoint-(\d+)', filename)
|
| 61 |
+
if match:
|
| 62 |
+
# Append the extracted number to the list as an integer
|
| 63 |
+
numbers.append(int(match.group(1)))
|
| 64 |
+
|
| 65 |
+
return numbers
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
parser = argparse.ArgumentParser()
|
| 70 |
+
parser.add_argument('--model', type=str, default='160m',help='model name') #160m 410m 1b 1.4b 2.8b 6.9b 12b
|
| 71 |
+
parser.add_argument('--epoch', type=int, default=9,help='model name')
|
| 72 |
+
parser.add_argument('--size', type=int, default=600,help='model name')
|
| 73 |
+
parser.add_argument('--subname', type=str, default='arxiv', help='subset name')
|
| 74 |
+
parser.add_argument('--lr', type=float, default=2e-5, help='learning rate')
|
| 75 |
+
parser.add_argument('--temp', type=float, default=0.0, help='generation temperature')
|
| 76 |
+
parser.add_argument('--topp', type=float, default=1.0, help='generation top_p')
|
| 77 |
+
parser.add_argument('--logging', type=str, default='', help='logging of the file')
|
| 78 |
+
|
| 79 |
+
args = parser.parse_args()
|
| 80 |
+
|
| 81 |
+
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 82 |
+
bert_scorer = BERTScorer('roberta-large', device=device, rescale_with_baseline=True, lang='en')
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
loss_file_member = f'/workspace/{args.subname}_dataset/output_ft_more_layers_{args.subname}_epoch_{args.epoch}_{args.logging}/pythia-{args.model}-member-{args.model}-epoch-{args.epoch}-pile-full-{args.size}-subsets-{args.subname}-{args.lr}/checkpoint-675/trainer_state.json'
|
| 86 |
+
|
| 87 |
+
loss_file_nonmember = f'/workspace/{args.subname}_dataset/output_ft_more_layers_{args.subname}_epoch_{args.epoch}_{args.logging}/pythia-{args.model}-nonmember-{args.model}-epoch-{args.epoch}-pile-full-{args.size}-subsets-{args.subname}-{args.lr}/checkpoint-675/trainer_state.json'
|
| 88 |
+
loss_datafile_member = json.load(open(loss_file_member))['log_history']
|
| 89 |
+
loss_datafile_nonmember = json.load(open(loss_file_nonmember))['log_history']
|
| 90 |
+
loss_l_member = []
|
| 91 |
+
loss_l_nonmember = []
|
| 92 |
+
|
| 93 |
+
for i in range(len(loss_datafile_member)):
|
| 94 |
+
try:
|
| 95 |
+
loss_data_memeber = loss_datafile_member[i]['loss']
|
| 96 |
+
loss_l_member.append(loss_data_memeber)
|
| 97 |
+
except:
|
| 98 |
+
continue
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
for i in range(len(loss_datafile_nonmember)):
|
| 102 |
+
try:
|
| 103 |
+
loss_data_nonmember = loss_datafile_nonmember[i]['loss']
|
| 104 |
+
loss_l_nonmember.append(loss_data_nonmember)
|
| 105 |
+
except:
|
| 106 |
+
continue
|
| 107 |
+
|
| 108 |
+
# Find the largest value in the list
|
| 109 |
+
max_value_member = max(loss_l_member)
|
| 110 |
+
max_value_nonmember = max(loss_l_nonmember)
|
| 111 |
+
|
| 112 |
+
# Divide each value by the largest value
|
| 113 |
+
normalized_loss_l_member = [x / max_value_member for x in loss_l_member]
|
| 114 |
+
normalized_loss_l_nonmember = [x / max_value_nonmember for x in loss_l_nonmember]
|
| 115 |
+
|
| 116 |
+
results_dict = {}
|
| 117 |
+
ks_p_value_l=[]
|
| 118 |
+
mw_p_value_l=[]
|
| 119 |
+
|
| 120 |
+
|
| 121 |
+
directory_path = f"/workspace/{args.subname}_dataset/output_ft_more_layers_{args.subname}_epoch_{args.epoch}_{args.logging}/pythia-{args.model}-member-{args.model}-epoch-{args.epoch}-pile-full-{args.size}-subsets-{args.subname}-{args.lr}"
|
| 122 |
+
numbers = get_num_from_directory(directory_path)
|
| 123 |
+
numbers.sort()
|
| 124 |
+
for num in numbers:
|
| 125 |
+
for candidate in ['member', 'nonmember']:
|
| 126 |
+
print(f"#############{num}############")
|
| 127 |
+
model_name = f'pythia-{args.model}'
|
| 128 |
+
log_str = f'{candidate}-{args.model}-epoch-{args.epoch}'
|
| 129 |
+
response_orig = load_jsonl(f'/workspace/responses_ft_more_layers_{args.subname}_epoch_{args.epoch}_{args.logging}/{model_name}-{log_str}-pile-full-{args.size}-subsets-{args.subname}-{args.lr}-orig.jsonl')
|
| 130 |
+
response_ft = load_jsonl(f'/workspace/responses_ft_more_layers_{args.subname}_epoch_{args.epoch}_{args.logging}/all_checkpoint/{model_name}-{log_str}-pile-full-{args.size}-subsets-{args.subname}-{args.lr}-{num}-ft.jsonl')
|
| 131 |
+
|
| 132 |
+
response_only_orig = []
|
| 133 |
+
response_only_ft = []
|
| 134 |
+
|
| 135 |
+
for i in range(len(response_orig)):
|
| 136 |
+
response_only_orig.append(response_orig[i]['output_text'])
|
| 137 |
+
response_only_ft.append(response_ft[i]['output_text'])
|
| 138 |
+
|
| 139 |
+
ctc_scores = bert_scorer.score(response_only_ft, response_only_orig)[2]
|
| 140 |
+
|
| 141 |
+
results_dict[candidate]=ctc_scores
|
| 142 |
+
|
| 143 |
+
ks_p_value, mw_p_value, ad_stat, adcv=compare_distributions(results_dict['member'], results_dict['nonmember'])
|
| 144 |
+
os.makedirs(f'bert_results_ft_more_layers_{args.subname}_epoch_{args.epoch}_{args.logging}', exist_ok=True)
|
| 145 |
+
os.makedirs(f'p_value_loss_ft_more_layers_{args.subname}_epoch_{args.epoch}_{args.logging}', exist_ok=True)
|
| 146 |
+
file_path =f'/workspace/bert_results_ft_more_layers_{args.subname}_epoch_{args.epoch}_{args.logging}/pile_full_bert_{args.model}_{args.epoch}_{args.subname}_{args.size}_{args.lr}_test.txt'
|
| 147 |
+
txt_info=f'''
|
| 148 |
+
Kolmogorov-Smirnov test statistic: p-value: {ks_p_value}
|
| 149 |
+
|
| 150 |
+
Mann-Whitney U test statistic: p-value: {mw_p_value}
|
| 151 |
+
|
| 152 |
+
Anderson-Darling test statistic: {ad_stat} critical-value:{adcv}
|
| 153 |
+
'''
|
| 154 |
+
dump_txt(txt_info, file_path)
|
| 155 |
+
ks_p_value_l.append(ks_p_value)
|
| 156 |
+
mw_p_value_l.append(mw_p_value)
|
| 157 |
+
plt.figure(figsize=(10, 6))
|
| 158 |
+
plt.plot(ks_p_value_l, marker='o', linestyle='-', color='b', label='P-value')
|
| 159 |
+
# Plot the second line
|
| 160 |
+
plt.plot(normalized_loss_l_member, marker='s', linestyle='--', color='g', label='member loss')
|
| 161 |
+
|
| 162 |
+
# Plot the third line
|
| 163 |
+
plt.plot(normalized_loss_l_nonmember, marker='^', linestyle='-.', color='r', label='nonmember loss')
|
| 164 |
+
# Add title and labels
|
| 165 |
+
plt.title(f'P-Value subsets-{args.subname}-{args.lr}')
|
| 166 |
+
plt.xlabel('Iteration')
|
| 167 |
+
plt.ylabel('Loss')
|
| 168 |
+
|
| 169 |
+
# Add legend
|
| 170 |
+
plt.legend()
|
| 171 |
+
|
| 172 |
+
# Show grid
|
| 173 |
+
plt.grid(True)
|
| 174 |
+
|
| 175 |
+
plt.savefig(f'/workspace/p_value_loss_ft_more_layers_{args.subname}_epoch_{args.epoch}_{args.logging}/{args.model}-{args.epoch}-pile-full-{args.size}-subsets-{args.subname}-{args.lr}-ks.png')
|
| 176 |
+
|
| 177 |
+
plt.figure(figsize=(10, 6))
|
| 178 |
+
plt.plot(mw_p_value_l, marker='o', linestyle='-', color='b', label='Loss')
|
| 179 |
+
plt.plot(normalized_loss_l_member, marker='s', linestyle='--', color='g', label='member loss')
|
| 180 |
+
|
| 181 |
+
# Plot the third line
|
| 182 |
+
plt.plot(normalized_loss_l_nonmember, marker='^', linestyle='-.', color='r', label='nonmember loss')
|
| 183 |
+
|
| 184 |
+
# Add title and labels
|
| 185 |
+
plt.title(f'P-Value subsets-{args.subname}-{args.lr}')
|
| 186 |
+
plt.xlabel('Iteration')
|
| 187 |
+
plt.ylabel('Loss')
|
| 188 |
+
|
| 189 |
+
# Add legend
|
| 190 |
+
plt.legend()
|
| 191 |
+
|
| 192 |
+
# Show grid
|
| 193 |
+
plt.grid(True)
|
| 194 |
+
|
| 195 |
+
plt.savefig(f'/workspace/p_value_loss_ft_more_layers_{args.subname}_epoch_{args.epoch}_{args.logging}/{args.model}-{args.epoch}-pile-full-{args.size}-subsets-{args.subname}-{args.lr}-mw.png')
|
| 196 |
+
print(len(loss_l_member))
|
| 197 |
+
print(len(loss_l_nonmember))
|
| 198 |
+
print(len(ks_p_value_l))
|
| 199 |
+
print(len(mw_p_value_l))
|
| 200 |
+
df_dict = {'member_loss': loss_l_member, 'nonmember_loss': loss_l_nonmember}
|
| 201 |
+
df_loss = pd.DataFrame(df_dict)
|
| 202 |
+
df_dict_test = {'ks_pvalue': ks_p_value_l, 'mw_pvalue': mw_p_value_l}
|
| 203 |
+
df_pvalue = pd.DataFrame(df_dict_test)
|
| 204 |
+
df_normalized_loss_dict = {'member_loss': normalized_loss_l_member, 'nonmember_loss': normalized_loss_l_nonmember}
|
| 205 |
+
df_normalized_loss = pd.DataFrame(df_normalized_loss_dict)
|
| 206 |
+
df_loss.to_csv(f'/workspace/pile_{args.subname}_temp_{args.temp}_topp_{args.topp}_loss_ft_more_layers_{args.subname}_epoch_{args.epoch}_{args.logging}.csv', index=False)
|
| 207 |
+
df_pvalue.to_csv(f'/workspace/pile_{args.subname}_temp_{args.temp}_topp_{args.topp}_pvalue_ft_more_layers_{args.subname}_epoch_{args.epoch}_{args.logging}.csv', index=False)
|
| 208 |
+
df_normalized_loss.to_csv(f'/workspace/pile_{args.subname}_temp_{args.temp}_topp_{args.topp}_normalized_loss_ft_more_layers_{args.subname}_epoch_{args.epoch}_{args.logging}.csv', index=False)
|
generate_lowest_ft_more_layers.py
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
import torch
|
| 3 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer, Trainer, TrainingArguments, DataCollatorForLanguageModeling
|
| 4 |
+
import datasets
|
| 5 |
+
from datasets import load_dataset
|
| 6 |
+
from datasets import Dataset, DatasetDict
|
| 7 |
+
from peft import get_peft_model, LoraConfig, TaskType
|
| 8 |
+
import json
|
| 9 |
+
from tqdm import tqdm
|
| 10 |
+
import pandas as pd
|
| 11 |
+
from functools import partial
|
| 12 |
+
import argparse
|
| 13 |
+
import re
|
| 14 |
+
|
| 15 |
+
import matplotlib
|
| 16 |
+
matplotlib.use('Agg') # Use the Agg backend for non-interactive plotting
|
| 17 |
+
import matplotlib.pyplot as plt
|
| 18 |
+
|
| 19 |
+
parser = argparse.ArgumentParser()
|
| 20 |
+
parser.add_argument('--model', type=str, default='160m',help='model name') #160m 410m 1b 1.4b 2.8b 6.9b 12b
|
| 21 |
+
parser.add_argument('--epoch', type=int, default=3,help='model name') #160m 410m 1b 1.4b 2.8b 6.9b 12b
|
| 22 |
+
parser.add_argument('--subname', type=str, default='arxiv',help='model name')
|
| 23 |
+
parser.add_argument('--size', type=int, default=600 ,help='model name')
|
| 24 |
+
parser.add_argument('--lr', type=float, default=2e-5, help='learning rate')
|
| 25 |
+
parser.add_argument('--temp', type=float, default=0.0, help='generation temperature')
|
| 26 |
+
parser.add_argument('--topp', type=float, default=1.0, help='generation top_p')
|
| 27 |
+
parser.add_argument('--candidate', type=str, default='member', help='learning rate')
|
| 28 |
+
args = parser.parse_args()
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
# Disable wandb logging
|
| 33 |
+
os.environ["WANDB_DISABLED"] = "true"
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
loss_file = f'/workspace/{args.subname}_dataset/output_ft_more_layers_{args.subname}_epoch_{args.epoch}_mlp/pythia-{args.model}-{args.candidate}-{args.model}-epoch-{args.epoch}-pile-full-{args.size}-subsets-{args.subname}-{args.lr}/checkpoint-675/trainer_state.json'
|
| 38 |
+
|
| 39 |
+
loss_datafile = json.load(open(loss_file))['log_history']
|
| 40 |
+
|
| 41 |
+
loss_l = []
|
| 42 |
+
|
| 43 |
+
for i in range(len(loss_datafile)):
|
| 44 |
+
try:
|
| 45 |
+
loss_data = loss_datafile[i]['loss']
|
| 46 |
+
loss_l.append(loss_data)
|
| 47 |
+
except:
|
| 48 |
+
continue
|
| 49 |
+
|
| 50 |
+
model_name = f'pythia-{args.model}'
|
| 51 |
+
# Load the tokenizer and model
|
| 52 |
+
model_name_hf_ori = f"/workspace/{model_name}" # You can choose other sizes as well
|
| 53 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name_hf_ori)
|
| 54 |
+
tokenizer.padding_side = "left"
|
| 55 |
+
# Add padding token if missing
|
| 56 |
+
if tokenizer.pad_token is None:
|
| 57 |
+
tokenizer.pad_token = tokenizer.eos_token
|
| 58 |
+
tokenizer.pad_token_id = tokenizer.eos_token_id
|
| 59 |
+
data_files = f"/workspace/dataset_inference/{args.subname}_train.jsonl"
|
| 60 |
+
raw_train_data_df = pd.read_json(data_files, lines=True)
|
| 61 |
+
|
| 62 |
+
#Pile Validation Set
|
| 63 |
+
val_data_files = f"/workspace/dataset_inference/{args.subname}_val.jsonl"
|
| 64 |
+
raw_val_data_df = pd.read_json(val_data_files, lines=True)
|
| 65 |
+
|
| 66 |
+
tds=Dataset.from_pandas(raw_train_data_df)
|
| 67 |
+
vds=Dataset.from_pandas(raw_val_data_df)
|
| 68 |
+
|
| 69 |
+
raw_data = DatasetDict()
|
| 70 |
+
|
| 71 |
+
raw_data['train'] = tds
|
| 72 |
+
raw_data['validation'] = vds
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
# Tokenize the input data
|
| 76 |
+
def tokenize_function(examples,max_length=384):
|
| 77 |
+
tokens = tokenizer(examples["text"], padding="max_length", truncation=True, max_length=max_length)
|
| 78 |
+
#tokens["labels"] = tokens["input_ids"].copy()
|
| 79 |
+
return tokens
|
| 80 |
+
|
| 81 |
+
data_num = 1000
|
| 82 |
+
A_members = raw_data['train'].shuffle(seed=42).select(range(0, args.size)).map(partial(tokenize_function,max_length=512), batched=True, remove_columns=["text"])
|
| 83 |
+
A_nonmembers = raw_data['validation'].shuffle(seed=42).select(range(0, args.size)).map(partial(tokenize_function,max_length=512), batched=True, remove_columns=["text"])
|
| 84 |
+
|
| 85 |
+
B_members = raw_data['train'].shuffle(seed=42).select(range(data_num, data_num*2)).map(tokenize_function, batched=True, remove_columns=["text"])
|
| 86 |
+
B_nonmembers = raw_data['validation'].shuffle(seed=42).select(range(data_num, data_num*2)).map(tokenize_function, batched=True, remove_columns=["text"])
|
| 87 |
+
|
| 88 |
+
def get_num_from_directory(directory_path):
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
# List to store the extracted numbers
|
| 92 |
+
numbers = []
|
| 93 |
+
|
| 94 |
+
# Iterate over each file/directory in the specified path
|
| 95 |
+
for filename in os.listdir(directory_path):
|
| 96 |
+
# Use regex to find numbers in the filename
|
| 97 |
+
match = re.search(r'checkpoint-(\d+)', filename)
|
| 98 |
+
if match:
|
| 99 |
+
# Append the extracted number to the list as an integer
|
| 100 |
+
numbers.append(int(match.group(1)))
|
| 101 |
+
|
| 102 |
+
return numbers
|
| 103 |
+
|
| 104 |
+
def load_jsonl(file_path):
|
| 105 |
+
data = []
|
| 106 |
+
with open(file_path, 'r') as file:
|
| 107 |
+
for line in file:
|
| 108 |
+
data.append(json.loads(line.strip()))
|
| 109 |
+
return data
|
| 110 |
+
|
| 111 |
+
def dump_jsonl(data, file_path):
|
| 112 |
+
with open(file_path, 'w') as file:
|
| 113 |
+
for item in data:
|
| 114 |
+
json.dump(item, file)
|
| 115 |
+
file.write('\n')
|
| 116 |
+
|
| 117 |
+
def generate_responses(model,ds):
|
| 118 |
+
response_list = []
|
| 119 |
+
for item in tqdm(ds):
|
| 120 |
+
input_ids = torch.tensor(item['input_ids']).reshape(1,-1).to(model.device)
|
| 121 |
+
input_len = input_ids.shape[1]
|
| 122 |
+
pred = model.generate(input_ids, max_new_tokens=100)
|
| 123 |
+
input_text = tokenizer.decode(pred[0][:input_len], skip_special_tokens=True)
|
| 124 |
+
output_text = tokenizer.decode(pred[0][input_len:], skip_special_tokens=True)
|
| 125 |
+
response_list.append({'output_text':output_text,'input_text':input_text})
|
| 126 |
+
return response_list
|
| 127 |
+
|
| 128 |
+
def generate_responses(model,ds,temperature,top_p):
|
| 129 |
+
model.eval()
|
| 130 |
+
#print(type(ds[0]))
|
| 131 |
+
#print(ds[0])
|
| 132 |
+
inputs = torch.tensor([item['input_ids'] for item in ds]).to(model.device)
|
| 133 |
+
masks = torch.tensor([item['attention_mask'] for item in ds]).to(model.device)
|
| 134 |
+
num_input,input_len = inputs.shape
|
| 135 |
+
input_text = []
|
| 136 |
+
output_text = []
|
| 137 |
+
bs = 10
|
| 138 |
+
for i in tqdm(range(0,num_input,bs)):
|
| 139 |
+
pred = model.generate(inputs=inputs[i:i+bs], attention_mask=masks[i:i+bs],max_new_tokens=100, temperature=temperature, top_p=top_p).detach()
|
| 140 |
+
input_text += tokenizer.batch_decode(pred[:,:input_len], skip_special_tokens=True)
|
| 141 |
+
output_text += tokenizer.batch_decode(pred[:,input_len:], skip_special_tokens=True)
|
| 142 |
+
|
| 143 |
+
return [{'output_text':a,'input_text':b} for a,b in zip(output_text,input_text)]
|
| 144 |
+
|
| 145 |
+
def run(train_dataset,eval_dataset,log_str, loss_l, args):
|
| 146 |
+
directory_path = f"/workspace/{args.subname}_dataset/output_ft_more_layers_{args.subname}_epoch_{args.epoch}_mlp/pythia-{args.model}-{args.candidate}-{args.model}-epoch-{args.epoch}-pile-full-{args.size}-subsets-{args.subname}-{args.lr}"
|
| 147 |
+
numbers = get_num_from_directory(directory_path)
|
| 148 |
+
min_loss_index = loss_l.index(min(loss_l))
|
| 149 |
+
os.makedirs(f'responses_ft_more_layers_{args.subname}_epoch_{args.epoch}_mlp/all_checkpoint', exist_ok=True)
|
| 150 |
+
for num in numbers:
|
| 151 |
+
model_name_hf = f"/workspace/{args.subname}_dataset/output_ft_more_layers_{args.subname}_epoch_{args.epoch}_mlp/pythia-{args.model}-{args.candidate}-{args.model}-epoch-{args.epoch}-pile-full-{args.size}-subsets-{args.subname}-{args.lr}/checkpoint-{num}" # You can choose other sizes as well
|
| 152 |
+
if torch.cuda.is_available():
|
| 153 |
+
device = torch.device("cuda")
|
| 154 |
+
model = AutoModelForCausalLM.from_pretrained(model_name_hf).to(device)
|
| 155 |
+
#model.to(device)
|
| 156 |
+
|
| 157 |
+
model.eval()
|
| 158 |
+
response_list = generate_responses(model,eval_dataset, args.temp, args.topp)
|
| 159 |
+
if num == numbers[min_loss_index]:
|
| 160 |
+
dump_jsonl(response_list,f'responses_ft_more_layers_{args.subname}_epoch_{args.epoch}_mlp/all_checkpoint/{model_name}-{log_str}-{num}-ft.jsonl')
|
| 161 |
+
else:
|
| 162 |
+
dump_jsonl(response_list,f'responses_ft_more_layers_{args.subname}_epoch_{args.epoch}_mlp/all_checkpoint/{model_name}-{log_str}-{num}-ft.jsonl')
|
| 163 |
+
|
| 164 |
+
|
| 165 |
+
run(A_members,B_members,f'member-{args.model}-epoch-{args.epoch}-pile-full-{args.size}-subsets-{args.subname}-{args.lr}', loss_l, args)
|
| 166 |
+
run(A_nonmembers,B_nonmembers,f'nonmember-{args.model}-epoch-{args.epoch}-pile-full-{args.size}-subsets-{args.subname}-{args.lr}', loss_l, args)
|
model_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/README.md
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: /workspace/pythia-6_9b
|
| 3 |
+
library_name: peft
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# Model Card for Model ID
|
| 7 |
+
|
| 8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
## Model Details
|
| 13 |
+
|
| 14 |
+
### Model Description
|
| 15 |
+
|
| 16 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
- **Developed by:** [More Information Needed]
|
| 21 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 22 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 23 |
+
- **Model type:** [More Information Needed]
|
| 24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 25 |
+
- **License:** [More Information Needed]
|
| 26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 27 |
+
|
| 28 |
+
### Model Sources [optional]
|
| 29 |
+
|
| 30 |
+
<!-- Provide the basic links for the model. -->
|
| 31 |
+
|
| 32 |
+
- **Repository:** [More Information Needed]
|
| 33 |
+
- **Paper [optional]:** [More Information Needed]
|
| 34 |
+
- **Demo [optional]:** [More Information Needed]
|
| 35 |
+
|
| 36 |
+
## Uses
|
| 37 |
+
|
| 38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 39 |
+
|
| 40 |
+
### Direct Use
|
| 41 |
+
|
| 42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 43 |
+
|
| 44 |
+
[More Information Needed]
|
| 45 |
+
|
| 46 |
+
### Downstream Use [optional]
|
| 47 |
+
|
| 48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 49 |
+
|
| 50 |
+
[More Information Needed]
|
| 51 |
+
|
| 52 |
+
### Out-of-Scope Use
|
| 53 |
+
|
| 54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 55 |
+
|
| 56 |
+
[More Information Needed]
|
| 57 |
+
|
| 58 |
+
## Bias, Risks, and Limitations
|
| 59 |
+
|
| 60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 61 |
+
|
| 62 |
+
[More Information Needed]
|
| 63 |
+
|
| 64 |
+
### Recommendations
|
| 65 |
+
|
| 66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 67 |
+
|
| 68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 69 |
+
|
| 70 |
+
## How to Get Started with the Model
|
| 71 |
+
|
| 72 |
+
Use the code below to get started with the model.
|
| 73 |
+
|
| 74 |
+
[More Information Needed]
|
| 75 |
+
|
| 76 |
+
## Training Details
|
| 77 |
+
|
| 78 |
+
### Training Data
|
| 79 |
+
|
| 80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 81 |
+
|
| 82 |
+
[More Information Needed]
|
| 83 |
+
|
| 84 |
+
### Training Procedure
|
| 85 |
+
|
| 86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 87 |
+
|
| 88 |
+
#### Preprocessing [optional]
|
| 89 |
+
|
| 90 |
+
[More Information Needed]
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
#### Training Hyperparameters
|
| 94 |
+
|
| 95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 96 |
+
|
| 97 |
+
#### Speeds, Sizes, Times [optional]
|
| 98 |
+
|
| 99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 100 |
+
|
| 101 |
+
[More Information Needed]
|
| 102 |
+
|
| 103 |
+
## Evaluation
|
| 104 |
+
|
| 105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 106 |
+
|
| 107 |
+
### Testing Data, Factors & Metrics
|
| 108 |
+
|
| 109 |
+
#### Testing Data
|
| 110 |
+
|
| 111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 112 |
+
|
| 113 |
+
[More Information Needed]
|
| 114 |
+
|
| 115 |
+
#### Factors
|
| 116 |
+
|
| 117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 118 |
+
|
| 119 |
+
[More Information Needed]
|
| 120 |
+
|
| 121 |
+
#### Metrics
|
| 122 |
+
|
| 123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 124 |
+
|
| 125 |
+
[More Information Needed]
|
| 126 |
+
|
| 127 |
+
### Results
|
| 128 |
+
|
| 129 |
+
[More Information Needed]
|
| 130 |
+
|
| 131 |
+
#### Summary
|
| 132 |
+
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
## Model Examination [optional]
|
| 136 |
+
|
| 137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 138 |
+
|
| 139 |
+
[More Information Needed]
|
| 140 |
+
|
| 141 |
+
## Environmental Impact
|
| 142 |
+
|
| 143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 144 |
+
|
| 145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 146 |
+
|
| 147 |
+
- **Hardware Type:** [More Information Needed]
|
| 148 |
+
- **Hours used:** [More Information Needed]
|
| 149 |
+
- **Cloud Provider:** [More Information Needed]
|
| 150 |
+
- **Compute Region:** [More Information Needed]
|
| 151 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 152 |
+
|
| 153 |
+
## Technical Specifications [optional]
|
| 154 |
+
|
| 155 |
+
### Model Architecture and Objective
|
| 156 |
+
|
| 157 |
+
[More Information Needed]
|
| 158 |
+
|
| 159 |
+
### Compute Infrastructure
|
| 160 |
+
|
| 161 |
+
[More Information Needed]
|
| 162 |
+
|
| 163 |
+
#### Hardware
|
| 164 |
+
|
| 165 |
+
[More Information Needed]
|
| 166 |
+
|
| 167 |
+
#### Software
|
| 168 |
+
|
| 169 |
+
[More Information Needed]
|
| 170 |
+
|
| 171 |
+
## Citation [optional]
|
| 172 |
+
|
| 173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 174 |
+
|
| 175 |
+
**BibTeX:**
|
| 176 |
+
|
| 177 |
+
[More Information Needed]
|
| 178 |
+
|
| 179 |
+
**APA:**
|
| 180 |
+
|
| 181 |
+
[More Information Needed]
|
| 182 |
+
|
| 183 |
+
## Glossary [optional]
|
| 184 |
+
|
| 185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 186 |
+
|
| 187 |
+
[More Information Needed]
|
| 188 |
+
|
| 189 |
+
## More Information [optional]
|
| 190 |
+
|
| 191 |
+
[More Information Needed]
|
| 192 |
+
|
| 193 |
+
## Model Card Authors [optional]
|
| 194 |
+
|
| 195 |
+
[More Information Needed]
|
| 196 |
+
|
| 197 |
+
## Model Card Contact
|
| 198 |
+
|
| 199 |
+
[More Information Needed]
|
| 200 |
+
### Framework versions
|
| 201 |
+
|
| 202 |
+
- PEFT 0.13.2
|
model_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/adapter_config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "/workspace/pythia-6_9b",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layer_replication": null,
|
| 10 |
+
"layers_pattern": null,
|
| 11 |
+
"layers_to_transform": null,
|
| 12 |
+
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 32,
|
| 14 |
+
"lora_dropout": 0.1,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": null,
|
| 18 |
+
"peft_type": "LORA",
|
| 19 |
+
"r": 8,
|
| 20 |
+
"rank_pattern": {},
|
| 21 |
+
"revision": null,
|
| 22 |
+
"target_modules": [
|
| 23 |
+
"dense_4h_to_h",
|
| 24 |
+
"dense",
|
| 25 |
+
"query_key_value",
|
| 26 |
+
"dense_h_to_4h"
|
| 27 |
+
],
|
| 28 |
+
"task_type": "CAUSAL_LM",
|
| 29 |
+
"use_dora": false,
|
| 30 |
+
"use_rslora": false
|
| 31 |
+
}
|
model_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:41869a47db0d686ce26b3e2099c61d822cf34270d592466c975de1215ae9d81c
|
| 3 |
+
size 67144544
|
model_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0fd4ec76dd040a715fff74fcac3a3340052bfcc76bb7c12648f16196d304b5d
|
| 3 |
+
size 4859
|
model_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-nonmember-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/README.md
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: /workspace/pythia-6_9b
|
| 3 |
+
library_name: peft
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# Model Card for Model ID
|
| 7 |
+
|
| 8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
## Model Details
|
| 13 |
+
|
| 14 |
+
### Model Description
|
| 15 |
+
|
| 16 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
- **Developed by:** [More Information Needed]
|
| 21 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 22 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 23 |
+
- **Model type:** [More Information Needed]
|
| 24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 25 |
+
- **License:** [More Information Needed]
|
| 26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 27 |
+
|
| 28 |
+
### Model Sources [optional]
|
| 29 |
+
|
| 30 |
+
<!-- Provide the basic links for the model. -->
|
| 31 |
+
|
| 32 |
+
- **Repository:** [More Information Needed]
|
| 33 |
+
- **Paper [optional]:** [More Information Needed]
|
| 34 |
+
- **Demo [optional]:** [More Information Needed]
|
| 35 |
+
|
| 36 |
+
## Uses
|
| 37 |
+
|
| 38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 39 |
+
|
| 40 |
+
### Direct Use
|
| 41 |
+
|
| 42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 43 |
+
|
| 44 |
+
[More Information Needed]
|
| 45 |
+
|
| 46 |
+
### Downstream Use [optional]
|
| 47 |
+
|
| 48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 49 |
+
|
| 50 |
+
[More Information Needed]
|
| 51 |
+
|
| 52 |
+
### Out-of-Scope Use
|
| 53 |
+
|
| 54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 55 |
+
|
| 56 |
+
[More Information Needed]
|
| 57 |
+
|
| 58 |
+
## Bias, Risks, and Limitations
|
| 59 |
+
|
| 60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 61 |
+
|
| 62 |
+
[More Information Needed]
|
| 63 |
+
|
| 64 |
+
### Recommendations
|
| 65 |
+
|
| 66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 67 |
+
|
| 68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 69 |
+
|
| 70 |
+
## How to Get Started with the Model
|
| 71 |
+
|
| 72 |
+
Use the code below to get started with the model.
|
| 73 |
+
|
| 74 |
+
[More Information Needed]
|
| 75 |
+
|
| 76 |
+
## Training Details
|
| 77 |
+
|
| 78 |
+
### Training Data
|
| 79 |
+
|
| 80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 81 |
+
|
| 82 |
+
[More Information Needed]
|
| 83 |
+
|
| 84 |
+
### Training Procedure
|
| 85 |
+
|
| 86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 87 |
+
|
| 88 |
+
#### Preprocessing [optional]
|
| 89 |
+
|
| 90 |
+
[More Information Needed]
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
#### Training Hyperparameters
|
| 94 |
+
|
| 95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 96 |
+
|
| 97 |
+
#### Speeds, Sizes, Times [optional]
|
| 98 |
+
|
| 99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 100 |
+
|
| 101 |
+
[More Information Needed]
|
| 102 |
+
|
| 103 |
+
## Evaluation
|
| 104 |
+
|
| 105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 106 |
+
|
| 107 |
+
### Testing Data, Factors & Metrics
|
| 108 |
+
|
| 109 |
+
#### Testing Data
|
| 110 |
+
|
| 111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 112 |
+
|
| 113 |
+
[More Information Needed]
|
| 114 |
+
|
| 115 |
+
#### Factors
|
| 116 |
+
|
| 117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 118 |
+
|
| 119 |
+
[More Information Needed]
|
| 120 |
+
|
| 121 |
+
#### Metrics
|
| 122 |
+
|
| 123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 124 |
+
|
| 125 |
+
[More Information Needed]
|
| 126 |
+
|
| 127 |
+
### Results
|
| 128 |
+
|
| 129 |
+
[More Information Needed]
|
| 130 |
+
|
| 131 |
+
#### Summary
|
| 132 |
+
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
## Model Examination [optional]
|
| 136 |
+
|
| 137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 138 |
+
|
| 139 |
+
[More Information Needed]
|
| 140 |
+
|
| 141 |
+
## Environmental Impact
|
| 142 |
+
|
| 143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 144 |
+
|
| 145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 146 |
+
|
| 147 |
+
- **Hardware Type:** [More Information Needed]
|
| 148 |
+
- **Hours used:** [More Information Needed]
|
| 149 |
+
- **Cloud Provider:** [More Information Needed]
|
| 150 |
+
- **Compute Region:** [More Information Needed]
|
| 151 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 152 |
+
|
| 153 |
+
## Technical Specifications [optional]
|
| 154 |
+
|
| 155 |
+
### Model Architecture and Objective
|
| 156 |
+
|
| 157 |
+
[More Information Needed]
|
| 158 |
+
|
| 159 |
+
### Compute Infrastructure
|
| 160 |
+
|
| 161 |
+
[More Information Needed]
|
| 162 |
+
|
| 163 |
+
#### Hardware
|
| 164 |
+
|
| 165 |
+
[More Information Needed]
|
| 166 |
+
|
| 167 |
+
#### Software
|
| 168 |
+
|
| 169 |
+
[More Information Needed]
|
| 170 |
+
|
| 171 |
+
## Citation [optional]
|
| 172 |
+
|
| 173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 174 |
+
|
| 175 |
+
**BibTeX:**
|
| 176 |
+
|
| 177 |
+
[More Information Needed]
|
| 178 |
+
|
| 179 |
+
**APA:**
|
| 180 |
+
|
| 181 |
+
[More Information Needed]
|
| 182 |
+
|
| 183 |
+
## Glossary [optional]
|
| 184 |
+
|
| 185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 186 |
+
|
| 187 |
+
[More Information Needed]
|
| 188 |
+
|
| 189 |
+
## More Information [optional]
|
| 190 |
+
|
| 191 |
+
[More Information Needed]
|
| 192 |
+
|
| 193 |
+
## Model Card Authors [optional]
|
| 194 |
+
|
| 195 |
+
[More Information Needed]
|
| 196 |
+
|
| 197 |
+
## Model Card Contact
|
| 198 |
+
|
| 199 |
+
[More Information Needed]
|
| 200 |
+
### Framework versions
|
| 201 |
+
|
| 202 |
+
- PEFT 0.13.2
|
model_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-nonmember-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/adapter_config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "/workspace/pythia-6_9b",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layer_replication": null,
|
| 10 |
+
"layers_pattern": null,
|
| 11 |
+
"layers_to_transform": null,
|
| 12 |
+
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 32,
|
| 14 |
+
"lora_dropout": 0.1,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": null,
|
| 18 |
+
"peft_type": "LORA",
|
| 19 |
+
"r": 8,
|
| 20 |
+
"rank_pattern": {},
|
| 21 |
+
"revision": null,
|
| 22 |
+
"target_modules": [
|
| 23 |
+
"dense_4h_to_h",
|
| 24 |
+
"dense",
|
| 25 |
+
"query_key_value",
|
| 26 |
+
"dense_h_to_4h"
|
| 27 |
+
],
|
| 28 |
+
"task_type": "CAUSAL_LM",
|
| 29 |
+
"use_dora": false,
|
| 30 |
+
"use_rslora": false
|
| 31 |
+
}
|
model_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-nonmember-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:85f14e815a78b2c3bf1c73789f7ba562cdf88cf88c1c7f232cf198a66f0c1013
|
| 3 |
+
size 67144544
|
model_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-nonmember-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:85cd9e327760cc5281881f8a68fe519f30414f073eef00444df6b3d3fa0deb52
|
| 3 |
+
size 4859
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-10/README.md
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: /workspace/pythia-6_9b
|
| 3 |
+
library_name: peft
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# Model Card for Model ID
|
| 7 |
+
|
| 8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
## Model Details
|
| 13 |
+
|
| 14 |
+
### Model Description
|
| 15 |
+
|
| 16 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
- **Developed by:** [More Information Needed]
|
| 21 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 22 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 23 |
+
- **Model type:** [More Information Needed]
|
| 24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 25 |
+
- **License:** [More Information Needed]
|
| 26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 27 |
+
|
| 28 |
+
### Model Sources [optional]
|
| 29 |
+
|
| 30 |
+
<!-- Provide the basic links for the model. -->
|
| 31 |
+
|
| 32 |
+
- **Repository:** [More Information Needed]
|
| 33 |
+
- **Paper [optional]:** [More Information Needed]
|
| 34 |
+
- **Demo [optional]:** [More Information Needed]
|
| 35 |
+
|
| 36 |
+
## Uses
|
| 37 |
+
|
| 38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 39 |
+
|
| 40 |
+
### Direct Use
|
| 41 |
+
|
| 42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 43 |
+
|
| 44 |
+
[More Information Needed]
|
| 45 |
+
|
| 46 |
+
### Downstream Use [optional]
|
| 47 |
+
|
| 48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 49 |
+
|
| 50 |
+
[More Information Needed]
|
| 51 |
+
|
| 52 |
+
### Out-of-Scope Use
|
| 53 |
+
|
| 54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 55 |
+
|
| 56 |
+
[More Information Needed]
|
| 57 |
+
|
| 58 |
+
## Bias, Risks, and Limitations
|
| 59 |
+
|
| 60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 61 |
+
|
| 62 |
+
[More Information Needed]
|
| 63 |
+
|
| 64 |
+
### Recommendations
|
| 65 |
+
|
| 66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 67 |
+
|
| 68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 69 |
+
|
| 70 |
+
## How to Get Started with the Model
|
| 71 |
+
|
| 72 |
+
Use the code below to get started with the model.
|
| 73 |
+
|
| 74 |
+
[More Information Needed]
|
| 75 |
+
|
| 76 |
+
## Training Details
|
| 77 |
+
|
| 78 |
+
### Training Data
|
| 79 |
+
|
| 80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 81 |
+
|
| 82 |
+
[More Information Needed]
|
| 83 |
+
|
| 84 |
+
### Training Procedure
|
| 85 |
+
|
| 86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 87 |
+
|
| 88 |
+
#### Preprocessing [optional]
|
| 89 |
+
|
| 90 |
+
[More Information Needed]
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
#### Training Hyperparameters
|
| 94 |
+
|
| 95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 96 |
+
|
| 97 |
+
#### Speeds, Sizes, Times [optional]
|
| 98 |
+
|
| 99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 100 |
+
|
| 101 |
+
[More Information Needed]
|
| 102 |
+
|
| 103 |
+
## Evaluation
|
| 104 |
+
|
| 105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 106 |
+
|
| 107 |
+
### Testing Data, Factors & Metrics
|
| 108 |
+
|
| 109 |
+
#### Testing Data
|
| 110 |
+
|
| 111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 112 |
+
|
| 113 |
+
[More Information Needed]
|
| 114 |
+
|
| 115 |
+
#### Factors
|
| 116 |
+
|
| 117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 118 |
+
|
| 119 |
+
[More Information Needed]
|
| 120 |
+
|
| 121 |
+
#### Metrics
|
| 122 |
+
|
| 123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 124 |
+
|
| 125 |
+
[More Information Needed]
|
| 126 |
+
|
| 127 |
+
### Results
|
| 128 |
+
|
| 129 |
+
[More Information Needed]
|
| 130 |
+
|
| 131 |
+
#### Summary
|
| 132 |
+
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
## Model Examination [optional]
|
| 136 |
+
|
| 137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 138 |
+
|
| 139 |
+
[More Information Needed]
|
| 140 |
+
|
| 141 |
+
## Environmental Impact
|
| 142 |
+
|
| 143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 144 |
+
|
| 145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 146 |
+
|
| 147 |
+
- **Hardware Type:** [More Information Needed]
|
| 148 |
+
- **Hours used:** [More Information Needed]
|
| 149 |
+
- **Cloud Provider:** [More Information Needed]
|
| 150 |
+
- **Compute Region:** [More Information Needed]
|
| 151 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 152 |
+
|
| 153 |
+
## Technical Specifications [optional]
|
| 154 |
+
|
| 155 |
+
### Model Architecture and Objective
|
| 156 |
+
|
| 157 |
+
[More Information Needed]
|
| 158 |
+
|
| 159 |
+
### Compute Infrastructure
|
| 160 |
+
|
| 161 |
+
[More Information Needed]
|
| 162 |
+
|
| 163 |
+
#### Hardware
|
| 164 |
+
|
| 165 |
+
[More Information Needed]
|
| 166 |
+
|
| 167 |
+
#### Software
|
| 168 |
+
|
| 169 |
+
[More Information Needed]
|
| 170 |
+
|
| 171 |
+
## Citation [optional]
|
| 172 |
+
|
| 173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 174 |
+
|
| 175 |
+
**BibTeX:**
|
| 176 |
+
|
| 177 |
+
[More Information Needed]
|
| 178 |
+
|
| 179 |
+
**APA:**
|
| 180 |
+
|
| 181 |
+
[More Information Needed]
|
| 182 |
+
|
| 183 |
+
## Glossary [optional]
|
| 184 |
+
|
| 185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 186 |
+
|
| 187 |
+
[More Information Needed]
|
| 188 |
+
|
| 189 |
+
## More Information [optional]
|
| 190 |
+
|
| 191 |
+
[More Information Needed]
|
| 192 |
+
|
| 193 |
+
## Model Card Authors [optional]
|
| 194 |
+
|
| 195 |
+
[More Information Needed]
|
| 196 |
+
|
| 197 |
+
## Model Card Contact
|
| 198 |
+
|
| 199 |
+
[More Information Needed]
|
| 200 |
+
### Framework versions
|
| 201 |
+
|
| 202 |
+
- PEFT 0.13.2
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-10/adapter_config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "/workspace/pythia-6_9b",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layer_replication": null,
|
| 10 |
+
"layers_pattern": null,
|
| 11 |
+
"layers_to_transform": null,
|
| 12 |
+
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 32,
|
| 14 |
+
"lora_dropout": 0.1,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": null,
|
| 18 |
+
"peft_type": "LORA",
|
| 19 |
+
"r": 8,
|
| 20 |
+
"rank_pattern": {},
|
| 21 |
+
"revision": null,
|
| 22 |
+
"target_modules": [
|
| 23 |
+
"dense_4h_to_h",
|
| 24 |
+
"dense",
|
| 25 |
+
"query_key_value",
|
| 26 |
+
"dense_h_to_4h"
|
| 27 |
+
],
|
| 28 |
+
"task_type": "CAUSAL_LM",
|
| 29 |
+
"use_dora": false,
|
| 30 |
+
"use_rslora": false
|
| 31 |
+
}
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-10/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:126fcbffbcd0cda1a37cdba08932acc9cecbc340dbcae56ba0ec97db3c23a142
|
| 3 |
+
size 67144544
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-10/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c8623a446960a704435b56d773a054a18e2017a3d3ada8d41bf2145b038ffc77
|
| 3 |
+
size 134432453
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-10/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd418aa175a4f9508778329e5c11f54241882ad7316c344103bc3804e613599f
|
| 3 |
+
size 14575
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-10/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d4f7e5b3f15e6248eb69742a14f905c700ecf357f80b4e2f91b8b83b2a38d15e
|
| 3 |
+
size 627
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-10/trainer_state.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": 0.9192319512367249,
|
| 3 |
+
"best_model_checkpoint": "./output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-10",
|
| 4 |
+
"epoch": 0.13333333333333333,
|
| 5 |
+
"eval_steps": 10,
|
| 6 |
+
"global_step": 10,
|
| 7 |
+
"is_hyper_param_search": false,
|
| 8 |
+
"is_local_process_zero": true,
|
| 9 |
+
"is_world_process_zero": true,
|
| 10 |
+
"log_history": [
|
| 11 |
+
{
|
| 12 |
+
"epoch": 0.13333333333333333,
|
| 13 |
+
"grad_norm": 0.34914588928222656,
|
| 14 |
+
"learning_rate": 7.881481481481482e-05,
|
| 15 |
+
"loss": 0.9786,
|
| 16 |
+
"step": 10
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"epoch": 0.13333333333333333,
|
| 20 |
+
"eval_loss": 0.9192319512367249,
|
| 21 |
+
"eval_runtime": 43.8662,
|
| 22 |
+
"eval_samples_per_second": 22.797,
|
| 23 |
+
"eval_steps_per_second": 2.85,
|
| 24 |
+
"step": 10
|
| 25 |
+
}
|
| 26 |
+
],
|
| 27 |
+
"logging_steps": 10,
|
| 28 |
+
"max_steps": 675,
|
| 29 |
+
"num_input_tokens_seen": 0,
|
| 30 |
+
"num_train_epochs": 9,
|
| 31 |
+
"save_steps": 10,
|
| 32 |
+
"stateful_callbacks": {
|
| 33 |
+
"TrainerControl": {
|
| 34 |
+
"args": {
|
| 35 |
+
"should_epoch_stop": false,
|
| 36 |
+
"should_evaluate": false,
|
| 37 |
+
"should_log": false,
|
| 38 |
+
"should_save": true,
|
| 39 |
+
"should_training_stop": false
|
| 40 |
+
},
|
| 41 |
+
"attributes": {}
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"total_flos": 1638607198617600.0,
|
| 45 |
+
"train_batch_size": 8,
|
| 46 |
+
"trial_name": null,
|
| 47 |
+
"trial_params": null
|
| 48 |
+
}
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-10/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0fd4ec76dd040a715fff74fcac3a3340052bfcc76bb7c12648f16196d304b5d
|
| 3 |
+
size 4859
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-100/README.md
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: /workspace/pythia-6_9b
|
| 3 |
+
library_name: peft
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# Model Card for Model ID
|
| 7 |
+
|
| 8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
## Model Details
|
| 13 |
+
|
| 14 |
+
### Model Description
|
| 15 |
+
|
| 16 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
- **Developed by:** [More Information Needed]
|
| 21 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 22 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 23 |
+
- **Model type:** [More Information Needed]
|
| 24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 25 |
+
- **License:** [More Information Needed]
|
| 26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 27 |
+
|
| 28 |
+
### Model Sources [optional]
|
| 29 |
+
|
| 30 |
+
<!-- Provide the basic links for the model. -->
|
| 31 |
+
|
| 32 |
+
- **Repository:** [More Information Needed]
|
| 33 |
+
- **Paper [optional]:** [More Information Needed]
|
| 34 |
+
- **Demo [optional]:** [More Information Needed]
|
| 35 |
+
|
| 36 |
+
## Uses
|
| 37 |
+
|
| 38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 39 |
+
|
| 40 |
+
### Direct Use
|
| 41 |
+
|
| 42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 43 |
+
|
| 44 |
+
[More Information Needed]
|
| 45 |
+
|
| 46 |
+
### Downstream Use [optional]
|
| 47 |
+
|
| 48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 49 |
+
|
| 50 |
+
[More Information Needed]
|
| 51 |
+
|
| 52 |
+
### Out-of-Scope Use
|
| 53 |
+
|
| 54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 55 |
+
|
| 56 |
+
[More Information Needed]
|
| 57 |
+
|
| 58 |
+
## Bias, Risks, and Limitations
|
| 59 |
+
|
| 60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 61 |
+
|
| 62 |
+
[More Information Needed]
|
| 63 |
+
|
| 64 |
+
### Recommendations
|
| 65 |
+
|
| 66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 67 |
+
|
| 68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 69 |
+
|
| 70 |
+
## How to Get Started with the Model
|
| 71 |
+
|
| 72 |
+
Use the code below to get started with the model.
|
| 73 |
+
|
| 74 |
+
[More Information Needed]
|
| 75 |
+
|
| 76 |
+
## Training Details
|
| 77 |
+
|
| 78 |
+
### Training Data
|
| 79 |
+
|
| 80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 81 |
+
|
| 82 |
+
[More Information Needed]
|
| 83 |
+
|
| 84 |
+
### Training Procedure
|
| 85 |
+
|
| 86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 87 |
+
|
| 88 |
+
#### Preprocessing [optional]
|
| 89 |
+
|
| 90 |
+
[More Information Needed]
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
#### Training Hyperparameters
|
| 94 |
+
|
| 95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 96 |
+
|
| 97 |
+
#### Speeds, Sizes, Times [optional]
|
| 98 |
+
|
| 99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 100 |
+
|
| 101 |
+
[More Information Needed]
|
| 102 |
+
|
| 103 |
+
## Evaluation
|
| 104 |
+
|
| 105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 106 |
+
|
| 107 |
+
### Testing Data, Factors & Metrics
|
| 108 |
+
|
| 109 |
+
#### Testing Data
|
| 110 |
+
|
| 111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 112 |
+
|
| 113 |
+
[More Information Needed]
|
| 114 |
+
|
| 115 |
+
#### Factors
|
| 116 |
+
|
| 117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 118 |
+
|
| 119 |
+
[More Information Needed]
|
| 120 |
+
|
| 121 |
+
#### Metrics
|
| 122 |
+
|
| 123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 124 |
+
|
| 125 |
+
[More Information Needed]
|
| 126 |
+
|
| 127 |
+
### Results
|
| 128 |
+
|
| 129 |
+
[More Information Needed]
|
| 130 |
+
|
| 131 |
+
#### Summary
|
| 132 |
+
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
## Model Examination [optional]
|
| 136 |
+
|
| 137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 138 |
+
|
| 139 |
+
[More Information Needed]
|
| 140 |
+
|
| 141 |
+
## Environmental Impact
|
| 142 |
+
|
| 143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 144 |
+
|
| 145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 146 |
+
|
| 147 |
+
- **Hardware Type:** [More Information Needed]
|
| 148 |
+
- **Hours used:** [More Information Needed]
|
| 149 |
+
- **Cloud Provider:** [More Information Needed]
|
| 150 |
+
- **Compute Region:** [More Information Needed]
|
| 151 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 152 |
+
|
| 153 |
+
## Technical Specifications [optional]
|
| 154 |
+
|
| 155 |
+
### Model Architecture and Objective
|
| 156 |
+
|
| 157 |
+
[More Information Needed]
|
| 158 |
+
|
| 159 |
+
### Compute Infrastructure
|
| 160 |
+
|
| 161 |
+
[More Information Needed]
|
| 162 |
+
|
| 163 |
+
#### Hardware
|
| 164 |
+
|
| 165 |
+
[More Information Needed]
|
| 166 |
+
|
| 167 |
+
#### Software
|
| 168 |
+
|
| 169 |
+
[More Information Needed]
|
| 170 |
+
|
| 171 |
+
## Citation [optional]
|
| 172 |
+
|
| 173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 174 |
+
|
| 175 |
+
**BibTeX:**
|
| 176 |
+
|
| 177 |
+
[More Information Needed]
|
| 178 |
+
|
| 179 |
+
**APA:**
|
| 180 |
+
|
| 181 |
+
[More Information Needed]
|
| 182 |
+
|
| 183 |
+
## Glossary [optional]
|
| 184 |
+
|
| 185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 186 |
+
|
| 187 |
+
[More Information Needed]
|
| 188 |
+
|
| 189 |
+
## More Information [optional]
|
| 190 |
+
|
| 191 |
+
[More Information Needed]
|
| 192 |
+
|
| 193 |
+
## Model Card Authors [optional]
|
| 194 |
+
|
| 195 |
+
[More Information Needed]
|
| 196 |
+
|
| 197 |
+
## Model Card Contact
|
| 198 |
+
|
| 199 |
+
[More Information Needed]
|
| 200 |
+
### Framework versions
|
| 201 |
+
|
| 202 |
+
- PEFT 0.13.2
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-100/adapter_config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "/workspace/pythia-6_9b",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layer_replication": null,
|
| 10 |
+
"layers_pattern": null,
|
| 11 |
+
"layers_to_transform": null,
|
| 12 |
+
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 32,
|
| 14 |
+
"lora_dropout": 0.1,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": null,
|
| 18 |
+
"peft_type": "LORA",
|
| 19 |
+
"r": 8,
|
| 20 |
+
"rank_pattern": {},
|
| 21 |
+
"revision": null,
|
| 22 |
+
"target_modules": [
|
| 23 |
+
"dense_4h_to_h",
|
| 24 |
+
"dense",
|
| 25 |
+
"query_key_value",
|
| 26 |
+
"dense_h_to_4h"
|
| 27 |
+
],
|
| 28 |
+
"task_type": "CAUSAL_LM",
|
| 29 |
+
"use_dora": false,
|
| 30 |
+
"use_rslora": false
|
| 31 |
+
}
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-100/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aef4106eca671480731c9a2e4c27521c790e13dd7c2a0195376be86146cc6de7
|
| 3 |
+
size 67144544
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-100/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d640705c7ec8fc6b006c87ab009a3677a4fea062175a86d7a9adea21d2266bd2
|
| 3 |
+
size 134432453
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-100/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46513e9b1de488f3d70a4461303e6b827989f588807354e14d010b7ee4f4679f
|
| 3 |
+
size 14575
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-100/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd2ccdaca083e589c09bcd97757fde390a191ed5c643ace13a70b750fd4a4e4b
|
| 3 |
+
size 627
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-100/trainer_state.json
ADDED
|
@@ -0,0 +1,183 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": 0.9115058779716492,
|
| 3 |
+
"best_model_checkpoint": "./output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-70",
|
| 4 |
+
"epoch": 1.3333333333333333,
|
| 5 |
+
"eval_steps": 10,
|
| 6 |
+
"global_step": 100,
|
| 7 |
+
"is_hyper_param_search": false,
|
| 8 |
+
"is_local_process_zero": true,
|
| 9 |
+
"is_world_process_zero": true,
|
| 10 |
+
"log_history": [
|
| 11 |
+
{
|
| 12 |
+
"epoch": 0.13333333333333333,
|
| 13 |
+
"grad_norm": 0.34914588928222656,
|
| 14 |
+
"learning_rate": 7.881481481481482e-05,
|
| 15 |
+
"loss": 0.9786,
|
| 16 |
+
"step": 10
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"epoch": 0.13333333333333333,
|
| 20 |
+
"eval_loss": 0.9192319512367249,
|
| 21 |
+
"eval_runtime": 43.8662,
|
| 22 |
+
"eval_samples_per_second": 22.797,
|
| 23 |
+
"eval_steps_per_second": 2.85,
|
| 24 |
+
"step": 10
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.26666666666666666,
|
| 28 |
+
"grad_norm": 0.3280612826347351,
|
| 29 |
+
"learning_rate": 7.762962962962963e-05,
|
| 30 |
+
"loss": 0.8555,
|
| 31 |
+
"step": 20
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.26666666666666666,
|
| 35 |
+
"eval_loss": 0.9182329177856445,
|
| 36 |
+
"eval_runtime": 43.8681,
|
| 37 |
+
"eval_samples_per_second": 22.796,
|
| 38 |
+
"eval_steps_per_second": 2.849,
|
| 39 |
+
"step": 20
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"epoch": 0.4,
|
| 43 |
+
"grad_norm": 0.3927752673625946,
|
| 44 |
+
"learning_rate": 7.644444444444445e-05,
|
| 45 |
+
"loss": 0.8785,
|
| 46 |
+
"step": 30
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"epoch": 0.4,
|
| 50 |
+
"eval_loss": 0.9171502590179443,
|
| 51 |
+
"eval_runtime": 43.9052,
|
| 52 |
+
"eval_samples_per_second": 22.776,
|
| 53 |
+
"eval_steps_per_second": 2.847,
|
| 54 |
+
"step": 30
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"epoch": 0.5333333333333333,
|
| 58 |
+
"grad_norm": 0.31085240840911865,
|
| 59 |
+
"learning_rate": 7.525925925925926e-05,
|
| 60 |
+
"loss": 0.9298,
|
| 61 |
+
"step": 40
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"epoch": 0.5333333333333333,
|
| 65 |
+
"eval_loss": 0.9156997203826904,
|
| 66 |
+
"eval_runtime": 43.9323,
|
| 67 |
+
"eval_samples_per_second": 22.762,
|
| 68 |
+
"eval_steps_per_second": 2.845,
|
| 69 |
+
"step": 40
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"epoch": 0.6666666666666666,
|
| 73 |
+
"grad_norm": 0.340986967086792,
|
| 74 |
+
"learning_rate": 7.407407407407409e-05,
|
| 75 |
+
"loss": 0.7766,
|
| 76 |
+
"step": 50
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"epoch": 0.6666666666666666,
|
| 80 |
+
"eval_loss": 0.914226233959198,
|
| 81 |
+
"eval_runtime": 43.9155,
|
| 82 |
+
"eval_samples_per_second": 22.771,
|
| 83 |
+
"eval_steps_per_second": 2.846,
|
| 84 |
+
"step": 50
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"epoch": 0.8,
|
| 88 |
+
"grad_norm": 0.31949862837791443,
|
| 89 |
+
"learning_rate": 7.28888888888889e-05,
|
| 90 |
+
"loss": 0.9235,
|
| 91 |
+
"step": 60
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"epoch": 0.8,
|
| 95 |
+
"eval_loss": 0.9130523204803467,
|
| 96 |
+
"eval_runtime": 43.9325,
|
| 97 |
+
"eval_samples_per_second": 22.762,
|
| 98 |
+
"eval_steps_per_second": 2.845,
|
| 99 |
+
"step": 60
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"epoch": 0.9333333333333333,
|
| 103 |
+
"grad_norm": 0.30694302916526794,
|
| 104 |
+
"learning_rate": 7.170370370370371e-05,
|
| 105 |
+
"loss": 0.8754,
|
| 106 |
+
"step": 70
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"epoch": 0.9333333333333333,
|
| 110 |
+
"eval_loss": 0.9115058779716492,
|
| 111 |
+
"eval_runtime": 43.9244,
|
| 112 |
+
"eval_samples_per_second": 22.766,
|
| 113 |
+
"eval_steps_per_second": 2.846,
|
| 114 |
+
"step": 70
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"epoch": 1.0666666666666667,
|
| 118 |
+
"grad_norm": 0.3107095956802368,
|
| 119 |
+
"learning_rate": 7.051851851851853e-05,
|
| 120 |
+
"loss": 0.9654,
|
| 121 |
+
"step": 80
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"epoch": 1.0666666666666667,
|
| 125 |
+
"eval_loss": 0.9123550653457642,
|
| 126 |
+
"eval_runtime": 44.0077,
|
| 127 |
+
"eval_samples_per_second": 22.723,
|
| 128 |
+
"eval_steps_per_second": 2.84,
|
| 129 |
+
"step": 80
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 1.2,
|
| 133 |
+
"grad_norm": 0.43617743253707886,
|
| 134 |
+
"learning_rate": 6.933333333333334e-05,
|
| 135 |
+
"loss": 0.8513,
|
| 136 |
+
"step": 90
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 1.2,
|
| 140 |
+
"eval_loss": 0.9151815176010132,
|
| 141 |
+
"eval_runtime": 44.1871,
|
| 142 |
+
"eval_samples_per_second": 22.631,
|
| 143 |
+
"eval_steps_per_second": 2.829,
|
| 144 |
+
"step": 90
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"epoch": 1.3333333333333333,
|
| 148 |
+
"grad_norm": 0.40903240442276,
|
| 149 |
+
"learning_rate": 6.814814814814815e-05,
|
| 150 |
+
"loss": 0.8522,
|
| 151 |
+
"step": 100
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"epoch": 1.3333333333333333,
|
| 155 |
+
"eval_loss": 0.9142056703567505,
|
| 156 |
+
"eval_runtime": 43.9282,
|
| 157 |
+
"eval_samples_per_second": 22.764,
|
| 158 |
+
"eval_steps_per_second": 2.846,
|
| 159 |
+
"step": 100
|
| 160 |
+
}
|
| 161 |
+
],
|
| 162 |
+
"logging_steps": 10,
|
| 163 |
+
"max_steps": 675,
|
| 164 |
+
"num_input_tokens_seen": 0,
|
| 165 |
+
"num_train_epochs": 9,
|
| 166 |
+
"save_steps": 10,
|
| 167 |
+
"stateful_callbacks": {
|
| 168 |
+
"TrainerControl": {
|
| 169 |
+
"args": {
|
| 170 |
+
"should_epoch_stop": false,
|
| 171 |
+
"should_evaluate": false,
|
| 172 |
+
"should_log": false,
|
| 173 |
+
"should_save": true,
|
| 174 |
+
"should_training_stop": false
|
| 175 |
+
},
|
| 176 |
+
"attributes": {}
|
| 177 |
+
}
|
| 178 |
+
},
|
| 179 |
+
"total_flos": 1.6386071986176e+16,
|
| 180 |
+
"train_batch_size": 8,
|
| 181 |
+
"trial_name": null,
|
| 182 |
+
"trial_params": null
|
| 183 |
+
}
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-100/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0fd4ec76dd040a715fff74fcac3a3340052bfcc76bb7c12648f16196d304b5d
|
| 3 |
+
size 4859
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-110/README.md
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: /workspace/pythia-6_9b
|
| 3 |
+
library_name: peft
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# Model Card for Model ID
|
| 7 |
+
|
| 8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
## Model Details
|
| 13 |
+
|
| 14 |
+
### Model Description
|
| 15 |
+
|
| 16 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
- **Developed by:** [More Information Needed]
|
| 21 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 22 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 23 |
+
- **Model type:** [More Information Needed]
|
| 24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 25 |
+
- **License:** [More Information Needed]
|
| 26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 27 |
+
|
| 28 |
+
### Model Sources [optional]
|
| 29 |
+
|
| 30 |
+
<!-- Provide the basic links for the model. -->
|
| 31 |
+
|
| 32 |
+
- **Repository:** [More Information Needed]
|
| 33 |
+
- **Paper [optional]:** [More Information Needed]
|
| 34 |
+
- **Demo [optional]:** [More Information Needed]
|
| 35 |
+
|
| 36 |
+
## Uses
|
| 37 |
+
|
| 38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 39 |
+
|
| 40 |
+
### Direct Use
|
| 41 |
+
|
| 42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 43 |
+
|
| 44 |
+
[More Information Needed]
|
| 45 |
+
|
| 46 |
+
### Downstream Use [optional]
|
| 47 |
+
|
| 48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 49 |
+
|
| 50 |
+
[More Information Needed]
|
| 51 |
+
|
| 52 |
+
### Out-of-Scope Use
|
| 53 |
+
|
| 54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 55 |
+
|
| 56 |
+
[More Information Needed]
|
| 57 |
+
|
| 58 |
+
## Bias, Risks, and Limitations
|
| 59 |
+
|
| 60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 61 |
+
|
| 62 |
+
[More Information Needed]
|
| 63 |
+
|
| 64 |
+
### Recommendations
|
| 65 |
+
|
| 66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 67 |
+
|
| 68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 69 |
+
|
| 70 |
+
## How to Get Started with the Model
|
| 71 |
+
|
| 72 |
+
Use the code below to get started with the model.
|
| 73 |
+
|
| 74 |
+
[More Information Needed]
|
| 75 |
+
|
| 76 |
+
## Training Details
|
| 77 |
+
|
| 78 |
+
### Training Data
|
| 79 |
+
|
| 80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 81 |
+
|
| 82 |
+
[More Information Needed]
|
| 83 |
+
|
| 84 |
+
### Training Procedure
|
| 85 |
+
|
| 86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 87 |
+
|
| 88 |
+
#### Preprocessing [optional]
|
| 89 |
+
|
| 90 |
+
[More Information Needed]
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
#### Training Hyperparameters
|
| 94 |
+
|
| 95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 96 |
+
|
| 97 |
+
#### Speeds, Sizes, Times [optional]
|
| 98 |
+
|
| 99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 100 |
+
|
| 101 |
+
[More Information Needed]
|
| 102 |
+
|
| 103 |
+
## Evaluation
|
| 104 |
+
|
| 105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 106 |
+
|
| 107 |
+
### Testing Data, Factors & Metrics
|
| 108 |
+
|
| 109 |
+
#### Testing Data
|
| 110 |
+
|
| 111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 112 |
+
|
| 113 |
+
[More Information Needed]
|
| 114 |
+
|
| 115 |
+
#### Factors
|
| 116 |
+
|
| 117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 118 |
+
|
| 119 |
+
[More Information Needed]
|
| 120 |
+
|
| 121 |
+
#### Metrics
|
| 122 |
+
|
| 123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 124 |
+
|
| 125 |
+
[More Information Needed]
|
| 126 |
+
|
| 127 |
+
### Results
|
| 128 |
+
|
| 129 |
+
[More Information Needed]
|
| 130 |
+
|
| 131 |
+
#### Summary
|
| 132 |
+
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
## Model Examination [optional]
|
| 136 |
+
|
| 137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 138 |
+
|
| 139 |
+
[More Information Needed]
|
| 140 |
+
|
| 141 |
+
## Environmental Impact
|
| 142 |
+
|
| 143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 144 |
+
|
| 145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 146 |
+
|
| 147 |
+
- **Hardware Type:** [More Information Needed]
|
| 148 |
+
- **Hours used:** [More Information Needed]
|
| 149 |
+
- **Cloud Provider:** [More Information Needed]
|
| 150 |
+
- **Compute Region:** [More Information Needed]
|
| 151 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 152 |
+
|
| 153 |
+
## Technical Specifications [optional]
|
| 154 |
+
|
| 155 |
+
### Model Architecture and Objective
|
| 156 |
+
|
| 157 |
+
[More Information Needed]
|
| 158 |
+
|
| 159 |
+
### Compute Infrastructure
|
| 160 |
+
|
| 161 |
+
[More Information Needed]
|
| 162 |
+
|
| 163 |
+
#### Hardware
|
| 164 |
+
|
| 165 |
+
[More Information Needed]
|
| 166 |
+
|
| 167 |
+
#### Software
|
| 168 |
+
|
| 169 |
+
[More Information Needed]
|
| 170 |
+
|
| 171 |
+
## Citation [optional]
|
| 172 |
+
|
| 173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 174 |
+
|
| 175 |
+
**BibTeX:**
|
| 176 |
+
|
| 177 |
+
[More Information Needed]
|
| 178 |
+
|
| 179 |
+
**APA:**
|
| 180 |
+
|
| 181 |
+
[More Information Needed]
|
| 182 |
+
|
| 183 |
+
## Glossary [optional]
|
| 184 |
+
|
| 185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 186 |
+
|
| 187 |
+
[More Information Needed]
|
| 188 |
+
|
| 189 |
+
## More Information [optional]
|
| 190 |
+
|
| 191 |
+
[More Information Needed]
|
| 192 |
+
|
| 193 |
+
## Model Card Authors [optional]
|
| 194 |
+
|
| 195 |
+
[More Information Needed]
|
| 196 |
+
|
| 197 |
+
## Model Card Contact
|
| 198 |
+
|
| 199 |
+
[More Information Needed]
|
| 200 |
+
### Framework versions
|
| 201 |
+
|
| 202 |
+
- PEFT 0.13.2
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-110/adapter_config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "/workspace/pythia-6_9b",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layer_replication": null,
|
| 10 |
+
"layers_pattern": null,
|
| 11 |
+
"layers_to_transform": null,
|
| 12 |
+
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 32,
|
| 14 |
+
"lora_dropout": 0.1,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": null,
|
| 18 |
+
"peft_type": "LORA",
|
| 19 |
+
"r": 8,
|
| 20 |
+
"rank_pattern": {},
|
| 21 |
+
"revision": null,
|
| 22 |
+
"target_modules": [
|
| 23 |
+
"dense_4h_to_h",
|
| 24 |
+
"dense",
|
| 25 |
+
"query_key_value",
|
| 26 |
+
"dense_h_to_4h"
|
| 27 |
+
],
|
| 28 |
+
"task_type": "CAUSAL_LM",
|
| 29 |
+
"use_dora": false,
|
| 30 |
+
"use_rslora": false
|
| 31 |
+
}
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-110/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1116180605fae71af5648ea2d8c4dc9d1c8891314279df5bfda4088afc8c608e
|
| 3 |
+
size 67144544
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-110/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:772a9bf46016f42896d5dab29bd18ae0a7cc38bb7b86ec16a2bccb1b1ef69522
|
| 3 |
+
size 134432453
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-110/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:319884e2d6c1fad0795ced8add37e8073910c77073120da512a5e6a1f6208d62
|
| 3 |
+
size 14575
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-110/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe938637817d41932e7175fe8d9bcdaa1f1383328b73e4b56a4e373476a295ba
|
| 3 |
+
size 627
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-110/trainer_state.json
ADDED
|
@@ -0,0 +1,198 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": 0.9115058779716492,
|
| 3 |
+
"best_model_checkpoint": "./output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-70",
|
| 4 |
+
"epoch": 1.4666666666666668,
|
| 5 |
+
"eval_steps": 10,
|
| 6 |
+
"global_step": 110,
|
| 7 |
+
"is_hyper_param_search": false,
|
| 8 |
+
"is_local_process_zero": true,
|
| 9 |
+
"is_world_process_zero": true,
|
| 10 |
+
"log_history": [
|
| 11 |
+
{
|
| 12 |
+
"epoch": 0.13333333333333333,
|
| 13 |
+
"grad_norm": 0.34914588928222656,
|
| 14 |
+
"learning_rate": 7.881481481481482e-05,
|
| 15 |
+
"loss": 0.9786,
|
| 16 |
+
"step": 10
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"epoch": 0.13333333333333333,
|
| 20 |
+
"eval_loss": 0.9192319512367249,
|
| 21 |
+
"eval_runtime": 43.8662,
|
| 22 |
+
"eval_samples_per_second": 22.797,
|
| 23 |
+
"eval_steps_per_second": 2.85,
|
| 24 |
+
"step": 10
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.26666666666666666,
|
| 28 |
+
"grad_norm": 0.3280612826347351,
|
| 29 |
+
"learning_rate": 7.762962962962963e-05,
|
| 30 |
+
"loss": 0.8555,
|
| 31 |
+
"step": 20
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.26666666666666666,
|
| 35 |
+
"eval_loss": 0.9182329177856445,
|
| 36 |
+
"eval_runtime": 43.8681,
|
| 37 |
+
"eval_samples_per_second": 22.796,
|
| 38 |
+
"eval_steps_per_second": 2.849,
|
| 39 |
+
"step": 20
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"epoch": 0.4,
|
| 43 |
+
"grad_norm": 0.3927752673625946,
|
| 44 |
+
"learning_rate": 7.644444444444445e-05,
|
| 45 |
+
"loss": 0.8785,
|
| 46 |
+
"step": 30
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"epoch": 0.4,
|
| 50 |
+
"eval_loss": 0.9171502590179443,
|
| 51 |
+
"eval_runtime": 43.9052,
|
| 52 |
+
"eval_samples_per_second": 22.776,
|
| 53 |
+
"eval_steps_per_second": 2.847,
|
| 54 |
+
"step": 30
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"epoch": 0.5333333333333333,
|
| 58 |
+
"grad_norm": 0.31085240840911865,
|
| 59 |
+
"learning_rate": 7.525925925925926e-05,
|
| 60 |
+
"loss": 0.9298,
|
| 61 |
+
"step": 40
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"epoch": 0.5333333333333333,
|
| 65 |
+
"eval_loss": 0.9156997203826904,
|
| 66 |
+
"eval_runtime": 43.9323,
|
| 67 |
+
"eval_samples_per_second": 22.762,
|
| 68 |
+
"eval_steps_per_second": 2.845,
|
| 69 |
+
"step": 40
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"epoch": 0.6666666666666666,
|
| 73 |
+
"grad_norm": 0.340986967086792,
|
| 74 |
+
"learning_rate": 7.407407407407409e-05,
|
| 75 |
+
"loss": 0.7766,
|
| 76 |
+
"step": 50
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"epoch": 0.6666666666666666,
|
| 80 |
+
"eval_loss": 0.914226233959198,
|
| 81 |
+
"eval_runtime": 43.9155,
|
| 82 |
+
"eval_samples_per_second": 22.771,
|
| 83 |
+
"eval_steps_per_second": 2.846,
|
| 84 |
+
"step": 50
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"epoch": 0.8,
|
| 88 |
+
"grad_norm": 0.31949862837791443,
|
| 89 |
+
"learning_rate": 7.28888888888889e-05,
|
| 90 |
+
"loss": 0.9235,
|
| 91 |
+
"step": 60
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"epoch": 0.8,
|
| 95 |
+
"eval_loss": 0.9130523204803467,
|
| 96 |
+
"eval_runtime": 43.9325,
|
| 97 |
+
"eval_samples_per_second": 22.762,
|
| 98 |
+
"eval_steps_per_second": 2.845,
|
| 99 |
+
"step": 60
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"epoch": 0.9333333333333333,
|
| 103 |
+
"grad_norm": 0.30694302916526794,
|
| 104 |
+
"learning_rate": 7.170370370370371e-05,
|
| 105 |
+
"loss": 0.8754,
|
| 106 |
+
"step": 70
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"epoch": 0.9333333333333333,
|
| 110 |
+
"eval_loss": 0.9115058779716492,
|
| 111 |
+
"eval_runtime": 43.9244,
|
| 112 |
+
"eval_samples_per_second": 22.766,
|
| 113 |
+
"eval_steps_per_second": 2.846,
|
| 114 |
+
"step": 70
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"epoch": 1.0666666666666667,
|
| 118 |
+
"grad_norm": 0.3107095956802368,
|
| 119 |
+
"learning_rate": 7.051851851851853e-05,
|
| 120 |
+
"loss": 0.9654,
|
| 121 |
+
"step": 80
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"epoch": 1.0666666666666667,
|
| 125 |
+
"eval_loss": 0.9123550653457642,
|
| 126 |
+
"eval_runtime": 44.0077,
|
| 127 |
+
"eval_samples_per_second": 22.723,
|
| 128 |
+
"eval_steps_per_second": 2.84,
|
| 129 |
+
"step": 80
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 1.2,
|
| 133 |
+
"grad_norm": 0.43617743253707886,
|
| 134 |
+
"learning_rate": 6.933333333333334e-05,
|
| 135 |
+
"loss": 0.8513,
|
| 136 |
+
"step": 90
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 1.2,
|
| 140 |
+
"eval_loss": 0.9151815176010132,
|
| 141 |
+
"eval_runtime": 44.1871,
|
| 142 |
+
"eval_samples_per_second": 22.631,
|
| 143 |
+
"eval_steps_per_second": 2.829,
|
| 144 |
+
"step": 90
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"epoch": 1.3333333333333333,
|
| 148 |
+
"grad_norm": 0.40903240442276,
|
| 149 |
+
"learning_rate": 6.814814814814815e-05,
|
| 150 |
+
"loss": 0.8522,
|
| 151 |
+
"step": 100
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"epoch": 1.3333333333333333,
|
| 155 |
+
"eval_loss": 0.9142056703567505,
|
| 156 |
+
"eval_runtime": 43.9282,
|
| 157 |
+
"eval_samples_per_second": 22.764,
|
| 158 |
+
"eval_steps_per_second": 2.846,
|
| 159 |
+
"step": 100
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"epoch": 1.4666666666666668,
|
| 163 |
+
"grad_norm": 0.4918757677078247,
|
| 164 |
+
"learning_rate": 6.696296296296296e-05,
|
| 165 |
+
"loss": 0.7368,
|
| 166 |
+
"step": 110
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"epoch": 1.4666666666666668,
|
| 170 |
+
"eval_loss": 0.9174084067344666,
|
| 171 |
+
"eval_runtime": 43.8438,
|
| 172 |
+
"eval_samples_per_second": 22.808,
|
| 173 |
+
"eval_steps_per_second": 2.851,
|
| 174 |
+
"step": 110
|
| 175 |
+
}
|
| 176 |
+
],
|
| 177 |
+
"logging_steps": 10,
|
| 178 |
+
"max_steps": 675,
|
| 179 |
+
"num_input_tokens_seen": 0,
|
| 180 |
+
"num_train_epochs": 9,
|
| 181 |
+
"save_steps": 10,
|
| 182 |
+
"stateful_callbacks": {
|
| 183 |
+
"TrainerControl": {
|
| 184 |
+
"args": {
|
| 185 |
+
"should_epoch_stop": false,
|
| 186 |
+
"should_evaluate": false,
|
| 187 |
+
"should_log": false,
|
| 188 |
+
"should_save": true,
|
| 189 |
+
"should_training_stop": false
|
| 190 |
+
},
|
| 191 |
+
"attributes": {}
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
"total_flos": 1.80246791847936e+16,
|
| 195 |
+
"train_batch_size": 8,
|
| 196 |
+
"trial_name": null,
|
| 197 |
+
"trial_params": null
|
| 198 |
+
}
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-110/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0fd4ec76dd040a715fff74fcac3a3340052bfcc76bb7c12648f16196d304b5d
|
| 3 |
+
size 4859
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-120/README.md
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: /workspace/pythia-6_9b
|
| 3 |
+
library_name: peft
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# Model Card for Model ID
|
| 7 |
+
|
| 8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
## Model Details
|
| 13 |
+
|
| 14 |
+
### Model Description
|
| 15 |
+
|
| 16 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
- **Developed by:** [More Information Needed]
|
| 21 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 22 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 23 |
+
- **Model type:** [More Information Needed]
|
| 24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 25 |
+
- **License:** [More Information Needed]
|
| 26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 27 |
+
|
| 28 |
+
### Model Sources [optional]
|
| 29 |
+
|
| 30 |
+
<!-- Provide the basic links for the model. -->
|
| 31 |
+
|
| 32 |
+
- **Repository:** [More Information Needed]
|
| 33 |
+
- **Paper [optional]:** [More Information Needed]
|
| 34 |
+
- **Demo [optional]:** [More Information Needed]
|
| 35 |
+
|
| 36 |
+
## Uses
|
| 37 |
+
|
| 38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 39 |
+
|
| 40 |
+
### Direct Use
|
| 41 |
+
|
| 42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 43 |
+
|
| 44 |
+
[More Information Needed]
|
| 45 |
+
|
| 46 |
+
### Downstream Use [optional]
|
| 47 |
+
|
| 48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 49 |
+
|
| 50 |
+
[More Information Needed]
|
| 51 |
+
|
| 52 |
+
### Out-of-Scope Use
|
| 53 |
+
|
| 54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 55 |
+
|
| 56 |
+
[More Information Needed]
|
| 57 |
+
|
| 58 |
+
## Bias, Risks, and Limitations
|
| 59 |
+
|
| 60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 61 |
+
|
| 62 |
+
[More Information Needed]
|
| 63 |
+
|
| 64 |
+
### Recommendations
|
| 65 |
+
|
| 66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 67 |
+
|
| 68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 69 |
+
|
| 70 |
+
## How to Get Started with the Model
|
| 71 |
+
|
| 72 |
+
Use the code below to get started with the model.
|
| 73 |
+
|
| 74 |
+
[More Information Needed]
|
| 75 |
+
|
| 76 |
+
## Training Details
|
| 77 |
+
|
| 78 |
+
### Training Data
|
| 79 |
+
|
| 80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 81 |
+
|
| 82 |
+
[More Information Needed]
|
| 83 |
+
|
| 84 |
+
### Training Procedure
|
| 85 |
+
|
| 86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 87 |
+
|
| 88 |
+
#### Preprocessing [optional]
|
| 89 |
+
|
| 90 |
+
[More Information Needed]
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
#### Training Hyperparameters
|
| 94 |
+
|
| 95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 96 |
+
|
| 97 |
+
#### Speeds, Sizes, Times [optional]
|
| 98 |
+
|
| 99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 100 |
+
|
| 101 |
+
[More Information Needed]
|
| 102 |
+
|
| 103 |
+
## Evaluation
|
| 104 |
+
|
| 105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 106 |
+
|
| 107 |
+
### Testing Data, Factors & Metrics
|
| 108 |
+
|
| 109 |
+
#### Testing Data
|
| 110 |
+
|
| 111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 112 |
+
|
| 113 |
+
[More Information Needed]
|
| 114 |
+
|
| 115 |
+
#### Factors
|
| 116 |
+
|
| 117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 118 |
+
|
| 119 |
+
[More Information Needed]
|
| 120 |
+
|
| 121 |
+
#### Metrics
|
| 122 |
+
|
| 123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 124 |
+
|
| 125 |
+
[More Information Needed]
|
| 126 |
+
|
| 127 |
+
### Results
|
| 128 |
+
|
| 129 |
+
[More Information Needed]
|
| 130 |
+
|
| 131 |
+
#### Summary
|
| 132 |
+
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
## Model Examination [optional]
|
| 136 |
+
|
| 137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 138 |
+
|
| 139 |
+
[More Information Needed]
|
| 140 |
+
|
| 141 |
+
## Environmental Impact
|
| 142 |
+
|
| 143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 144 |
+
|
| 145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 146 |
+
|
| 147 |
+
- **Hardware Type:** [More Information Needed]
|
| 148 |
+
- **Hours used:** [More Information Needed]
|
| 149 |
+
- **Cloud Provider:** [More Information Needed]
|
| 150 |
+
- **Compute Region:** [More Information Needed]
|
| 151 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 152 |
+
|
| 153 |
+
## Technical Specifications [optional]
|
| 154 |
+
|
| 155 |
+
### Model Architecture and Objective
|
| 156 |
+
|
| 157 |
+
[More Information Needed]
|
| 158 |
+
|
| 159 |
+
### Compute Infrastructure
|
| 160 |
+
|
| 161 |
+
[More Information Needed]
|
| 162 |
+
|
| 163 |
+
#### Hardware
|
| 164 |
+
|
| 165 |
+
[More Information Needed]
|
| 166 |
+
|
| 167 |
+
#### Software
|
| 168 |
+
|
| 169 |
+
[More Information Needed]
|
| 170 |
+
|
| 171 |
+
## Citation [optional]
|
| 172 |
+
|
| 173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 174 |
+
|
| 175 |
+
**BibTeX:**
|
| 176 |
+
|
| 177 |
+
[More Information Needed]
|
| 178 |
+
|
| 179 |
+
**APA:**
|
| 180 |
+
|
| 181 |
+
[More Information Needed]
|
| 182 |
+
|
| 183 |
+
## Glossary [optional]
|
| 184 |
+
|
| 185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 186 |
+
|
| 187 |
+
[More Information Needed]
|
| 188 |
+
|
| 189 |
+
## More Information [optional]
|
| 190 |
+
|
| 191 |
+
[More Information Needed]
|
| 192 |
+
|
| 193 |
+
## Model Card Authors [optional]
|
| 194 |
+
|
| 195 |
+
[More Information Needed]
|
| 196 |
+
|
| 197 |
+
## Model Card Contact
|
| 198 |
+
|
| 199 |
+
[More Information Needed]
|
| 200 |
+
### Framework versions
|
| 201 |
+
|
| 202 |
+
- PEFT 0.13.2
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-120/adapter_config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "/workspace/pythia-6_9b",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layer_replication": null,
|
| 10 |
+
"layers_pattern": null,
|
| 11 |
+
"layers_to_transform": null,
|
| 12 |
+
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 32,
|
| 14 |
+
"lora_dropout": 0.1,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": null,
|
| 18 |
+
"peft_type": "LORA",
|
| 19 |
+
"r": 8,
|
| 20 |
+
"rank_pattern": {},
|
| 21 |
+
"revision": null,
|
| 22 |
+
"target_modules": [
|
| 23 |
+
"dense_4h_to_h",
|
| 24 |
+
"dense",
|
| 25 |
+
"query_key_value",
|
| 26 |
+
"dense_h_to_4h"
|
| 27 |
+
],
|
| 28 |
+
"task_type": "CAUSAL_LM",
|
| 29 |
+
"use_dora": false,
|
| 30 |
+
"use_rslora": false
|
| 31 |
+
}
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-120/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:07b0f6cf737282096747c82b589b7f53153ee238c5193726e7eb45259b0b47c9
|
| 3 |
+
size 67144544
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-120/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a37fb7669fe8a5d9d773026e4bad2c1aea95fb6062e50cbfd6f6e164bfdfa452
|
| 3 |
+
size 134432453
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-120/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3500ac793bd5f15c49da717801f854f9815260499ab4bc16b8f3a1ca9c82dfdf
|
| 3 |
+
size 14575
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-120/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:145815d6a6480fb85323e9a0f9a98f3e8faa57003487fcac0be85abbf27b4575
|
| 3 |
+
size 627
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-120/trainer_state.json
ADDED
|
@@ -0,0 +1,213 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": 0.9115058779716492,
|
| 3 |
+
"best_model_checkpoint": "./output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-70",
|
| 4 |
+
"epoch": 1.6,
|
| 5 |
+
"eval_steps": 10,
|
| 6 |
+
"global_step": 120,
|
| 7 |
+
"is_hyper_param_search": false,
|
| 8 |
+
"is_local_process_zero": true,
|
| 9 |
+
"is_world_process_zero": true,
|
| 10 |
+
"log_history": [
|
| 11 |
+
{
|
| 12 |
+
"epoch": 0.13333333333333333,
|
| 13 |
+
"grad_norm": 0.34914588928222656,
|
| 14 |
+
"learning_rate": 7.881481481481482e-05,
|
| 15 |
+
"loss": 0.9786,
|
| 16 |
+
"step": 10
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"epoch": 0.13333333333333333,
|
| 20 |
+
"eval_loss": 0.9192319512367249,
|
| 21 |
+
"eval_runtime": 43.8662,
|
| 22 |
+
"eval_samples_per_second": 22.797,
|
| 23 |
+
"eval_steps_per_second": 2.85,
|
| 24 |
+
"step": 10
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.26666666666666666,
|
| 28 |
+
"grad_norm": 0.3280612826347351,
|
| 29 |
+
"learning_rate": 7.762962962962963e-05,
|
| 30 |
+
"loss": 0.8555,
|
| 31 |
+
"step": 20
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.26666666666666666,
|
| 35 |
+
"eval_loss": 0.9182329177856445,
|
| 36 |
+
"eval_runtime": 43.8681,
|
| 37 |
+
"eval_samples_per_second": 22.796,
|
| 38 |
+
"eval_steps_per_second": 2.849,
|
| 39 |
+
"step": 20
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"epoch": 0.4,
|
| 43 |
+
"grad_norm": 0.3927752673625946,
|
| 44 |
+
"learning_rate": 7.644444444444445e-05,
|
| 45 |
+
"loss": 0.8785,
|
| 46 |
+
"step": 30
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"epoch": 0.4,
|
| 50 |
+
"eval_loss": 0.9171502590179443,
|
| 51 |
+
"eval_runtime": 43.9052,
|
| 52 |
+
"eval_samples_per_second": 22.776,
|
| 53 |
+
"eval_steps_per_second": 2.847,
|
| 54 |
+
"step": 30
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"epoch": 0.5333333333333333,
|
| 58 |
+
"grad_norm": 0.31085240840911865,
|
| 59 |
+
"learning_rate": 7.525925925925926e-05,
|
| 60 |
+
"loss": 0.9298,
|
| 61 |
+
"step": 40
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"epoch": 0.5333333333333333,
|
| 65 |
+
"eval_loss": 0.9156997203826904,
|
| 66 |
+
"eval_runtime": 43.9323,
|
| 67 |
+
"eval_samples_per_second": 22.762,
|
| 68 |
+
"eval_steps_per_second": 2.845,
|
| 69 |
+
"step": 40
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"epoch": 0.6666666666666666,
|
| 73 |
+
"grad_norm": 0.340986967086792,
|
| 74 |
+
"learning_rate": 7.407407407407409e-05,
|
| 75 |
+
"loss": 0.7766,
|
| 76 |
+
"step": 50
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"epoch": 0.6666666666666666,
|
| 80 |
+
"eval_loss": 0.914226233959198,
|
| 81 |
+
"eval_runtime": 43.9155,
|
| 82 |
+
"eval_samples_per_second": 22.771,
|
| 83 |
+
"eval_steps_per_second": 2.846,
|
| 84 |
+
"step": 50
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"epoch": 0.8,
|
| 88 |
+
"grad_norm": 0.31949862837791443,
|
| 89 |
+
"learning_rate": 7.28888888888889e-05,
|
| 90 |
+
"loss": 0.9235,
|
| 91 |
+
"step": 60
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"epoch": 0.8,
|
| 95 |
+
"eval_loss": 0.9130523204803467,
|
| 96 |
+
"eval_runtime": 43.9325,
|
| 97 |
+
"eval_samples_per_second": 22.762,
|
| 98 |
+
"eval_steps_per_second": 2.845,
|
| 99 |
+
"step": 60
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"epoch": 0.9333333333333333,
|
| 103 |
+
"grad_norm": 0.30694302916526794,
|
| 104 |
+
"learning_rate": 7.170370370370371e-05,
|
| 105 |
+
"loss": 0.8754,
|
| 106 |
+
"step": 70
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"epoch": 0.9333333333333333,
|
| 110 |
+
"eval_loss": 0.9115058779716492,
|
| 111 |
+
"eval_runtime": 43.9244,
|
| 112 |
+
"eval_samples_per_second": 22.766,
|
| 113 |
+
"eval_steps_per_second": 2.846,
|
| 114 |
+
"step": 70
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"epoch": 1.0666666666666667,
|
| 118 |
+
"grad_norm": 0.3107095956802368,
|
| 119 |
+
"learning_rate": 7.051851851851853e-05,
|
| 120 |
+
"loss": 0.9654,
|
| 121 |
+
"step": 80
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"epoch": 1.0666666666666667,
|
| 125 |
+
"eval_loss": 0.9123550653457642,
|
| 126 |
+
"eval_runtime": 44.0077,
|
| 127 |
+
"eval_samples_per_second": 22.723,
|
| 128 |
+
"eval_steps_per_second": 2.84,
|
| 129 |
+
"step": 80
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 1.2,
|
| 133 |
+
"grad_norm": 0.43617743253707886,
|
| 134 |
+
"learning_rate": 6.933333333333334e-05,
|
| 135 |
+
"loss": 0.8513,
|
| 136 |
+
"step": 90
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 1.2,
|
| 140 |
+
"eval_loss": 0.9151815176010132,
|
| 141 |
+
"eval_runtime": 44.1871,
|
| 142 |
+
"eval_samples_per_second": 22.631,
|
| 143 |
+
"eval_steps_per_second": 2.829,
|
| 144 |
+
"step": 90
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"epoch": 1.3333333333333333,
|
| 148 |
+
"grad_norm": 0.40903240442276,
|
| 149 |
+
"learning_rate": 6.814814814814815e-05,
|
| 150 |
+
"loss": 0.8522,
|
| 151 |
+
"step": 100
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"epoch": 1.3333333333333333,
|
| 155 |
+
"eval_loss": 0.9142056703567505,
|
| 156 |
+
"eval_runtime": 43.9282,
|
| 157 |
+
"eval_samples_per_second": 22.764,
|
| 158 |
+
"eval_steps_per_second": 2.846,
|
| 159 |
+
"step": 100
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"epoch": 1.4666666666666668,
|
| 163 |
+
"grad_norm": 0.4918757677078247,
|
| 164 |
+
"learning_rate": 6.696296296296296e-05,
|
| 165 |
+
"loss": 0.7368,
|
| 166 |
+
"step": 110
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"epoch": 1.4666666666666668,
|
| 170 |
+
"eval_loss": 0.9174084067344666,
|
| 171 |
+
"eval_runtime": 43.8438,
|
| 172 |
+
"eval_samples_per_second": 22.808,
|
| 173 |
+
"eval_steps_per_second": 2.851,
|
| 174 |
+
"step": 110
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"epoch": 1.6,
|
| 178 |
+
"grad_norm": 0.5266700983047485,
|
| 179 |
+
"learning_rate": 6.577777777777777e-05,
|
| 180 |
+
"loss": 0.8725,
|
| 181 |
+
"step": 120
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"epoch": 1.6,
|
| 185 |
+
"eval_loss": 0.9153218865394592,
|
| 186 |
+
"eval_runtime": 43.8227,
|
| 187 |
+
"eval_samples_per_second": 22.819,
|
| 188 |
+
"eval_steps_per_second": 2.852,
|
| 189 |
+
"step": 120
|
| 190 |
+
}
|
| 191 |
+
],
|
| 192 |
+
"logging_steps": 10,
|
| 193 |
+
"max_steps": 675,
|
| 194 |
+
"num_input_tokens_seen": 0,
|
| 195 |
+
"num_train_epochs": 9,
|
| 196 |
+
"save_steps": 10,
|
| 197 |
+
"stateful_callbacks": {
|
| 198 |
+
"TrainerControl": {
|
| 199 |
+
"args": {
|
| 200 |
+
"should_epoch_stop": false,
|
| 201 |
+
"should_evaluate": false,
|
| 202 |
+
"should_log": false,
|
| 203 |
+
"should_save": true,
|
| 204 |
+
"should_training_stop": false
|
| 205 |
+
},
|
| 206 |
+
"attributes": {}
|
| 207 |
+
}
|
| 208 |
+
},
|
| 209 |
+
"total_flos": 1.96632863834112e+16,
|
| 210 |
+
"train_batch_size": 8,
|
| 211 |
+
"trial_name": null,
|
| 212 |
+
"trial_params": null
|
| 213 |
+
}
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-120/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0fd4ec76dd040a715fff74fcac3a3340052bfcc76bb7c12648f16196d304b5d
|
| 3 |
+
size 4859
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-130/README.md
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: /workspace/pythia-6_9b
|
| 3 |
+
library_name: peft
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# Model Card for Model ID
|
| 7 |
+
|
| 8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
## Model Details
|
| 13 |
+
|
| 14 |
+
### Model Description
|
| 15 |
+
|
| 16 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
- **Developed by:** [More Information Needed]
|
| 21 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 22 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 23 |
+
- **Model type:** [More Information Needed]
|
| 24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 25 |
+
- **License:** [More Information Needed]
|
| 26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 27 |
+
|
| 28 |
+
### Model Sources [optional]
|
| 29 |
+
|
| 30 |
+
<!-- Provide the basic links for the model. -->
|
| 31 |
+
|
| 32 |
+
- **Repository:** [More Information Needed]
|
| 33 |
+
- **Paper [optional]:** [More Information Needed]
|
| 34 |
+
- **Demo [optional]:** [More Information Needed]
|
| 35 |
+
|
| 36 |
+
## Uses
|
| 37 |
+
|
| 38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 39 |
+
|
| 40 |
+
### Direct Use
|
| 41 |
+
|
| 42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 43 |
+
|
| 44 |
+
[More Information Needed]
|
| 45 |
+
|
| 46 |
+
### Downstream Use [optional]
|
| 47 |
+
|
| 48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 49 |
+
|
| 50 |
+
[More Information Needed]
|
| 51 |
+
|
| 52 |
+
### Out-of-Scope Use
|
| 53 |
+
|
| 54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 55 |
+
|
| 56 |
+
[More Information Needed]
|
| 57 |
+
|
| 58 |
+
## Bias, Risks, and Limitations
|
| 59 |
+
|
| 60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 61 |
+
|
| 62 |
+
[More Information Needed]
|
| 63 |
+
|
| 64 |
+
### Recommendations
|
| 65 |
+
|
| 66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 67 |
+
|
| 68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 69 |
+
|
| 70 |
+
## How to Get Started with the Model
|
| 71 |
+
|
| 72 |
+
Use the code below to get started with the model.
|
| 73 |
+
|
| 74 |
+
[More Information Needed]
|
| 75 |
+
|
| 76 |
+
## Training Details
|
| 77 |
+
|
| 78 |
+
### Training Data
|
| 79 |
+
|
| 80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 81 |
+
|
| 82 |
+
[More Information Needed]
|
| 83 |
+
|
| 84 |
+
### Training Procedure
|
| 85 |
+
|
| 86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 87 |
+
|
| 88 |
+
#### Preprocessing [optional]
|
| 89 |
+
|
| 90 |
+
[More Information Needed]
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
#### Training Hyperparameters
|
| 94 |
+
|
| 95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 96 |
+
|
| 97 |
+
#### Speeds, Sizes, Times [optional]
|
| 98 |
+
|
| 99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 100 |
+
|
| 101 |
+
[More Information Needed]
|
| 102 |
+
|
| 103 |
+
## Evaluation
|
| 104 |
+
|
| 105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 106 |
+
|
| 107 |
+
### Testing Data, Factors & Metrics
|
| 108 |
+
|
| 109 |
+
#### Testing Data
|
| 110 |
+
|
| 111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 112 |
+
|
| 113 |
+
[More Information Needed]
|
| 114 |
+
|
| 115 |
+
#### Factors
|
| 116 |
+
|
| 117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 118 |
+
|
| 119 |
+
[More Information Needed]
|
| 120 |
+
|
| 121 |
+
#### Metrics
|
| 122 |
+
|
| 123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 124 |
+
|
| 125 |
+
[More Information Needed]
|
| 126 |
+
|
| 127 |
+
### Results
|
| 128 |
+
|
| 129 |
+
[More Information Needed]
|
| 130 |
+
|
| 131 |
+
#### Summary
|
| 132 |
+
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
## Model Examination [optional]
|
| 136 |
+
|
| 137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 138 |
+
|
| 139 |
+
[More Information Needed]
|
| 140 |
+
|
| 141 |
+
## Environmental Impact
|
| 142 |
+
|
| 143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 144 |
+
|
| 145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 146 |
+
|
| 147 |
+
- **Hardware Type:** [More Information Needed]
|
| 148 |
+
- **Hours used:** [More Information Needed]
|
| 149 |
+
- **Cloud Provider:** [More Information Needed]
|
| 150 |
+
- **Compute Region:** [More Information Needed]
|
| 151 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 152 |
+
|
| 153 |
+
## Technical Specifications [optional]
|
| 154 |
+
|
| 155 |
+
### Model Architecture and Objective
|
| 156 |
+
|
| 157 |
+
[More Information Needed]
|
| 158 |
+
|
| 159 |
+
### Compute Infrastructure
|
| 160 |
+
|
| 161 |
+
[More Information Needed]
|
| 162 |
+
|
| 163 |
+
#### Hardware
|
| 164 |
+
|
| 165 |
+
[More Information Needed]
|
| 166 |
+
|
| 167 |
+
#### Software
|
| 168 |
+
|
| 169 |
+
[More Information Needed]
|
| 170 |
+
|
| 171 |
+
## Citation [optional]
|
| 172 |
+
|
| 173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 174 |
+
|
| 175 |
+
**BibTeX:**
|
| 176 |
+
|
| 177 |
+
[More Information Needed]
|
| 178 |
+
|
| 179 |
+
**APA:**
|
| 180 |
+
|
| 181 |
+
[More Information Needed]
|
| 182 |
+
|
| 183 |
+
## Glossary [optional]
|
| 184 |
+
|
| 185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 186 |
+
|
| 187 |
+
[More Information Needed]
|
| 188 |
+
|
| 189 |
+
## More Information [optional]
|
| 190 |
+
|
| 191 |
+
[More Information Needed]
|
| 192 |
+
|
| 193 |
+
## Model Card Authors [optional]
|
| 194 |
+
|
| 195 |
+
[More Information Needed]
|
| 196 |
+
|
| 197 |
+
## Model Card Contact
|
| 198 |
+
|
| 199 |
+
[More Information Needed]
|
| 200 |
+
### Framework versions
|
| 201 |
+
|
| 202 |
+
- PEFT 0.13.2
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-130/adapter_config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "/workspace/pythia-6_9b",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layer_replication": null,
|
| 10 |
+
"layers_pattern": null,
|
| 11 |
+
"layers_to_transform": null,
|
| 12 |
+
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 32,
|
| 14 |
+
"lora_dropout": 0.1,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": null,
|
| 18 |
+
"peft_type": "LORA",
|
| 19 |
+
"r": 8,
|
| 20 |
+
"rank_pattern": {},
|
| 21 |
+
"revision": null,
|
| 22 |
+
"target_modules": [
|
| 23 |
+
"dense_4h_to_h",
|
| 24 |
+
"dense",
|
| 25 |
+
"query_key_value",
|
| 26 |
+
"dense_h_to_4h"
|
| 27 |
+
],
|
| 28 |
+
"task_type": "CAUSAL_LM",
|
| 29 |
+
"use_dora": false,
|
| 30 |
+
"use_rslora": false
|
| 31 |
+
}
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-130/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:53618653c528d0e9220d4d736125e3fcd1c48fbf49a73f0db703cdf4e67f450d
|
| 3 |
+
size 67144544
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-130/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d9c83b0e0e8ae5628cc31380c7466a92f13d8ca550ff93d2d5797b10e46241fb
|
| 3 |
+
size 134432453
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-130/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:602f503f7cd2e84c0b6719714b66d34e98b340f44b02ba8ffc44df096e786100
|
| 3 |
+
size 14575
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-130/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:abdc7730bfbf0869132cbbd456c580122a20a540399e30640d4e51daf6f379d3
|
| 3 |
+
size 627
|
output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-130/trainer_state.json
ADDED
|
@@ -0,0 +1,228 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": 0.9115058779716492,
|
| 3 |
+
"best_model_checkpoint": "./output_ft_more_layers_github_epoch_9_mlp/pythia-6_9b-member-6_9b-epoch-9-pile-full-600-subsets-github-8e-05/checkpoint-70",
|
| 4 |
+
"epoch": 1.7333333333333334,
|
| 5 |
+
"eval_steps": 10,
|
| 6 |
+
"global_step": 130,
|
| 7 |
+
"is_hyper_param_search": false,
|
| 8 |
+
"is_local_process_zero": true,
|
| 9 |
+
"is_world_process_zero": true,
|
| 10 |
+
"log_history": [
|
| 11 |
+
{
|
| 12 |
+
"epoch": 0.13333333333333333,
|
| 13 |
+
"grad_norm": 0.34914588928222656,
|
| 14 |
+
"learning_rate": 7.881481481481482e-05,
|
| 15 |
+
"loss": 0.9786,
|
| 16 |
+
"step": 10
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"epoch": 0.13333333333333333,
|
| 20 |
+
"eval_loss": 0.9192319512367249,
|
| 21 |
+
"eval_runtime": 43.8662,
|
| 22 |
+
"eval_samples_per_second": 22.797,
|
| 23 |
+
"eval_steps_per_second": 2.85,
|
| 24 |
+
"step": 10
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.26666666666666666,
|
| 28 |
+
"grad_norm": 0.3280612826347351,
|
| 29 |
+
"learning_rate": 7.762962962962963e-05,
|
| 30 |
+
"loss": 0.8555,
|
| 31 |
+
"step": 20
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.26666666666666666,
|
| 35 |
+
"eval_loss": 0.9182329177856445,
|
| 36 |
+
"eval_runtime": 43.8681,
|
| 37 |
+
"eval_samples_per_second": 22.796,
|
| 38 |
+
"eval_steps_per_second": 2.849,
|
| 39 |
+
"step": 20
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"epoch": 0.4,
|
| 43 |
+
"grad_norm": 0.3927752673625946,
|
| 44 |
+
"learning_rate": 7.644444444444445e-05,
|
| 45 |
+
"loss": 0.8785,
|
| 46 |
+
"step": 30
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"epoch": 0.4,
|
| 50 |
+
"eval_loss": 0.9171502590179443,
|
| 51 |
+
"eval_runtime": 43.9052,
|
| 52 |
+
"eval_samples_per_second": 22.776,
|
| 53 |
+
"eval_steps_per_second": 2.847,
|
| 54 |
+
"step": 30
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"epoch": 0.5333333333333333,
|
| 58 |
+
"grad_norm": 0.31085240840911865,
|
| 59 |
+
"learning_rate": 7.525925925925926e-05,
|
| 60 |
+
"loss": 0.9298,
|
| 61 |
+
"step": 40
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"epoch": 0.5333333333333333,
|
| 65 |
+
"eval_loss": 0.9156997203826904,
|
| 66 |
+
"eval_runtime": 43.9323,
|
| 67 |
+
"eval_samples_per_second": 22.762,
|
| 68 |
+
"eval_steps_per_second": 2.845,
|
| 69 |
+
"step": 40
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"epoch": 0.6666666666666666,
|
| 73 |
+
"grad_norm": 0.340986967086792,
|
| 74 |
+
"learning_rate": 7.407407407407409e-05,
|
| 75 |
+
"loss": 0.7766,
|
| 76 |
+
"step": 50
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"epoch": 0.6666666666666666,
|
| 80 |
+
"eval_loss": 0.914226233959198,
|
| 81 |
+
"eval_runtime": 43.9155,
|
| 82 |
+
"eval_samples_per_second": 22.771,
|
| 83 |
+
"eval_steps_per_second": 2.846,
|
| 84 |
+
"step": 50
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"epoch": 0.8,
|
| 88 |
+
"grad_norm": 0.31949862837791443,
|
| 89 |
+
"learning_rate": 7.28888888888889e-05,
|
| 90 |
+
"loss": 0.9235,
|
| 91 |
+
"step": 60
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"epoch": 0.8,
|
| 95 |
+
"eval_loss": 0.9130523204803467,
|
| 96 |
+
"eval_runtime": 43.9325,
|
| 97 |
+
"eval_samples_per_second": 22.762,
|
| 98 |
+
"eval_steps_per_second": 2.845,
|
| 99 |
+
"step": 60
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"epoch": 0.9333333333333333,
|
| 103 |
+
"grad_norm": 0.30694302916526794,
|
| 104 |
+
"learning_rate": 7.170370370370371e-05,
|
| 105 |
+
"loss": 0.8754,
|
| 106 |
+
"step": 70
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"epoch": 0.9333333333333333,
|
| 110 |
+
"eval_loss": 0.9115058779716492,
|
| 111 |
+
"eval_runtime": 43.9244,
|
| 112 |
+
"eval_samples_per_second": 22.766,
|
| 113 |
+
"eval_steps_per_second": 2.846,
|
| 114 |
+
"step": 70
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"epoch": 1.0666666666666667,
|
| 118 |
+
"grad_norm": 0.3107095956802368,
|
| 119 |
+
"learning_rate": 7.051851851851853e-05,
|
| 120 |
+
"loss": 0.9654,
|
| 121 |
+
"step": 80
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"epoch": 1.0666666666666667,
|
| 125 |
+
"eval_loss": 0.9123550653457642,
|
| 126 |
+
"eval_runtime": 44.0077,
|
| 127 |
+
"eval_samples_per_second": 22.723,
|
| 128 |
+
"eval_steps_per_second": 2.84,
|
| 129 |
+
"step": 80
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 1.2,
|
| 133 |
+
"grad_norm": 0.43617743253707886,
|
| 134 |
+
"learning_rate": 6.933333333333334e-05,
|
| 135 |
+
"loss": 0.8513,
|
| 136 |
+
"step": 90
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 1.2,
|
| 140 |
+
"eval_loss": 0.9151815176010132,
|
| 141 |
+
"eval_runtime": 44.1871,
|
| 142 |
+
"eval_samples_per_second": 22.631,
|
| 143 |
+
"eval_steps_per_second": 2.829,
|
| 144 |
+
"step": 90
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"epoch": 1.3333333333333333,
|
| 148 |
+
"grad_norm": 0.40903240442276,
|
| 149 |
+
"learning_rate": 6.814814814814815e-05,
|
| 150 |
+
"loss": 0.8522,
|
| 151 |
+
"step": 100
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"epoch": 1.3333333333333333,
|
| 155 |
+
"eval_loss": 0.9142056703567505,
|
| 156 |
+
"eval_runtime": 43.9282,
|
| 157 |
+
"eval_samples_per_second": 22.764,
|
| 158 |
+
"eval_steps_per_second": 2.846,
|
| 159 |
+
"step": 100
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"epoch": 1.4666666666666668,
|
| 163 |
+
"grad_norm": 0.4918757677078247,
|
| 164 |
+
"learning_rate": 6.696296296296296e-05,
|
| 165 |
+
"loss": 0.7368,
|
| 166 |
+
"step": 110
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"epoch": 1.4666666666666668,
|
| 170 |
+
"eval_loss": 0.9174084067344666,
|
| 171 |
+
"eval_runtime": 43.8438,
|
| 172 |
+
"eval_samples_per_second": 22.808,
|
| 173 |
+
"eval_steps_per_second": 2.851,
|
| 174 |
+
"step": 110
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"epoch": 1.6,
|
| 178 |
+
"grad_norm": 0.5266700983047485,
|
| 179 |
+
"learning_rate": 6.577777777777777e-05,
|
| 180 |
+
"loss": 0.8725,
|
| 181 |
+
"step": 120
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"epoch": 1.6,
|
| 185 |
+
"eval_loss": 0.9153218865394592,
|
| 186 |
+
"eval_runtime": 43.8227,
|
| 187 |
+
"eval_samples_per_second": 22.819,
|
| 188 |
+
"eval_steps_per_second": 2.852,
|
| 189 |
+
"step": 120
|
| 190 |
+
},
|
| 191 |
+
{
|
| 192 |
+
"epoch": 1.7333333333333334,
|
| 193 |
+
"grad_norm": 0.5797013640403748,
|
| 194 |
+
"learning_rate": 6.45925925925926e-05,
|
| 195 |
+
"loss": 0.8773,
|
| 196 |
+
"step": 130
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"epoch": 1.7333333333333334,
|
| 200 |
+
"eval_loss": 0.9177990555763245,
|
| 201 |
+
"eval_runtime": 43.9161,
|
| 202 |
+
"eval_samples_per_second": 22.771,
|
| 203 |
+
"eval_steps_per_second": 2.846,
|
| 204 |
+
"step": 130
|
| 205 |
+
}
|
| 206 |
+
],
|
| 207 |
+
"logging_steps": 10,
|
| 208 |
+
"max_steps": 675,
|
| 209 |
+
"num_input_tokens_seen": 0,
|
| 210 |
+
"num_train_epochs": 9,
|
| 211 |
+
"save_steps": 10,
|
| 212 |
+
"stateful_callbacks": {
|
| 213 |
+
"TrainerControl": {
|
| 214 |
+
"args": {
|
| 215 |
+
"should_epoch_stop": false,
|
| 216 |
+
"should_evaluate": false,
|
| 217 |
+
"should_log": false,
|
| 218 |
+
"should_save": true,
|
| 219 |
+
"should_training_stop": false
|
| 220 |
+
},
|
| 221 |
+
"attributes": {}
|
| 222 |
+
}
|
| 223 |
+
},
|
| 224 |
+
"total_flos": 2.13018935820288e+16,
|
| 225 |
+
"train_batch_size": 8,
|
| 226 |
+
"trial_name": null,
|
| 227 |
+
"trial_params": null
|
| 228 |
+
}
|