Token Classification
Transformers
Safetensors
longformer
Generated from Trainer
Eval Results (legacy)
Instructions to use Theoreticallyhugo/longformer-simple with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Theoreticallyhugo/longformer-simple with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Theoreticallyhugo/longformer-simple")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Theoreticallyhugo/longformer-simple") model = AutoModelForTokenClassification.from_pretrained("Theoreticallyhugo/longformer-simple", device_map="auto") - Notebooks
- Google Colab
- Kaggle
trainer: training complete at 2024-02-18 20:35:46.309079.
Browse files- README.md +4 -4
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -4,7 +4,7 @@ base_model: allenai/longformer-base-4096
|
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
datasets:
|
| 7 |
-
-
|
| 8 |
metrics:
|
| 9 |
- accuracy
|
| 10 |
model-index:
|
|
@@ -14,8 +14,8 @@ model-index:
|
|
| 14 |
name: Token Classification
|
| 15 |
type: token-classification
|
| 16 |
dataset:
|
| 17 |
-
name:
|
| 18 |
-
type:
|
| 19 |
config: simple
|
| 20 |
split: test
|
| 21 |
args: simple
|
|
@@ -30,7 +30,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 30 |
|
| 31 |
# longformer-simple
|
| 32 |
|
| 33 |
-
This model is a fine-tuned version of [allenai/longformer-base-4096](https://huggingface.co/allenai/longformer-base-4096) on the
|
| 34 |
It achieves the following results on the evaluation set:
|
| 35 |
- Loss: 0.4315
|
| 36 |
- Claim: {'precision': 0.5943734015345269, 'recall': 0.5465663217309501, 'f1-score': 0.5694682675814751, 'support': 4252.0}
|
|
|
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
datasets:
|
| 7 |
+
- essays_su_g
|
| 8 |
metrics:
|
| 9 |
- accuracy
|
| 10 |
model-index:
|
|
|
|
| 14 |
name: Token Classification
|
| 15 |
type: token-classification
|
| 16 |
dataset:
|
| 17 |
+
name: essays_su_g
|
| 18 |
+
type: essays_su_g
|
| 19 |
config: simple
|
| 20 |
split: test
|
| 21 |
args: simple
|
|
|
|
| 30 |
|
| 31 |
# longformer-simple
|
| 32 |
|
| 33 |
+
This model is a fine-tuned version of [allenai/longformer-base-4096](https://huggingface.co/allenai/longformer-base-4096) on the essays_su_g dataset.
|
| 34 |
It achieves the following results on the evaluation set:
|
| 35 |
- Loss: 0.4315
|
| 36 |
- Claim: {'precision': 0.5943734015345269, 'recall': 0.5465663217309501, 'f1-score': 0.5694682675814751, 'support': 4252.0}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 592324828
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b95bd9dcf8065fca45dfa452ba42044053123cc73eddab5368505ac4419a3581
|
| 3 |
size 592324828
|