Instructions to use CodeIsAbstract/HybridModelScratch_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CodeIsAbstract/HybridModelScratch_2 with Transformers:
# Load model directly from transformers import HybridFourierLM model = HybridFourierLM.from_pretrained("CodeIsAbstract/HybridModelScratch_2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| library_name: transformers | |
| tags: | |
| - generated_from_trainer | |
| metrics: | |
| - accuracy | |
| model-index: | |
| - name: HybridModelScratch_2 | |
| 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. --> | |
| # HybridModelScratch_2 | |
| This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 3.9696 | |
| - Accuracy: 0.3206 | |
| ## 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.001 | |
| - train_batch_size: 64 | |
| - eval_batch_size: 16 | |
| - seed: 42 | |
| - gradient_accumulation_steps: 4 | |
| - total_train_batch_size: 256 | |
| - 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: 150 | |
| - training_steps: 1000 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Accuracy | | |
| |:-------------:|:-----:|:----:|:---------------:|:--------:| | |
| | 17.8605 | 0.5 | 500 | 4.3490 | 0.2816 | | |
| | 16.0566 | 1.0 | 1000 | 3.9696 | 0.3206 | | |
| ### Framework versions | |
| - Transformers 4.56.0 | |
| - Pytorch 2.8.0+cu129 | |
| - Datasets 5.0.0 | |
| - Tokenizers 0.22.0 | |