初始化项目,由ModelHub XC社区提供模型

Model: aephil/lab7-shakespeare-generator
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-10-13 12:08:18 +08:00
commit a9deebb99f
8 changed files with 245149 additions and 0 deletions

66
README.md Normal file
View File

@@ -0,0 +1,66 @@
---
library_name: transformers
license: apache-2.0
base_model: HuggingFaceTB/SmolLM2-135M
tags:
- generated_from_trainer
model-index:
- name: lab7-shakespeare-generator
results: []
---
<!-- 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. -->
# lab7-shakespeare-generator
This model is a fine-tuned version of [HuggingFaceTB/SmolLM2-135M](https://huggingface.co/HuggingFaceTB/SmolLM2-135M) on an unknown dataset.
It achieves the following results on the evaluation set:
- Loss: 3.2402
## 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.0005
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: cosine
- lr_scheduler_warmup_steps: 50
- num_epochs: 2
### Training results
| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:------:|:----:|:---------------:|
| 3.3220 | 0.2747 | 100 | 3.2996 |
| 3.2670 | 0.5495 | 200 | 3.2597 |
| 3.0610 | 0.8242 | 300 | 3.2052 |
| 2.7010 | 1.0989 | 400 | 3.2456 |
| 2.4893 | 1.3736 | 500 | 3.2413 |
| 2.4860 | 1.6484 | 600 | 3.2417 |
| 2.4518 | 1.9231 | 700 | 3.2405 |
| 2.4518 | 2.0 | 728 | 3.2402 |
### Framework versions
- Transformers 5.13.1
- Pytorch 2.9.1+cu128
- Datasets 5.0.0
- Tokenizers 0.22.2