Downloads · 30 days
24
2% of all-time downloads
kenhktsui/nano-phi-115M-control-v0.1
nano-phi-115M-control-v0.1 is a text generation model from kenhktsui. Use it when you need the model to write or continue text. It is set up for transformers.
Inspired by Phi2, and open source small language model attempts like smolllama-101M-GQA. Pre-trained with training 7B token from scratch, with a dataset of 0.6B token. This model acts as a control of kenhktsui/nano-ph…
Downloads · 30 days
24
2% of all-time downloads
All-time downloads
1.4K
Public
Parameters
115M
460 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors460 MB · 99%
From the Hugging Face model README
Inspired by Phi2, and open source small language model attempts like smol_llama-101M-GQA.
Pre-trained with training 7B token from scratch, with a dataset of 0.6B token.
This model acts as a control of kenhktsui/nano-phi-115M-v0.1 which applies quality filter to dataset resulting in small dataset.
It just took 2d 4h to train in Colab with a A100 40GB (~USD$ 100).
It achieves quite competitive results in evaluation given its training token, and training data size.
No alignment has been done yet.
| Metric | Value |
|---|---|
| Avg. | 28.75 |
| ARC (25-shot) | 21.67 |
| HellaSwag (10-shot) | 26.89 |
| MMLU (5-shot) | 24.76 |
| TruthfulQA (0-shot) | 47.69 |
| Winogrande (5-shot) | 51.46 |
| GSM8K (5-shot) | 0.0 |
Details:
hf-causal-experimental (pretrained=/content/lm-evaluation-harness/artifacts/checkpoint-ehgq969i:v13,use_accelerate=false,trust_remote_code=True), limit: None, provide_description: False, num_fewshot: 0, batch_size: 16
| Task | Version | Metric | Value | Stderr | |
|---|---|---|---|---|---|
| arc_easy | 0 | acc | 0.3973 | ± | 0.0100 |
| acc_norm | 0.3531 | ± | 0.0098 |
hf-causal-experimental (pretrained=/content/lm-evaluation-harness/artifacts/checkpoint-ehgq969i:v13,use_accelerate=false,trust_remote_code=True), limit: None, provide_description: False, num_fewshot: 25, batch_size: 16
| Task | Version | Metric | Value | Stderr | |
|---|---|---|---|---|---|
| arc_challenge | 0 | acc | 0.1843 | ± | 0.0113 |
| acc_norm | 0.2167 | ± | 0.0120 |
hf-causal-experimental (pretrained=/content/lm-evaluation-harness/artifacts/checkpoint-ehgq969i:v13,use_accelerate=false,trust_remote_code=True), limit: None, provide_description: False, num_fewshot: 10, batch_size: 16
| Task | Version | Metric | Value | Stderr | |
|---|---|---|---|---|---|
| hellaswag | 0 | acc | 0.2682 | ± | 0.0044 |
| acc_norm | 0.2689 | ± | 0.0044 |
hf-causal-experimental (pretrained=/content/lm-evaluation-harness/artifacts/checkpoint-ehgq969i:v13,use_accelerate=false,trust_remote_code=True), limit: None, provide_description: False, num_fewshot: 0, batch_size: 16
| Task | Version | Metric | Value | Stderr | |
|---|---|---|---|---|---|
| truthfulqa_mc | 1 | mc1 | 0.2619 | ± | 0.0154 |
| mc2 | 0.4769 | ± | 0.0156 |
hf-causal-experimental (pretrained=/content/lm-evaluation-harness/artifacts/checkpoint-ehgq969i:v13,use_accelerate=false,trust_remote_code=True), limit: None, provide_description: False, num_fewshot: 5, batch_size: 16
| Task | Version | Metric | Value | Stderr | |
|---|---|---|---|---|---|
| hendrycksTest-abstract_algebra | 1 | acc | 0.2200 | ± | 0.0416 |
| acc_norm | 0.2200 | ± | 0.0416 | ||
| hendrycksTest-anatomy | 1 | acc | 0.3333 | ± | 0.0407 |
| acc_norm | 0.3333 | ± | 0.0407 | ||
| hendrycksTest-astronomy | 1 | acc | 0.2895 | ± | 0.0369 |
| acc_norm | 0.2895 | ± | 0.0369 | ||
| hendrycksTest-business_ethics | 1 | acc | 0.2000 | ± | 0.0402 |
| acc_norm | 0.2000 | ± | 0.0402 | ||
| hendrycksTest-clinical_knowledge | 1 | acc | 0.2189 | ± | 0.0254 |
| acc_norm | 0.2189 | ± | 0.0254 | ||
| hendrycksTest-college_biology | 1 | acc | 0.2222 | ± | 0.0348 |
| acc_norm | 0.2222 | ± | 0.0348 | ||
| hendrycksTest-college_chemistry | 1 | acc | 0.1700 | ± | 0.0378 |
| acc_norm | 0.1700 | ± | 0.0378 | ||
| hendrycksTest-college_computer_science | 1 | acc | 0.3000 | ± | 0.0461 |
| acc_norm | 0.3000 | ± | 0.0461 | ||
| hendrycksTest-college_mathematics | 1 | acc | 0.2500 | ± | 0.0435 |
| acc_norm | 0.2500 | ± | 0.0435 | ||
| hendrycksTest-college_medicine | 1 | acc | 0.1965 | ± | 0.0303 |
| acc_norm | 0.1965 | ± | 0.0303 | ||
| hendrycksTest-college_physics | 1 | acc | 0.2353 | ± | 0.0422 |
| acc_norm | 0.2353 | ± | 0.0422 | ||
| hendrycksTest-computer_security | 1 | acc | 0.2000 | ± | 0.0402 |
| acc_norm | 0.2000 | ± | 0.0402 | ||
| hendrycksTest-conceptual_physics | 1 | acc | 0.2043 | ± | 0.0264 |
| acc_norm | 0.2043 | ± | 0.0264 | ||
| hendrycksTest-econometrics | 1 | acc | 0.2456 | ± | 0.0405 |
| acc_norm | 0.2456 | ± | 0.0405 | ||
| hendrycksTest-electrical_engineering | 1 | acc | 0.2621 | ± | 0.0366 |
| acc_norm | 0.2621 | ± | 0.0366 | ||
| hendrycksTest-elementary_mathematics | 1 | acc | 0.2566 | ± | 0.0225 |
| acc_norm | 0.2566 | ± | 0.0225 | ||
| hendrycksTest-formal_logic | 1 | acc | 0.1587 | ± | 0.0327 |
| acc_norm | 0.1587 | ± | 0.0327 | ||
| hendrycksTest-global_facts | 1 | acc | 0.1600 | ± | 0.0368 |
| acc_norm | 0.1600 | ± | 0.0368 | ||
| hendrycksTest-high_school_biology | 1 | acc | 0.3226 | ± | 0.0266 |
| acc_norm | 0.3226 | ± | 0.0266 | ||
| hendrycksTest-high_school_chemistry | 1 | acc | 0.2956 | ± | 0.0321 |
| acc_norm | 0.2956 | ± | 0.0321 | ||
| hendrycksTest-high_school_computer_science | 1 | acc | 0.2800 | ± | 0.0451 |
| acc_norm | 0.2800 | ± | 0.0451 | ||
| hendrycksTest-high_school_european_history | 1 | acc | 0.2606 | ± | 0.0343 |
| acc_norm | 0.2606 | ± | 0.0343 | ||
| hendrycksTest-high_school_geography | 1 | acc | 0.2626 | ± | 0.0314 |
| acc_norm | 0.2626 | ± | 0.0314 | ||
| hendrycksTest-high_school_government_and_politics | 1 | acc | 0.2176 | ± | 0.0298 |
| acc_norm | 0.2176 | ± | 0.0298 | ||
| hendrycksTest-high_school_macroeconomics | 1 | acc | 0.2128 | ± | 0.0208 |
| acc_norm | 0.2128 | ± | 0.0208 | ||
| hendrycksTest-high_school_mathematics | 1 | acc | 0.2630 | ± | 0.0268 |
| acc_norm | 0.2630 | ± | 0.0268 | ||
| hendrycksTest-high_school_microeconomics | 1 | acc | 0.2227 | ± | 0.0270 |
| acc_norm | 0.2227 | ± | 0.0270 | ||
| hendrycksTest-high_school_physics | 1 | acc | 0.3046 | ± | 0.0376 |
| acc_norm | 0.3046 | ± | 0.0376 | ||
| hendrycksTest-high_school_psychology | 1 | acc | 0.2055 | ± | 0.0173 |
| acc_norm | 0.2055 | ± | 0.0173 | ||
| hendrycksTest-high_school_statistics | 1 | acc | 0.4815 | ± | 0.0341 |
| acc_norm | 0.4815 | ± | 0.0341 | ||
| hendrycksTest-high_school_us_history | 1 | acc | 0.2059 | ± | 0.0284 |
| acc_norm | 0.2059 | ± | 0.0284 | ||
| hendrycksTest-high_school_world_history | 1 | acc | 0.2574 | ± | 0.0285 |
| acc_norm | 0.2574 | ± | 0.0285 | ||
| hendrycksTest-human_aging | 1 | acc | 0.2063 | ± | 0.0272 |
| acc_norm | 0.2063 | ± | 0.0272 | ||
| hendrycksTest-human_sexuality | 1 | acc | 0.2443 | ± | 0.0377 |
| acc_norm | 0.2443 | ± | 0.0377 | ||
| hendrycksTest-international_law | 1 | acc | 0.2727 | ± | 0.0407 |
| acc_norm | 0.2727 | ± | 0.0407 | ||
| hendrycksTest-jurisprudence | 1 | acc | 0.2130 | ± | 0.0396 |
| acc_norm | 0.2130 | ± | 0.0396 | ||
| hendrycksTest-logical_fallacies | 1 | acc | 0.2515 | ± | 0.0341 |
| acc_norm | 0.2515 | ± | 0.0341 | ||
| hendrycksTest-machine_learning | 1 | acc | 0.2321 | ± | 0.0401 |
| acc_norm | 0.2321 | ± | 0.0401 | ||
| hendrycksTest-management | 1 | acc | 0.2039 | ± | 0.0399 |
| acc_norm | 0.2039 | ± | 0.0399 | ||
| hendrycksTest-marketing | 1 | acc | 0.1966 | ± | 0.0260 |
| acc_norm | 0.1966 | ± | 0.0260 | ||
| hendrycksTest-medical_genetics | 1 | acc | 0.3000 | ± | 0.0461 |
| acc_norm | 0.3000 | ± | 0.0461 | ||
| hendrycksTest-miscellaneous | 1 | acc | 0.2631 | ± | 0.0157 |
| acc_norm | 0.2631 | ± | 0.0157 | ||
| hendrycksTest-moral_disputes | 1 | acc | 0.2457 | ± | 0.0232 |
| acc_norm | 0.2457 | ± | 0.0232 | ||
| hendrycksTest-moral_scenarios | 1 | acc | 0.2682 | ± | 0.0148 |
| acc_norm | 0.2682 | ± | 0.0148 | ||
| hendrycksTest-nutrition | 1 | acc | 0.2451 | ± | 0.0246 |
| acc_norm | 0.2451 | ± | 0.0246 | ||
| hendrycksTest-philosophy | 1 | acc | 0.2605 | ± | 0.0249 |
| acc_norm | 0.2605 | ± | 0.0249 | ||
| hendrycksTest-prehistory | 1 | acc | 0.2932 | ± | 0.0253 |
| acc_norm | 0.2932 | ± | 0.0253 | ||
| hendrycksTest-professional_accounting | 1 | acc | 0.2340 | ± | 0.0253 |
| acc_norm | 0.2340 | ± | 0.0253 | ||
| hendrycksTest-professional_law | 1 | acc | 0.2432 | ± | 0.0110 |
| acc_norm | 0.2432 | ± | 0.0110 | ||
| hendrycksTest-professional_medicine | 1 | acc | 0.4301 | ± | 0.0301 |
| acc_norm | 0.4301 | ± | 0.0301 | ||
| hendrycksTest-professional_psychology | 1 | acc | 0.2369 | ± | 0.0172 |
| acc_norm | 0.2369 | ± | 0.0172 | ||
| hendrycksTest-public_relations | 1 | acc | 0.2091 | ± | 0.0390 |
| acc_norm | 0.2091 | ± | 0.0390 | ||
| hendrycksTest-security_studies | 1 | acc | 0.2408 | ± | 0.0274 |
| acc_norm | 0.2408 | ± | 0.0274 | ||
| hendrycksTest-sociology | 1 | acc | 0.2388 | ± | 0.0301 |
| acc_norm | 0.2388 | ± | 0.0301 | ||
| hendrycksTest-us_foreign_policy | 1 | acc | 0.2600 | ± | 0.0441 |
| acc_norm | 0.2600 | ± | 0.0441 | ||
| hendrycksTest-virology | 1 | acc | 0.2048 | ± | 0.0314 |
| acc_norm | 0.2048 | ± | 0.0314 | ||
| hendrycksTest-world_religions | 1 | acc | 0.2047 | ± | 0.0309 |
| acc_norm | 0.2047 | ± | 0.0309 |
hf-causal-experimental (pretrained=/content/lm-evaluation-harness/artifacts/checkpoint-ehgq969i:v13,use_accelerate=false,trust_remote_code=True), limit: None, provide_description: False, num_fewshot: 5, batch_size: 16
| Task | Version | Metric | Value | Stderr | |
|---|---|---|---|---|---|
| winogrande | 0 | acc | 0.5146 | ± | 0.014 |
hf-causal-experimental (pretrained=/content/lm-evaluation-harness/artifacts/checkpoint-ehgq969i:v13,use_accelerate=false,trust_remote_code=True), limit: None, provide_description: False, num_fewshot: 5, batch_size: 16
| Task | Version | Metric | Value | Stderr | |
|---|---|---|---|---|---|
| gsm8k | 0 | acc | 0 | ± | 0 |
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
Use the code below to get started with the model.
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
BibTeX:
[More Information Needed]
APA:
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]