Instructions to use gerbejon/longcoder-html-nodes-fc-classifier-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gerbejon/longcoder-html-nodes-fc-classifier-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="gerbejon/longcoder-html-nodes-fc-classifier-v1")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("gerbejon/longcoder-html-nodes-fc-classifier-v1") model = AutoModelForSequenceClassification.from_pretrained("gerbejon/longcoder-html-nodes-fc-classifier-v1") - Notebooks
- Google Colab
- Kaggle
longcoder-html-nodes-fc-classifier-v1
This model is a fine-tuned version of microsoft/longcoder-base on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 1.4378
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: 2e-05
- train_batch_size: 4
- eval_batch_size: 4
- seed: 42
- optimizer: Use OptimizerNames.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: 3
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.3061 | 1.0 | 160111 | 1.4378 |
| 0.277 | 2.0 | 320222 | 1.5381 |
| 0.1814 | 3.0 | 480333 | 1.6397 |
Framework versions
- Transformers 4.55.0
- Pytorch 2.7.0+cu126
- Datasets 3.6.0
- Tokenizers 0.21.1
- Downloads last month
- 3
Model tree for gerbejon/longcoder-html-nodes-fc-classifier-v1
Base model
microsoft/longcoder-base