transformers safetensors mistral text-generation generated_from_trainer zh license:apache-2.0 autotrain_compatible endpoints_compatible text-generation-inference region:us
---
tags:
- generated_from_trainer
- mistral
model-index:
- name: taiwan-kapok-300M
  results: []
license: apache-2.0
language:
- zh
---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# taiwan-kapok-300M


- Loss: 2.7894

## Model description

More information needed

## Intended uses & limitations

More information needed

## Training and evaluation data

More information needed

## Training procedure

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 0.0006
- train_batch_size: 4
- eval_batch_size: 4
- seed: 42
- distributed_type: multi-GPU
- num_devices: 2
- gradient_accumulation_steps: 64
- total_train_batch_size: 512
- total_eval_batch_size: 8
- optimizer: Adam with betas=(0.9,0.95) and epsilon=0.0001
- lr_scheduler_type: cosine
- lr_scheduler_warmup_steps: 1000
- num_epochs: 5
- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:----:|:---------------:|
| 2.6962        | 3.35  | 5000 | 2.7894          |
### Framework versions
- Transformers 4.35.2
- Pytorch 2.1.2+cu121
- Datasets 2.14.5
- Tokenizers 0.14.1