Instructions to use titanhacker/sequence_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use titanhacker/sequence_classification with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("meta-llama/Llama-3.2-1B") model = PeftModel.from_pretrained(base_model, "titanhacker/sequence_classification") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from titanhacker/sequence_classification: direct link, hf CLI and curl.
- Browser
- Download file 1.65 kB
-
https://huggingface.co/titanhacker/sequence_classification/resolve/main/README.md
- Command line
-
hf download hf://titanhacker/sequence_classification/README.md
-
curl -L -o README.md https://huggingface.co/titanhacker/sequence_classification/resolve/main/README.md
1.65 kB
| library_name: peft | |
| license: llama3.2 | |
| base_model: meta-llama/Llama-3.2-1B | |
| tags: | |
| - generated_from_trainer | |
| model-index: | |
| - name: sequence_classification | |
| 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. --> | |
| # sequence_classification | |
| This model is a fine-tuned version of [meta-llama/Llama-3.2-1B](https://huggingface.co/meta-llama/Llama-3.2-1B) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.8885 | |
| - Pearson: 0.8036 | |
| ## 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.0001 | |
| - train_batch_size: 32 | |
| - eval_batch_size: 32 | |
| - seed: 42 | |
| - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments | |
| - lr_scheduler_type: linear | |
| - num_epochs: 4 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Pearson | | |
| |:-------------:|:-----:|:----:|:---------------:|:-------:| | |
| | 1.3148 | 1.0 | 619 | 0.9956 | 0.7674 | | |
| | 0.9627 | 2.0 | 1238 | 0.8861 | 0.7987 | | |
| | 0.8641 | 3.0 | 1857 | 0.9138 | 0.7965 | | |
| | 0.7651 | 4.0 | 2476 | 0.8885 | 0.8036 | | |
| ### Framework versions | |
| - PEFT 0.14.0 | |
| - Transformers 4.49.0.dev0 | |
| - Pytorch 2.4.0+cu118 | |
| - Datasets 3.2.0 | |
| - Tokenizers 0.21.0 |