Instructions to use fixthemusic/ftm-zone-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fixthemusic/ftm-zone-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="fixthemusic/ftm-zone-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("fixthemusic/ftm-zone-classifier") model = AutoModelForTokenClassification.from_pretrained("fixthemusic/ftm-zone-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse files- config.json +4 -14
- model.safetensors +2 -2
- training_args.bin +1 -1
config.json
CHANGED
|
@@ -21,25 +21,15 @@
|
|
| 21 |
"hidden_activation": "gelu",
|
| 22 |
"hidden_size": 768,
|
| 23 |
"id2label": {
|
| 24 |
-
"0": "
|
| 25 |
-
"1": "
|
| 26 |
-
"2": "AUTHOR",
|
| 27 |
-
"3": "QUOTE_HEADER",
|
| 28 |
-
"4": "QUOTE",
|
| 29 |
-
"5": "SIGNATURE",
|
| 30 |
-
"6": "FORWARD"
|
| 31 |
},
|
| 32 |
"initializer_cutoff_factor": 2.0,
|
| 33 |
"initializer_range": 0.02,
|
| 34 |
"intermediate_size": 1152,
|
| 35 |
"label2id": {
|
| 36 |
-
"
|
| 37 |
-
"
|
| 38 |
-
"GREETING": 1,
|
| 39 |
-
"O": 0,
|
| 40 |
-
"QUOTE": 4,
|
| 41 |
-
"QUOTE_HEADER": 3,
|
| 42 |
-
"SIGNATURE": 5
|
| 43 |
},
|
| 44 |
"layer_norm_eps": 1e-05,
|
| 45 |
"local_attention": 128,
|
|
|
|
| 21 |
"hidden_activation": "gelu",
|
| 22 |
"hidden_size": 768,
|
| 23 |
"id2label": {
|
| 24 |
+
"0": "DISCARD",
|
| 25 |
+
"1": "KEEP"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
},
|
| 27 |
"initializer_cutoff_factor": 2.0,
|
| 28 |
"initializer_range": 0.02,
|
| 29 |
"intermediate_size": 1152,
|
| 30 |
"label2id": {
|
| 31 |
+
"DISCARD": 0,
|
| 32 |
+
"KEEP": 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
},
|
| 34 |
"layer_norm_eps": 1e-05,
|
| 35 |
"local_attention": 128,
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:10871116cf239b89cc6869579188bfe4dd3a0a457ab2181f429e528471a6a6ff
|
| 3 |
+
size 1230141424
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5905
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70c9905e1dac827d178df9ab23cf778e940f6a97ef347dc123774c22363efc90
|
| 3 |
size 5905
|