初始化项目,由ModelHub XC社区提供模型
Model: Sharathhebbar24/math_gpt2_sft Source: Original Platform
This commit is contained in:
commit
dcbf646e62
10 files changed
+151000
No files matched your search
@@ -0,0 +1,35 @@
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||
*.model filter=lfs diff=lfs merge=lfs -text
|
||||
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||
@@ -0,0 +1,561 @@
|
||||
---
|
||||
language:
|
||||
- en
|
||||
license: apache-2.0
|
||||
tags:
|
||||
- maths
|
||||
- gpt2
|
||||
- mathgpt2
|
||||
- trl
|
||||
- sft
|
||||
datasets:
|
||||
- meta-math/MetaMathQA
|
||||
- ArtifactAI/arxiv-math-instruct-50k
|
||||
pipeline_tag: text-generation
|
||||
widget:
|
||||
- text: Which motion is formed by an incident particle?
|
||||
example_title: Example 1
|
||||
- text: What type of diffusional modeling is used for diffusion?
|
||||
example_title: Example 2
|
||||
model-index:
|
||||
- name: math_gpt2_sft
|
||||
results:
|
||||
- task:
|
||||
type: text-generation
|
||||
name: Text Generation
|
||||
dataset:
|
||||
name: AI2 Reasoning Challenge (25-Shot)
|
||||
type: ai2_arc
|
||||
config: ARC-Challenge
|
||||
split: test
|
||||
args:
|
||||
num_few_shot: 25
|
||||
metrics:
|
||||
- type: acc_norm
|
||||
value: 22.87
|
||||
name: normalized accuracy
|
||||
source:
|
||||
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Sharathhebbar24/math_gpt2_sft
|
||||
name: Open LLM Leaderboard
|
||||
- task:
|
||||
type: text-generation
|
||||
name: Text Generation
|
||||
dataset:
|
||||
name: HellaSwag (10-Shot)
|
||||
type: hellaswag
|
||||
split: validation
|
||||
args:
|
||||
num_few_shot: 10
|
||||
metrics:
|
||||
- type: acc_norm
|
||||
value: 30.41
|
||||
name: normalized accuracy
|
||||
source:
|
||||
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Sharathhebbar24/math_gpt2_sft
|
||||
name: Open LLM Leaderboard
|
||||
- task:
|
||||
type: text-generation
|
||||
name: Text Generation
|
||||
dataset:
|
||||
name: MMLU (5-Shot)
|
||||
type: cais/mmlu
|
||||
config: all
|
||||
split: test
|
||||
args:
|
||||
num_few_shot: 5
|
||||
metrics:
|
||||
- type: acc
|
||||
value: 25.06
|
||||
name: accuracy
|
||||
source:
|
||||
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Sharathhebbar24/math_gpt2_sft
|
||||
name: Open LLM Leaderboard
|
||||
- task:
|
||||
type: text-generation
|
||||
name: Text Generation
|
||||
dataset:
|
||||
name: TruthfulQA (0-shot)
|
||||
type: truthful_qa
|
||||
config: multiple_choice
|
||||
split: validation
|
||||
args:
|
||||
num_few_shot: 0
|
||||
metrics:
|
||||
- type: mc2
|
||||
value: 37.62
|
||||
source:
|
||||
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Sharathhebbar24/math_gpt2_sft
|
||||
name: Open LLM Leaderboard
|
||||
- task:
|
||||
type: text-generation
|
||||
name: Text Generation
|
||||
dataset:
|
||||
name: Winogrande (5-shot)
|
||||
type: winogrande
|
||||
config: winogrande_xl
|
||||
split: validation
|
||||
args:
|
||||
num_few_shot: 5
|
||||
metrics:
|
||||
- type: acc
|
||||
value: 51.54
|
||||
name: accuracy
|
||||
source:
|
||||
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Sharathhebbar24/math_gpt2_sft
|
||||
name: Open LLM Leaderboard
|
||||
- task:
|
||||
type: text-generation
|
||||
name: Text Generation
|
||||
dataset:
|
||||
name: GSM8k (5-shot)
|
||||
type: gsm8k
|
||||
config: main
|
||||
split: test
|
||||
args:
|
||||
num_few_shot: 5
|
||||
metrics:
|
||||
- type: acc
|
||||
value: 0.68
|
||||
name: accuracy
|
||||
source:
|
||||
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Sharathhebbar24/math_gpt2_sft
|
||||
name: Open LLM Leaderboard
|
||||
---
|
||||
|
||||
This model is a finetuned version of ```Sharathhebbar24/math_gpt2``` using ```meta-math/MetaMathQA```
|
||||
|
||||
## Model description
|
||||
|
||||
GPT-2 is a transformers model pre-trained on a very large corpus of English data in a self-supervised fashion. This
|
||||
means it was pre-trained on the raw texts only, with no humans labeling them in any way (which is why it can use lots
|
||||
of publicly available data) with an automatic process to generate inputs and labels from those texts. More precisely,
|
||||
it was trained to guess the next word in sentences.
|
||||
|
||||
More precisely, inputs are sequences of continuous text of a certain length and the targets are the same sequence,
|
||||
shifting one token (word or piece of word) to the right. The model uses a masking mechanism to make sure the
|
||||
predictions for the token `i` only use the inputs from `1` to `i` but not the future tokens.
|
||||
|
||||
This way, the model learns an inner representation of the English language that can then be used to extract features
|
||||
useful for downstream tasks. The model is best at what it was trained for, however, which is generating texts from a
|
||||
prompt.
|
||||
|
||||
### To use this model
|
||||
|
||||
```python
|
||||
>>> from transformers import AutoTokenizer, AutoModelForCausalLM
|
||||
>>> model_name = "Sharathhebbar24/math_gpt2_sft"
|
||||
>>> model = AutoModelForCausalLM.from_pretrained(model_name)
|
||||
>>> tokenizer = AutoTokenizer.from_pretrained(model_name)
|
||||
>>> def generate_text(prompt):
|
||||
>>> inputs = tokenizer.encode(prompt, return_tensors='pt')
|
||||
>>> outputs = model.generate(inputs, max_length=64, pad_token_id=tokenizer.eos_token_id)
|
||||
>>> generated = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
||||
>>> return generated[:generated.rfind(".")+1]
|
||||
>>> prompt = "Gracie and Joe are choosing numbers on the complex plane. Joe chooses the point $1+2i$. Gracie chooses $-1+i$. How far apart are Gracie and Joe's points?"
|
||||
>>> res = generate_text(prompt)
|
||||
>>> res
|
||||
```
|
||||
|
||||
# Benchmark / Evaluation
|
||||
|
||||
| Model | Average | ARC | HellaSwag | MMLU | TruthfulQA | Winogrande | GSM8k |
|
||||
| ------- | -------- | -------- | ------- | -------- | -------- | ------- | -------- |
|
||||
| Sharathhebbar24/math_gpt2_sft | 28.503 | 22.87 | 30.41 | 25.06 | 37.62 | 51.54 | 0.68 |
|
||||
|
||||
```python
|
||||
{
|
||||
"all": {
|
||||
"acc": 0.25082189621988066,
|
||||
"acc_stderr": 0.030526589726831692,
|
||||
"acc_norm": 0.25112870356236633,
|
||||
"acc_norm_stderr": 0.03129390389566968,
|
||||
"mc1": 0.24112607099143207,
|
||||
"mc1_stderr": 0.014974827279752334,
|
||||
"mc2": 0.3762297840067963,
|
||||
"mc2_stderr": 0.01445991036363257
|
||||
},
|
||||
"harness|arc:challenge|25": {
|
||||
"acc": 0.20563139931740615,
|
||||
"acc_stderr": 0.01181074526074258,
|
||||
"acc_norm": 0.22866894197952217,
|
||||
"acc_norm_stderr": 0.012272853582540799
|
||||
},
|
||||
"harness|hellaswag|10": {
|
||||
"acc": 0.2884883489344752,
|
||||
"acc_stderr": 0.004521334761709224,
|
||||
"acc_norm": 0.30412268472415854,
|
||||
"acc_norm_stderr": 0.00459094683972719
|
||||
},
|
||||
"harness|hendrycksTest-abstract_algebra|5": {
|
||||
"acc": 0.19,
|
||||
"acc_stderr": 0.03942772444036625,
|
||||
"acc_norm": 0.19,
|
||||
"acc_norm_stderr": 0.03942772444036625
|
||||
},
|
||||
"harness|hendrycksTest-anatomy|5": {
|
||||
"acc": 0.2074074074074074,
|
||||
"acc_stderr": 0.03502553170678319,
|
||||
"acc_norm": 0.2074074074074074,
|
||||
"acc_norm_stderr": 0.03502553170678319
|
||||
},
|
||||
"harness|hendrycksTest-astronomy|5": {
|
||||
"acc": 0.17763157894736842,
|
||||
"acc_stderr": 0.031103182383123398,
|
||||
"acc_norm": 0.17763157894736842,
|
||||
"acc_norm_stderr": 0.031103182383123398
|
||||
},
|
||||
"harness|hendrycksTest-business_ethics|5": {
|
||||
"acc": 0.19,
|
||||
"acc_stderr": 0.03942772444036622,
|
||||
"acc_norm": 0.19,
|
||||
"acc_norm_stderr": 0.03942772444036622
|
||||
},
|
||||
"harness|hendrycksTest-clinical_knowledge|5": {
|
||||
"acc": 0.2188679245283019,
|
||||
"acc_stderr": 0.025447863825108618,
|
||||
"acc_norm": 0.2188679245283019,
|
||||
"acc_norm_stderr": 0.025447863825108618
|
||||
},
|
||||
"harness|hendrycksTest-college_biology|5": {
|
||||
"acc": 0.25,
|
||||
"acc_stderr": 0.03621034121889507,
|
||||
"acc_norm": 0.25,
|
||||
"acc_norm_stderr": 0.03621034121889507
|
||||
},
|
||||
"harness|hendrycksTest-college_chemistry|5": {
|
||||
"acc": 0.2,
|
||||
"acc_stderr": 0.04020151261036845,
|
||||
"acc_norm": 0.2,
|
||||
"acc_norm_stderr": 0.04020151261036845
|
||||
},
|
||||
"harness|hendrycksTest-college_computer_science|5": {
|
||||
"acc": 0.32,
|
||||
"acc_stderr": 0.046882617226215034,
|
||||
"acc_norm": 0.32,
|
||||
"acc_norm_stderr": 0.046882617226215034
|
||||
},
|
||||
"harness|hendrycksTest-college_mathematics|5": {
|
||||
"acc": 0.24,
|
||||
"acc_stderr": 0.042923469599092816,
|
||||
"acc_norm": 0.24,
|
||||
"acc_norm_stderr": 0.042923469599092816
|
||||
},
|
||||
"harness|hendrycksTest-college_medicine|5": {
|
||||
"acc": 0.21965317919075145,
|
||||
"acc_stderr": 0.031568093627031744,
|
||||
"acc_norm": 0.21965317919075145,
|
||||
"acc_norm_stderr": 0.031568093627031744
|
||||
},
|
||||
"harness|hendrycksTest-college_physics|5": {
|
||||
"acc": 0.23529411764705882,
|
||||
"acc_stderr": 0.04220773659171453,
|
||||
"acc_norm": 0.23529411764705882,
|
||||
"acc_norm_stderr": 0.04220773659171453
|
||||
},
|
||||
"harness|hendrycksTest-computer_security|5": {
|
||||
"acc": 0.23,
|
||||
"acc_stderr": 0.04229525846816505,
|
||||
"acc_norm": 0.23,
|
||||
"acc_norm_stderr": 0.04229525846816505
|
||||
},
|
||||
"harness|hendrycksTest-conceptual_physics|5": {
|
||||
"acc": 0.2680851063829787,
|
||||
"acc_stderr": 0.028957342788342347,
|
||||
"acc_norm": 0.2680851063829787,
|
||||
"acc_norm_stderr": 0.028957342788342347
|
||||
},
|
||||
"harness|hendrycksTest-econometrics|5": {
|
||||
"acc": 0.24561403508771928,
|
||||
"acc_stderr": 0.040493392977481404,
|
||||
"acc_norm": 0.24561403508771928,
|
||||
"acc_norm_stderr": 0.040493392977481404
|
||||
},
|
||||
"harness|hendrycksTest-electrical_engineering|5": {
|
||||
"acc": 0.2482758620689655,
|
||||
"acc_stderr": 0.036001056927277716,
|
||||
"acc_norm": 0.2482758620689655,
|
||||
"acc_norm_stderr": 0.036001056927277716
|
||||
},
|
||||
"harness|hendrycksTest-elementary_mathematics|5": {
|
||||
"acc": 0.24074074074074073,
|
||||
"acc_stderr": 0.0220190800122179,
|
||||
"acc_norm": 0.24074074074074073,
|
||||
"acc_norm_stderr": 0.0220190800122179
|
||||
},
|
||||
"harness|hendrycksTest-formal_logic|5": {
|
||||
"acc": 0.23015873015873015,
|
||||
"acc_stderr": 0.03764950879790605,
|
||||
"acc_norm": 0.23015873015873015,
|
||||
"acc_norm_stderr": 0.03764950879790605
|
||||
},
|
||||
"harness|hendrycksTest-global_facts|5": {
|
||||
"acc": 0.18,
|
||||
"acc_stderr": 0.038612291966536934,
|
||||
"acc_norm": 0.18,
|
||||
"acc_norm_stderr": 0.038612291966536934
|
||||
},
|
||||
"harness|hendrycksTest-high_school_biology|5": {
|
||||
"acc": 0.25483870967741934,
|
||||
"acc_stderr": 0.024790118459332208,
|
||||
"acc_norm": 0.25483870967741934,
|
||||
"acc_norm_stderr": 0.024790118459332208
|
||||
},
|
||||
"harness|hendrycksTest-high_school_chemistry|5": {
|
||||
"acc": 0.19704433497536947,
|
||||
"acc_stderr": 0.02798672466673622,
|
||||
"acc_norm": 0.19704433497536947,
|
||||
"acc_norm_stderr": 0.02798672466673622
|
||||
},
|
||||
"harness|hendrycksTest-high_school_computer_science|5": {
|
||||
"acc": 0.22,
|
||||
"acc_stderr": 0.041633319989322695,
|
||||
"acc_norm": 0.22,
|
||||
"acc_norm_stderr": 0.041633319989322695
|
||||
},
|
||||
"harness|hendrycksTest-high_school_european_history|5": {
|
||||
"acc": 0.19393939393939394,
|
||||
"acc_stderr": 0.0308741451365621,
|
||||
"acc_norm": 0.19393939393939394,
|
||||
"acc_norm_stderr": 0.0308741451365621
|
||||
},
|
||||
"harness|hendrycksTest-high_school_geography|5": {
|
||||
"acc": 0.3484848484848485,
|
||||
"acc_stderr": 0.033948539651564025,
|
||||
"acc_norm": 0.3484848484848485,
|
||||
"acc_norm_stderr": 0.033948539651564025
|
||||
},
|
||||
"harness|hendrycksTest-high_school_government_and_politics|5": {
|
||||
"acc": 0.32124352331606215,
|
||||
"acc_stderr": 0.033699508685490674,
|
||||
"acc_norm": 0.32124352331606215,
|
||||
"acc_norm_stderr": 0.033699508685490674
|
||||
},
|
||||
"harness|hendrycksTest-high_school_macroeconomics|5": {
|
||||
"acc": 0.23333333333333334,
|
||||
"acc_stderr": 0.021444547301560476,
|
||||
"acc_norm": 0.23333333333333334,
|
||||
"acc_norm_stderr": 0.021444547301560476
|
||||
},
|
||||
"harness|hendrycksTest-high_school_mathematics|5": {
|
||||
"acc": 0.2851851851851852,
|
||||
"acc_stderr": 0.027528599210340492,
|
||||
"acc_norm": 0.2851851851851852,
|
||||
"acc_norm_stderr": 0.027528599210340492
|
||||
},
|
||||
"harness|hendrycksTest-high_school_microeconomics|5": {
|
||||
"acc": 0.29831932773109243,
|
||||
"acc_stderr": 0.029719142876342856,
|
||||
"acc_norm": 0.29831932773109243,
|
||||
"acc_norm_stderr": 0.029719142876342856
|
||||
},
|
||||
"harness|hendrycksTest-high_school_physics|5": {
|
||||
"acc": 0.2781456953642384,
|
||||
"acc_stderr": 0.03658603262763744,
|
||||
"acc_norm": 0.2781456953642384,
|
||||
"acc_norm_stderr": 0.03658603262763744
|
||||
},
|
||||
"harness|hendrycksTest-high_school_psychology|5": {
|
||||
"acc": 0.26788990825688075,
|
||||
"acc_stderr": 0.018987462257978652,
|
||||
"acc_norm": 0.26788990825688075,
|
||||
"acc_norm_stderr": 0.018987462257978652
|
||||
},
|
||||
"harness|hendrycksTest-high_school_statistics|5": {
|
||||
"acc": 0.4351851851851852,
|
||||
"acc_stderr": 0.03381200005643525,
|
||||
"acc_norm": 0.4351851851851852,
|
||||
"acc_norm_stderr": 0.03381200005643525
|
||||
},
|
||||
"harness|hendrycksTest-high_school_us_history|5": {
|
||||
"acc": 0.2647058823529412,
|
||||
"acc_stderr": 0.0309645179269234,
|
||||
"acc_norm": 0.2647058823529412,
|
||||
"acc_norm_stderr": 0.0309645179269234
|
||||
},
|
||||
"harness|hendrycksTest-high_school_world_history|5": {
|
||||
"acc": 0.28270042194092826,
|
||||
"acc_stderr": 0.029312814153955927,
|
||||
"acc_norm": 0.28270042194092826,
|
||||
"acc_norm_stderr": 0.029312814153955927
|
||||
},
|
||||
"harness|hendrycksTest-human_aging|5": {
|
||||
"acc": 0.31390134529147984,
|
||||
"acc_stderr": 0.031146796482972465,
|
||||
"acc_norm": 0.31390134529147984,
|
||||
"acc_norm_stderr": 0.031146796482972465
|
||||
},
|
||||
"harness|hendrycksTest-human_sexuality|5": {
|
||||
"acc": 0.2595419847328244,
|
||||
"acc_stderr": 0.03844876139785271,
|
||||
"acc_norm": 0.2595419847328244,
|
||||
"acc_norm_stderr": 0.03844876139785271
|
||||
},
|
||||
"harness|hendrycksTest-international_law|5": {
|
||||
"acc": 0.2231404958677686,
|
||||
"acc_stderr": 0.03800754475228733,
|
||||
"acc_norm": 0.2231404958677686,
|
||||
"acc_norm_stderr": 0.03800754475228733
|
||||
},
|
||||
"harness|hendrycksTest-jurisprudence|5": {
|
||||
"acc": 0.25925925925925924,
|
||||
"acc_stderr": 0.042365112580946336,
|
||||
"acc_norm": 0.25925925925925924,
|
||||
"acc_norm_stderr": 0.042365112580946336
|
||||
},
|
||||
"harness|hendrycksTest-logical_fallacies|5": {
|
||||
"acc": 0.25153374233128833,
|
||||
"acc_stderr": 0.03408997886857529,
|
||||
"acc_norm": 0.25153374233128833,
|
||||
"acc_norm_stderr": 0.03408997886857529
|
||||
},
|
||||
"harness|hendrycksTest-machine_learning|5": {
|
||||
"acc": 0.29464285714285715,
|
||||
"acc_stderr": 0.043270409325787296,
|
||||
"acc_norm": 0.29464285714285715,
|
||||
"acc_norm_stderr": 0.043270409325787296
|
||||
},
|
||||
"harness|hendrycksTest-management|5": {
|
||||
"acc": 0.17475728155339806,
|
||||
"acc_stderr": 0.037601780060266224,
|
||||
"acc_norm": 0.17475728155339806,
|
||||
"acc_norm_stderr": 0.037601780060266224
|
||||
},
|
||||
"harness|hendrycksTest-marketing|5": {
|
||||
"acc": 0.20085470085470086,
|
||||
"acc_stderr": 0.026246772946890488,
|
||||
"acc_norm": 0.20085470085470086,
|
||||
"acc_norm_stderr": 0.026246772946890488
|
||||
},
|
||||
"harness|hendrycksTest-medical_genetics|5": {
|
||||
"acc": 0.3,
|
||||
"acc_stderr": 0.046056618647183814,
|
||||
"acc_norm": 0.3,
|
||||
"acc_norm_stderr": 0.046056618647183814
|
||||
},
|
||||
"harness|hendrycksTest-miscellaneous|5": {
|
||||
"acc": 0.23499361430395913,
|
||||
"acc_stderr": 0.01516202415227844,
|
||||
"acc_norm": 0.23499361430395913,
|
||||
"acc_norm_stderr": 0.01516202415227844
|
||||
},
|
||||
"harness|hendrycksTest-moral_disputes|5": {
|
||||
"acc": 0.23699421965317918,
|
||||
"acc_stderr": 0.02289408248992599,
|
||||
"acc_norm": 0.23699421965317918,
|
||||
"acc_norm_stderr": 0.02289408248992599
|
||||
},
|
||||
"harness|hendrycksTest-moral_scenarios|5": {
|
||||
"acc": 0.23798882681564246,
|
||||
"acc_stderr": 0.014242630070574915,
|
||||
"acc_norm": 0.23798882681564246,
|
||||
"acc_norm_stderr": 0.014242630070574915
|
||||
},
|
||||
"harness|hendrycksTest-nutrition|5": {
|
||||
"acc": 0.23202614379084968,
|
||||
"acc_stderr": 0.024170840879341005,
|
||||
"acc_norm": 0.23202614379084968,
|
||||
"acc_norm_stderr": 0.024170840879341005
|
||||
},
|
||||
"harness|hendrycksTest-philosophy|5": {
|
||||
"acc": 0.1864951768488746,
|
||||
"acc_stderr": 0.02212243977248077,
|
||||
"acc_norm": 0.1864951768488746,
|
||||
"acc_norm_stderr": 0.02212243977248077
|
||||
},
|
||||
"harness|hendrycksTest-prehistory|5": {
|
||||
"acc": 0.24074074074074073,
|
||||
"acc_stderr": 0.02378858355165854,
|
||||
"acc_norm": 0.24074074074074073,
|
||||
"acc_norm_stderr": 0.02378858355165854
|
||||
},
|
||||
"harness|hendrycksTest-professional_accounting|5": {
|
||||
"acc": 0.2695035460992908,
|
||||
"acc_stderr": 0.026469036818590627,
|
||||
"acc_norm": 0.2695035460992908,
|
||||
"acc_norm_stderr": 0.026469036818590627
|
||||
},
|
||||
"harness|hendrycksTest-professional_law|5": {
|
||||
"acc": 0.2529335071707953,
|
||||
"acc_stderr": 0.011102268713839989,
|
||||
"acc_norm": 0.2529335071707953,
|
||||
"acc_norm_stderr": 0.011102268713839989
|
||||
},
|
||||
"harness|hendrycksTest-professional_medicine|5": {
|
||||
"acc": 0.4411764705882353,
|
||||
"acc_stderr": 0.030161911930767102,
|
||||
"acc_norm": 0.4411764705882353,
|
||||
"acc_norm_stderr": 0.030161911930767102
|
||||
},
|
||||
"harness|hendrycksTest-professional_psychology|5": {
|
||||
"acc": 0.25,
|
||||
"acc_stderr": 0.01751781884501444,
|
||||
"acc_norm": 0.25,
|
||||
"acc_norm_stderr": 0.01751781884501444
|
||||
},
|
||||
"harness|hendrycksTest-public_relations|5": {
|
||||
"acc": 0.21818181818181817,
|
||||
"acc_stderr": 0.03955932861795833,
|
||||
"acc_norm": 0.21818181818181817,
|
||||
"acc_norm_stderr": 0.03955932861795833
|
||||
},
|
||||
"harness|hendrycksTest-security_studies|5": {
|
||||
"acc": 0.20408163265306123,
|
||||
"acc_stderr": 0.025801283475090506,
|
||||
"acc_norm": 0.20408163265306123,
|
||||
"acc_norm_stderr": 0.025801283475090506
|
||||
},
|
||||
"harness|hendrycksTest-sociology|5": {
|
||||
"acc": 0.24378109452736318,
|
||||
"acc_stderr": 0.03036049015401465,
|
||||
"acc_norm": 0.24378109452736318,
|
||||
"acc_norm_stderr": 0.03036049015401465
|
||||
},
|
||||
"harness|hendrycksTest-us_foreign_policy|5": {
|
||||
"acc": 0.24,
|
||||
"acc_stderr": 0.04292346959909281,
|
||||
"acc_norm": 0.24,
|
||||
"acc_norm_stderr": 0.04292346959909281
|
||||
},
|
||||
"harness|hendrycksTest-virology|5": {
|
||||
"acc": 0.22289156626506024,
|
||||
"acc_stderr": 0.03240004825594687,
|
||||
"acc_norm": 0.22289156626506024,
|
||||
"acc_norm_stderr": 0.03240004825594687
|
||||
},
|
||||
"harness|hendrycksTest-world_religions|5": {
|
||||
"acc": 0.3216374269005848,
|
||||
"acc_stderr": 0.03582529442573122,
|
||||
"acc_norm": 0.3216374269005848,
|
||||
"acc_norm_stderr": 0.03582529442573122
|
||||
},
|
||||
"harness|truthfulqa:mc|0": {
|
||||
"mc1": 0.24112607099143207,
|
||||
"mc1_stderr": 0.014974827279752334,
|
||||
"mc2": 0.3762297840067963,
|
||||
"mc2_stderr": 0.01445991036363257
|
||||
},
|
||||
"harness|winogrande|5": {
|
||||
"acc": 0.5153906866614049,
|
||||
"acc_stderr": 0.014045826789783668
|
||||
},
|
||||
"harness|gsm8k|5": {
|
||||
"acc": 0.006823351023502654,
|
||||
"acc_stderr": 0.0022675371022544823
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
```
|
||||
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
|
||||
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_Sharathhebbar24__math_gpt2_sft)
|
||||
|
||||
| Metric |Value|
|
||||
|---------------------------------|----:|
|
||||
|Avg. |28.03|
|
||||
|AI2 Reasoning Challenge (25-Shot)|22.87|
|
||||
|HellaSwag (10-Shot) |30.41|
|
||||
|MMLU (5-Shot) |25.06|
|
||||
|TruthfulQA (0-shot) |37.62|
|
||||
|Winogrande (5-shot) |51.54|
|
||||
|GSM8k (5-shot) | 0.68|
|
||||
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"_name_or_path": "Sharathhebbar24/math_gpt2",
|
||||
"activation_function": "gelu_new",
|
||||
"architectures": [
|
||||
"GPT2LMHeadModel"
|
||||
],
|
||||
"attn_pdrop": 0.1,
|
||||
"bos_token_id": 50256,
|
||||
"embd_pdrop": 0.1,
|
||||
"eos_token_id": 50256,
|
||||
"initializer_range": 0.02,
|
||||
"layer_norm_epsilon": 1e-05,
|
||||
"model_type": "gpt2",
|
||||
"n_ctx": 1024,
|
||||
"n_embd": 768,
|
||||
"n_head": 12,
|
||||
"n_inner": null,
|
||||
"n_layer": 12,
|
||||
"n_positions": 1024,
|
||||
"reorder_and_upcast_attn": false,
|
||||
"resid_pdrop": 0.1,
|
||||
"scale_attn_by_inverse_layer_idx": false,
|
||||
"scale_attn_weights": true,
|
||||
"summary_activation": null,
|
||||
"summary_first_dropout": 0.1,
|
||||
"summary_proj_to_labels": true,
|
||||
"summary_type": "cls_index",
|
||||
"summary_use_proj": true,
|
||||
"task_specific_params": {
|
||||
"text-generation": {
|
||||
"do_sample": true,
|
||||
"max_length": 50
|
||||
}
|
||||
},
|
||||
"torch_dtype": "float32",
|
||||
"transformers_version": "4.39.3",
|
||||
"use_cache": true,
|
||||
"vocab_size": 50257
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"_from_model_config": true,
|
||||
"bos_token_id": 50256,
|
||||
"eos_token_id": 50256,
|
||||
"transformers_version": "4.39.3"
|
||||
}
|
||||
+50001
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:76e4cb5e488f9e194cf936ccea0fa8fdbb2fc45f19a6bf7d05526f744c96146a
|
||||
size 497774208
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"bos_token": {
|
||||
"content": "<|endoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"eos_token": {
|
||||
"content": "<|endoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"pad_token": "<|endoftext|>",
|
||||
"unk_token": {
|
||||
"content": "<|endoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
}
|
||||
}
|
||||
+100310
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"add_prefix_space": false,
|
||||
"added_tokens_decoder": {
|
||||
"50256": {
|
||||
"content": "<|endoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
}
|
||||
},
|
||||
"bos_token": "<|endoftext|>",
|
||||
"clean_up_tokenization_spaces": true,
|
||||
"eos_token": "<|endoftext|>",
|
||||
"model_max_length": 1024,
|
||||
"pad_token": "<|endoftext|>",
|
||||
"tokenizer_class": "GPT2Tokenizer",
|
||||
"unk_token": "<|endoftext|>"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"!":0,"\"":1,"#":2,"$":3,"%":4,"&":5,"'":6,"(":7,")":8,"*":9,"+":10,",":11,"-":12,".":13,"/":14,"0":15,"1":16,"2":17,"3":18,"4":19,"5":20,"6":21,"7":22,"8":23,"9":24,":":25,";":26,"<":27,"=":28,">":29,"?":30,"@":31,"A":32,"B":33,"C":34,"D":35,"E":36,"F":37,"G":38,"H":39,"I":40,"J":41,"K":42,"L":43,"M":44,"N":45,"O":46,"P":47,"Q":48,"R":49,"S":50,"T":51,"U":52,"V":53,"W":54,"X":55,"Y":56,"Z":57,"[":58,"\\":59,"]":60,"^":61,"_":62,"`":63,"a":64,"b":65,"c":66,"d":67,"e":68,"f":69,"g":70,"h":71,"i":72,"j":73,"k":74,"l":75,"m":76,"n":77,"o":78,"p":79,"q":80,"r":81,"s":82,"t":83,"u":84,"v":85,"w":86,"x":87,"y":88,"z":89,"{":90,"|":91,"}":92,"~":93,"¡":94,"¢":95,"£":96,"¤":97,"¥":98,"¦":99,"§":100,"¨":101,"©":102,"ª":103,"«":104,"¬":105,"®":106,"¯":107,"°":108,"±":109,"²":110,"³":111,"´":112,"µ":113,"¶":114,"·":115,"¸":116,"¹":117,"º":118,"»":119,"¼":120,"½":121,"¾":122,"¿":123,"À":124,"Á":125,"Â":126,"Ã":127,"Ä":128,"Å":129,"Æ":130,"Ç":131,"È":132,"É":133,"Ê":134,"Ë":135,"Ì":136,"Í":137,"Î":138,"Ï":139,"Ð":140,"Ñ":141,"Ò":142,"Ó":143,"Ô":144,"Õ":145,"Ö":146,"×":147,"Ø":148,"Ù":149,"Ú":150,"Û":151,"Ü":152,"Ý":153,"Þ":154,"ß":155,"à":156,"á":157,"â":158,"ã":159,"ä":160,"å":161,"æ":162,"ç":163,"è":164,"é":165,"ê":166,"ë":167,"ì":168,"í":169,"î":170,"ï":171,"ð":172,"ñ":173,"ò":174,"ó":175,"ô":176,"õ":177,"ö":178,"÷":179,"ø":180,"ù":181,"ú":182,"û":183,"ü":184,"ý":185,"þ":186,"ÿ":187,"Ā":188,"ā":189,"Ă":190,"ă":191,"Ą":192,"ą":193,"Ć":194,"ć":195,"Ĉ":196,"ĉ":197,"Ċ":198,"ċ":199,"Č":200,"č":201,"Ď":202,"ď":203,"Đ":204,"đ":205,"Ē":206,"ē":207,"Ĕ":208,"ĕ":209,"Ė":210,"ė":211,"Ę":212,"ę":213,"Ě":214,"ě":215,"Ĝ":216,"ĝ":217,"Ğ":218,"ğ":219,"Ġ":220,"ġ":221,"Ģ":222,"ģ":223,"Ĥ":224,"ĥ":225,"Ħ":226,"ħ":227,"Ĩ":228,"ĩ":229,"Ī":230,"ī":231,"Ĭ":232,"ĭ":233,"Į":234,"į":235,"İ":236,"ı":237,"IJ":238,"ij":239,"Ĵ":240,"ĵ":241,"Ķ":242,"ķ":243,"ĸ":244,"Ĺ":245,"ĺ":246,"Ļ":247,"ļ":248,"Ľ":249,"ľ":250,"Ŀ":251,"ŀ":252,"Ł":253,"ł":254,"Ń":255,"Ġt":256,"Ġa":257,"he":258,"in":259,"re":260,"on":261,"Ġthe":262,"er":263,"Ġs":264,"at":265,"Ġw":266,"Ġo":267,"en":268,"Ġc":269,"it":270,"is":271,"an":272,"or":273,"es":274,"Ġb":275,"ed":276,"Ġf":277,"ing":278,"Ġp":279,"ou":280,"Ġan":281,"al":282,"ar":283,"Ġto":284,"Ġm":285,"Ġof":286,"Ġin":287,"Ġd":288,"Ġh":289,"Ġand":290,"ic":291,"as":292,"le":293,"Ġth":294,"ion":295,"om":296,"ll":297,"ent":298,"Ġn":299,"Ġl":300,"st":301,"Ġre":302,"ve":303,"Ġe":304,"ro":305,"ly":306,"Ġbe":307,"Ġg":308,"ĠT":309,"ct":310,"ĠS":311,"id":312,"ot":313,"ĠI":314,"ut":315,"et":316,"ĠA":317,"Ġis":318,"Ġon":319,"im":320,"am":321,"ow":322,"ay":323,"ad":324,"se":325,"Ġthat":326,"ĠC":327,"ig":328,"Ġfor":329,"ac":330,"Ġy":331,"ver":332,"ur":333,"Ġu":334,"ld":335,"Ġst":336,"ĠM":337,"'s":338,"Ġhe":339,"Ġit":340,"ation":341,"ith":342,"ir":343,"ce":344,"Ġyou":345,"il":346,"ĠB":347,"Ġwh":348,"ol":349,"ĠP":350,"Ġwith":351,"Ġ1":352,"ter":353,"ch":354,"Ġas":355,"Ġwe":356,"Ġ(":357,"nd":358,"ill":359,"ĠD":360,"if":361,"Ġ2":362,"ag":363,"ers":364,"ke":365,"Ġ\"":366,"ĠH":367,"em":368,"Ġcon":369,"ĠW":370,"ĠR":371,"her":372,"Ġwas":373,"Ġr":374,"od":375,"ĠF":376,"ul":377,"ate":378,"Ġat":379,"ri":380,"pp":381,"ore":382,"ĠThe":383,"Ġse":384,"us":385,"Ġpro":386,"Ġha":387,"um":388,"Ġare":389,"Ġde":390,"ain":391,"and":392,"Ġor":393,"igh":394,"est":395,"ist":396,"ab":397,"rom":398,"ĠN":399,"th":400,"Ġcom":401,"ĠG":402,"un":403,"op":404,"00":405,"ĠL":406,"Ġnot":407,"ess":408,"Ġex":409,"Ġv":410,"res":411,"ĠE":412,"ew":413,"ity":414,"ant":415,"Ġby":416,"el":417,"os":418,"ort":419,"oc":420,"qu":421,"Ġfrom":422,"Ġhave":423,"Ġsu":424,"ive":425,"ould":426,"Ġsh":427,"Ġthis":428,"nt":429,"ra":430,"pe":431,"ight":432,"art":433,"ment":434,"Ġal":435,"ust":436,"end":437,"--":438,"all":439,"ĠO":440,"ack":441,"Ġch":442,"Ġle":443,"ies":444,"red":445,"ard":446,"âĢ":447,"out":448,"ĠJ":449,"Ġab":450,"ear":451,"iv":452,"ally":453,"our":454,"ost":455,"gh":456,"pt":457,"Ġpl":458,"ast":459,"Ġcan":460,"ak":461,"ome":462,"ud":463,"The":464,"Ġhis":465,"Ġdo":466,"Ġgo":467,"Ġhas":468,"ge":469,"'t":470,"ĠU":471,"rou":472,"Ġsa":473,"Ġj":474,"Ġbut":475,"Ġwor":476,"Ġall":477,"ect":478,"Ġk":479,"ame":480,"Ġwill":481,"ok":482,"Ġwhe":483,"Ġthey":484,"ide":485,"01":486,"ff":487,"ich":488,"pl":489,"ther":490,"Ġtr":491,"..":492,"Ġint":493,"ie":494,"ure":495,"age":496,"Ġne":497,"ial":498,"ap":499,"ine":500,"ice":501,"Ġme":502,"Ġout":503,"ans":504,"one":505,"ong":506,"ions":507,"Ġwho":508,"ĠK":509,"Ġup":510,"Ġtheir":511,"Ġad":512,"Ġ3":513,"Ġus":514,"ated":515,"ous":516,"Ġmore":517,"ue":518,"og":519,"ĠSt":520,"ind":521,"ike":522,"Ġso":523,"ime":524,"per":525,".\"":526,"ber":527,"iz":528,"act":529,"Ġone":530,"Ġsaid":531,"Ġ-":532,"are":533,"Ġyour":534,"cc":535,"ĠTh":536,"Ġcl":537,"ep":538,"ake":539,"able":540,"ip"Line truncated
|
||||
Reference in new issue
Block a user