Model Card for Model ID

  • ใƒ•ใƒซใ‚นใ‚ฏใƒฉใƒƒใƒใงไบ‹ๅ‰ๅญฆ็ฟ’ใ™ใ‚‹็ทด็ฟ’ใฎใŸใ‚ใซไฝœใฃใŸใƒขใƒ‡ใƒซใ€‚ๅฎŸ็”จ็š„ใชๆ„ๅ‘ณใฏใ„ใฃใ•ใ„ใ‚ใ‚Šใพใ›ใ‚“ใ€‚
  • dataset: mc4-ja ใฎไธ€้ƒจ + wikipedia ใฎไธ€้ƒจใ€‚filter/dedupe ใšใฟใง1.5GBใปใฉใ€‚https://note.com/kan_hatakeyama/n/nbea55ed4498d
  • train: https://github.com/hatakeyama-llm-team/llm/tree/gcp_1_gpu/codes/2_pretrain
  • train framework: megatron-deepspeed
  • os: windows11 + wsl2 + docker (cuda1.18)
  • hardware: CPU AMD Ryzen 9 7900X, mem 64G, rtx4090 VRAM 24G
  • wandb: https://wandb.ai/kzms/kzllm_0/runs/a6427nal?nw=nwuserkzms
  • ๅญฆ็ฟ’ๆ™‚้–“300ๅˆ†ใใ‚‰ใ„
  • GPUใฏ100%ๅˆฉ็”จใจๅ‡บใ‚‹ใŒ้›ปๅŠ›ๆถˆ่ฒป็š„ใซใฏ๏ผ–ๅ‰ฒ็จ‹ๅบฆใ€‚VRAMไฝฟ็”จ้‡ใฏไธปใซglobal_batch_sizeใซไพๅญ˜ใ—ใ€4ใ ใจใŽใ‚ŠใŽใ‚Šใ€‚
  • train_samples: 3000000ใ€€ๆœ€ๅˆใƒ‡ใ‚ซใ™ใŽใฆ cuda OOM error ใŒๅ‡บใŸใฎใงๅฐใ•ใใ—ใŸใ€‚ไฝ•ใŒๅค‰ใ‚ใ‚‹ใ‹ไปŠใฒใจใคใ‚ใ‹ใฃใฆใชใ„ใ€‚
  • CPUใฏ๏ผ‘ๅ‰ฒ็จ‹ๅบฆใ€‚ๅ‡ฆ็†ใŒๅˆ†ๆ•ฃใ•ใ‚Œใฆใ‚‹ใ‹ใ‚“ใ˜ใฏใ—ใชใ„ใ€‚2ใ€3ใ‚ณใ‚ขใใ‚‰ใ„ไฝฟใ†ใ‘ใฉ
  • deepspeed ใฎ่จญๅฎšใง bf16 ใ‚’ true ใซใ™ใ‚‹ใจๅญฆ็ฟ’ๅคฑๆ•—ใ™ใ‚‹ใ€‚ไฝ•ใ‹ไป–ใฎๅญฆ็ฟ’่จญๅฎšใฎ้–ขไฟ‚ใงไฝฟใˆใชใ„ใ€‚fp16 ใฏ okใ€‚
  • tokenizer ใฏ vocab ๆ•ฐ65kใ€‚ใ‹ใชใ‚Šใงใ‹ใ„ใ€‚
  • wandb summary
wandb: Run summary:
wandb:                      Train/Samples/loss_scale 262144.0
wandb:                              Train/Samples/lr 3e-05
wandb:                      Train/Samples/train_loss 3.8399
wandb:                                     iteration 56470
wandb:                                iteration_time 0.3093
wandb:                      iteration_time_vs_tokens 0.0
wandb:                                loss/iteration 56470
wandb:                                  loss/lm loss 3.8399
wandb:          throughput/approx_params_in_billions 0.37099
wandb:           throughput/elapsed_ms_per_iteration 0.3093
wandb:                          throughput/iteration 56470
wandb:                     throughput/iteration-time 0.3093
wandb:                    throughput/samples_per_sec 9.69947
wandb:        throughput/samples_per_sec_per_replica 9.69947
wandb:                             throughput/tflops 53.94309
wandb:             throughput/tokens_per_gpu_per_sec 19864.51923
wandb: throughput/tokens_per_gpu_per_sec_per_replica 19864.51923
wandb:                     throughput/tokens_per_sec 19864.51923
wandb:         throughput/tokens_per_sec_per_replica 19864.51923

Model Details

Model Description

This is the model card of a ๐Ÿค— transformers model that has been pushed on the Hub. This model card has been automatically generated.

  • Developed by: kzmszk
  • Model type: gpt
  • Language(s) (NLP): Ja, En
  • License: MIT
  • Finetuned from model [optional]: None

Model Sources [optional]

Uses

Direct Use

[More Information Needed]

Downstream Use [optional]

[More Information Needed]

Out-of-Scope Use

[More Information Needed]

Bias, Risks, and Limitations

[More Information Needed]

Recommendations

Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.

How to Get Started with the Model

Use the code below to get started with the model.

[More Information Needed]

Training Details

Training Data

[More Information Needed]

Training Procedure

Preprocessing [optional]

[More Information Needed]

Training Hyperparameters

  • Training regime: [More Information Needed]

Speeds, Sizes, Times [optional]

[More Information Needed]

Evaluation

Testing Data, Factors & Metrics

Testing Data

[More Information Needed]

Factors

[More Information Needed]

Metrics

[More Information Needed]

Results

[More Information Needed]

Summary

Model Examination [optional]

[More Information Needed]

Environmental Impact

Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).

  • Hardware Type: [More Information Needed]
  • Hours used: [More Information Needed]
  • Cloud Provider: [More Information Needed]
  • Compute Region: [More Information Needed]
  • Carbon Emitted: [More Information Needed]

Technical Specifications [optional]

Model Architecture and Objective

[More Information Needed]

Compute Infrastructure

[More Information Needed]

Hardware

[More Information Needed]

Software

[More Information Needed]

Citation [optional]

BibTeX:

[More Information Needed]

APA:

[More Information Needed]

Glossary [optional]

[More Information Needed]

More Information [optional]

[More Information Needed]

Model Card Authors [optional]

[More Information Needed]

Model Card Contact

[More Information Needed]

Downloads last month
8
Safetensors
Model size
0.4B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Paper for kzmszk/kzllm1_wiki