Instructions to use suku9/pretrained_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use suku9/pretrained_model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, GPT2ForSMILES tokenizer = AutoTokenizer.from_pretrained("suku9/pretrained_model") model = GPT2ForSMILES.from_pretrained("suku9/pretrained_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from suku9/pretrained_model: direct link, hf CLI and curl.
- Browser
- Download file 1.65 kB
-
https://huggingface.co/suku9/pretrained_model/resolve/main/README.md
- Command line
-
hf download hf://suku9/pretrained_model/README.md
-
curl -L -o README.md https://huggingface.co/suku9/pretrained_model/resolve/main/README.md
1.65 kB
| library_name: transformers | |
| tags: | |
| - generated_from_trainer | |
| model-index: | |
| - name: pretrained_model | |
| 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. --> | |
| # pretrained_model | |
| 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: 0.5383 | |
| ## 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: 1024 | |
| - eval_batch_size: 1024 | |
| - seed: 42 | |
| - optimizer: Use adamw_torch with betas=(0.9,0.95) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments | |
| - lr_scheduler_type: cosine | |
| - lr_scheduler_warmup_steps: 100000 | |
| - num_epochs: 3 | |
| - mixed_precision_training: Native AMP | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | | |
| |:-------------:|:------:|:------:|:---------------:| | |
| | 0.5377 | 0.4546 | 100000 | 0.5496 | | |
| | 0.5313 | 0.9092 | 200000 | 0.5442 | | |
| | 0.5307 | 1.3639 | 300000 | 0.5422 | | |
| | 0.5282 | 1.8185 | 400000 | 0.5406 | | |
| | 0.5266 | 2.2731 | 500000 | 0.5393 | | |
| | 0.5248 | 2.7277 | 600000 | 0.5383 | | |
| ### Framework versions | |
| - Transformers 4.51.1 | |
| - Pytorch 2.6.0+cu124 | |
| - Datasets 3.5.0 | |
| - Tokenizers 0.21.1 | |