Instructions to use eclec/patentClassificationLongFormerTextrank with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use eclec/patentClassificationLongFormerTextrank with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="eclec/patentClassificationLongFormerTextrank")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("eclec/patentClassificationLongFormerTextrank") model = AutoModelForSequenceClassification.from_pretrained("eclec/patentClassificationLongFormerTextrank", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- README.md +10 -10
- pytorch_model.bin +1 -1
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,14 +54,14 @@ The following hyperparameters were used during training:
|
|
| 54 |
|
| 55 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 56 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 57 |
-
| 0.
|
| 58 |
-
| 0.
|
| 59 |
-
| 0.
|
| 60 |
|
| 61 |
|
| 62 |
### Framework versions
|
| 63 |
|
| 64 |
-
- Transformers 4.
|
| 65 |
-
- Pytorch 2.0.
|
| 66 |
-
- Datasets 2.
|
| 67 |
-
- Tokenizers 0.13.
|
|
|
|
| 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.4605
|
| 21 |
+
- Accuracy: 0.7891
|
| 22 |
+
- F1: 0.5698
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
|
|
| 54 |
|
| 55 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 56 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 57 |
+
| 0.484 | 1.0 | 2059 | 0.4607 | 0.7810 | 0.4952 |
|
| 58 |
+
| 0.4358 | 2.0 | 4119 | 0.4476 | 0.7828 | 0.5851 |
|
| 59 |
+
| 0.3661 | 3.0 | 6177 | 0.4605 | 0.7891 | 0.5698 |
|
| 60 |
|
| 61 |
|
| 62 |
### Framework versions
|
| 63 |
|
| 64 |
+
- Transformers 4.32.1
|
| 65 |
+
- Pytorch 2.0.1+cu117
|
| 66 |
+
- Datasets 2.12.0
|
| 67 |
+
- Tokenizers 0.13.2
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1738600369
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0cb15194bf10ffb7f2abffced87c4f1a75f81f0feb1e79c3aeacaa93fd03827b
|
| 3 |
size 1738600369
|