Instructions to use eclec/patentClassificationLongFormer3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use eclec/patentClassificationLongFormer3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="eclec/patentClassificationLongFormer3")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("eclec/patentClassificationLongFormer3") model = AutoModelForSequenceClassification.from_pretrained("eclec/patentClassificationLongFormer3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
update model card README.md
Browse files
README.md
CHANGED
|
@@ -17,9 +17,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 17 |
|
| 18 |
This model is a fine-tuned version of [eclec/patentClassificationLongFormer2](https://huggingface.co/eclec/patentClassificationLongFormer2) on the None dataset.
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
-
- Loss: 0.
|
| 21 |
-
- Accuracy: 0.
|
| 22 |
-
- F1: 0.
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
@@ -54,9 +54,9 @@ The following hyperparameters were used during training:
|
|
| 54 |
|
| 55 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 56 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 57 |
-
|
|
| 58 |
-
|
|
| 59 |
-
| 0.
|
| 60 |
|
| 61 |
|
| 62 |
### Framework versions
|
|
|
|
| 17 |
|
| 18 |
This model is a fine-tuned version of [eclec/patentClassificationLongFormer2](https://huggingface.co/eclec/patentClassificationLongFormer2) on the None dataset.
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 0.4056
|
| 21 |
+
- Accuracy: 0.8115
|
| 22 |
+
- F1: 0.5806
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
|
|
| 54 |
|
| 55 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 56 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 57 |
+
| 0.4232 | 1.0 | 1107 | 0.4202 | 0.8041 | 0.5957 |
|
| 58 |
+
| 0.3753 | 2.0 | 2215 | 0.4056 | 0.8115 | 0.5806 |
|
| 59 |
+
| 0.3157 | 3.0 | 3321 | 0.4318 | 0.8073 | 0.5949 |
|
| 60 |
|
| 61 |
|
| 62 |
### Framework versions
|