Publish ner-german-4class from soup_de_4.flukes
Browse files- MODEL_LICENSE.md +46 -0
- README.md +23 -0
- config.json +35 -0
- head.safetensors +3 -0
- metadata.json +126 -0
- model.safetensors +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +21 -0
MODEL_LICENSE.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Flukes Noncommercial License with Output-Use Restriction, Version 1.0
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 Alan Akbik
|
| 4 |
+
|
| 5 |
+
## 1. Definitions
|
| 6 |
+
|
| 7 |
+
- **"Model"** means the weights, parameters, architecture, configuration files, and any other materials Licensor makes available under this License.
|
| 8 |
+
- **"Derivative"** means any model, weights, or software created by modifying, fine-tuning, distilling, quantizing, merging, or otherwise adapting the Model, in whole or in part.
|
| 9 |
+
- **"Output"** means any prediction, generation, embedding, classification, ranking, or other result produced by running the Model or a Derivative, whether used as-is or further processed.
|
| 10 |
+
- **"Noncommercial Purpose"** means use not intended for or directed toward commercial advantage or monetary compensation. This includes personal use, academic research, education, and use by charitable, public-research, public-health, environmental, or governmental organizations, without any anticipated commercial application.
|
| 11 |
+
- **"Commercial Purpose"** means any use, distribution, or provision of the Model, a Derivative, or Output that is intended for or directed toward commercial advantage, revenue, or monetary compensation — whether direct or indirect, and whether carried out by You or by any third party to whom You provide access, Output, or a service derived from the Model.
|
| 12 |
+
- **"You"** means the individual or entity exercising rights under this License.
|
| 13 |
+
|
| 14 |
+
## 2. Grant of Rights
|
| 15 |
+
|
| 16 |
+
Subject to the terms below, Licensor grants You a worldwide, royalty-free, non-exclusive, non-sublicensable license to use, copy, modify, and distribute the Model and Derivatives, **solely for Noncommercial Purposes**.
|
| 17 |
+
|
| 18 |
+
## 3. Output and Anti-Circumvention
|
| 19 |
+
|
| 20 |
+
Licensor claims no ownership of Output You generate. However, Output remains subject to this License. You may not:
|
| 21 |
+
|
| 22 |
+
- (a) provide, sell, sublicense, or otherwise make Output available to any third party for that party's Commercial Purpose;
|
| 23 |
+
- (b) use the Model, a Derivative, or Output to offer a product or service — free or paid — to any user or entity engaged in a Commercial Purpose;
|
| 24 |
+
- (c) act as an intermediary — including through a nonprofit, research, personal, or shell account — for the purpose of supplying Model access or Output to a Commercial Purpose user;
|
| 25 |
+
- (d) use technical or contractual workarounds that have the effect of providing Commercial Purpose access to the Model, a Derivative, or Output, regardless of form.
|
| 26 |
+
|
| 27 |
+
## 4. Downstream Obligations
|
| 28 |
+
|
| 29 |
+
Any distribution of the Model or a Derivative must include a complete, unmodified copy of this License. You must obtain each recipient's agreement to the restrictions in Sections 2 and 3 before providing them access.
|
| 30 |
+
|
| 31 |
+
## 5. Attribution
|
| 32 |
+
|
| 33 |
+
Any distribution of the Model or a Derivative must retain the notice:
|
| 34 |
+
*"Flukes © 2026 Alan Akbik. Licensed for noncommercial use only. Full terms: https://github.com/flairNLP/flukes/blob/main/MODEL_LICENSE.md"*
|
| 35 |
+
|
| 36 |
+
## 6. Termination
|
| 37 |
+
|
| 38 |
+
Upon Your first violation of this License, Licensor may terminate all Your rights under it immediately upon written notice. Rights may be reinstated at Licensor's discretion if You cure the violation and demonstrate compliance within 30 days of notice.
|
| 39 |
+
|
| 40 |
+
## 7. No Warranty
|
| 41 |
+
|
| 42 |
+
THE MODEL, DERIVATIVES, AND OUTPUT ARE PROVIDED "AS IS," WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. TO THE MAXIMUM EXTENT PERMITTED BY LAW, LICENSOR DISCLAIMS ALL WARRANTIES AND SHALL NOT BE LIABLE FOR ANY DAMAGES ARISING FROM USE OF THE MODEL, DERIVATIVES, OR OUTPUT.
|
| 43 |
+
|
| 44 |
+
## 8. Commercial Licensing
|
| 45 |
+
|
| 46 |
+
To license the Model for Commercial Purposes, contact alan.akbik@gmail.com.
|
README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: flukes-nc-1.0
|
| 4 |
+
license_link: https://github.com/flairNLP/flukes/blob/main/MODEL_LICENSE.md
|
| 5 |
+
tags:
|
| 6 |
+
- flukes
|
| 7 |
+
- ner
|
| 8 |
+
- token-classification
|
| 9 |
+
language:
|
| 10 |
+
- de
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# ner-german-4class
|
| 14 |
+
|
| 15 |
+
4-class German NER model.
|
| 16 |
+
|
| 17 |
+
```python
|
| 18 |
+
from flukes.models import Model
|
| 19 |
+
model = Model.load("hf:flukes-nlp/ner-german-4class")
|
| 20 |
+
```
|
| 21 |
+
|
| 22 |
+
Noncommercial use only. See [MODEL_LICENSE](https://github.com/flairNLP/flukes/blob/main/MODEL_LICENSE.md) for full terms.
|
| 23 |
+
Commercial licensing: alan.akbik@gmail.com
|
config.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"DebertaV2Model"
|
| 4 |
+
],
|
| 5 |
+
"attention_probs_dropout_prob": 0.1,
|
| 6 |
+
"bos_token_id": null,
|
| 7 |
+
"dtype": "float32",
|
| 8 |
+
"eos_token_id": null,
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.1,
|
| 11 |
+
"hidden_size": 768,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 3072,
|
| 14 |
+
"layer_norm_eps": 1e-07,
|
| 15 |
+
"legacy": true,
|
| 16 |
+
"max_position_embeddings": 512,
|
| 17 |
+
"max_relative_positions": -1,
|
| 18 |
+
"model_type": "deberta-v2",
|
| 19 |
+
"num_attention_heads": 12,
|
| 20 |
+
"num_hidden_layers": 12,
|
| 21 |
+
"pad_token_id": 0,
|
| 22 |
+
"pooler_dropout": 0,
|
| 23 |
+
"pooler_hidden_act": "gelu",
|
| 24 |
+
"pooler_hidden_size": 768,
|
| 25 |
+
"pos_att_type": [
|
| 26 |
+
"c2p",
|
| 27 |
+
"p2c"
|
| 28 |
+
],
|
| 29 |
+
"position_biased_input": false,
|
| 30 |
+
"relative_attention": true,
|
| 31 |
+
"tie_word_embeddings": true,
|
| 32 |
+
"transformers_version": "5.16.1",
|
| 33 |
+
"type_vocab_size": 0,
|
| 34 |
+
"vocab_size": 50266
|
| 35 |
+
}
|
head.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb13e09f6e037cc51aeece2e89cfc185ee58e0746b96c43c9f53d2393259660d
|
| 3 |
+
size 27844
|
metadata.json
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": 2,
|
| 3 |
+
"class_name": "TokenClassifier",
|
| 4 |
+
"model_name": "ikim-uk-essen/geberta-base",
|
| 5 |
+
"label_list": [
|
| 6 |
+
"O",
|
| 7 |
+
"B-LOC",
|
| 8 |
+
"I-LOC",
|
| 9 |
+
"B-MISC",
|
| 10 |
+
"I-MISC",
|
| 11 |
+
"B-ORG",
|
| 12 |
+
"I-ORG",
|
| 13 |
+
"B-PER",
|
| 14 |
+
"I-PER"
|
| 15 |
+
],
|
| 16 |
+
"target_layer": null,
|
| 17 |
+
"output_layer": "ner",
|
| 18 |
+
"license": "Flukes NC 1.0 \u2014 noncommercial use only. See: https://github.com/flairNLP/flukes/blob/main/MODEL_LICENSE.md",
|
| 19 |
+
"model_args": {
|
| 20 |
+
"window_size": 508,
|
| 21 |
+
"overlap": 127,
|
| 22 |
+
"repair_orphan_tags": true,
|
| 23 |
+
"transitions": [
|
| 24 |
+
[
|
| 25 |
+
0.0,
|
| 26 |
+
0.0,
|
| 27 |
+
-Infinity,
|
| 28 |
+
0.0,
|
| 29 |
+
-Infinity,
|
| 30 |
+
0.0,
|
| 31 |
+
-Infinity,
|
| 32 |
+
0.0,
|
| 33 |
+
-Infinity
|
| 34 |
+
],
|
| 35 |
+
[
|
| 36 |
+
0.0,
|
| 37 |
+
0.0,
|
| 38 |
+
0.0,
|
| 39 |
+
0.0,
|
| 40 |
+
-Infinity,
|
| 41 |
+
0.0,
|
| 42 |
+
-Infinity,
|
| 43 |
+
0.0,
|
| 44 |
+
-Infinity
|
| 45 |
+
],
|
| 46 |
+
[
|
| 47 |
+
0.0,
|
| 48 |
+
0.0,
|
| 49 |
+
0.0,
|
| 50 |
+
0.0,
|
| 51 |
+
-Infinity,
|
| 52 |
+
0.0,
|
| 53 |
+
-Infinity,
|
| 54 |
+
0.0,
|
| 55 |
+
-Infinity
|
| 56 |
+
],
|
| 57 |
+
[
|
| 58 |
+
0.0,
|
| 59 |
+
0.0,
|
| 60 |
+
-Infinity,
|
| 61 |
+
0.0,
|
| 62 |
+
0.0,
|
| 63 |
+
0.0,
|
| 64 |
+
-Infinity,
|
| 65 |
+
0.0,
|
| 66 |
+
-Infinity
|
| 67 |
+
],
|
| 68 |
+
[
|
| 69 |
+
0.0,
|
| 70 |
+
0.0,
|
| 71 |
+
-Infinity,
|
| 72 |
+
0.0,
|
| 73 |
+
0.0,
|
| 74 |
+
0.0,
|
| 75 |
+
-Infinity,
|
| 76 |
+
0.0,
|
| 77 |
+
-Infinity
|
| 78 |
+
],
|
| 79 |
+
[
|
| 80 |
+
0.0,
|
| 81 |
+
0.0,
|
| 82 |
+
-Infinity,
|
| 83 |
+
0.0,
|
| 84 |
+
-Infinity,
|
| 85 |
+
0.0,
|
| 86 |
+
0.0,
|
| 87 |
+
0.0,
|
| 88 |
+
-Infinity
|
| 89 |
+
],
|
| 90 |
+
[
|
| 91 |
+
0.0,
|
| 92 |
+
0.0,
|
| 93 |
+
-Infinity,
|
| 94 |
+
0.0,
|
| 95 |
+
-Infinity,
|
| 96 |
+
0.0,
|
| 97 |
+
0.0,
|
| 98 |
+
0.0,
|
| 99 |
+
-Infinity
|
| 100 |
+
],
|
| 101 |
+
[
|
| 102 |
+
0.0,
|
| 103 |
+
0.0,
|
| 104 |
+
-Infinity,
|
| 105 |
+
0.0,
|
| 106 |
+
-Infinity,
|
| 107 |
+
0.0,
|
| 108 |
+
-Infinity,
|
| 109 |
+
0.0,
|
| 110 |
+
0.0
|
| 111 |
+
],
|
| 112 |
+
[
|
| 113 |
+
0.0,
|
| 114 |
+
0.0,
|
| 115 |
+
-Infinity,
|
| 116 |
+
0.0,
|
| 117 |
+
-Infinity,
|
| 118 |
+
0.0,
|
| 119 |
+
-Infinity,
|
| 120 |
+
0.0,
|
| 121 |
+
0.0
|
| 122 |
+
]
|
| 123 |
+
]
|
| 124 |
+
},
|
| 125 |
+
"storage_dtype": "float16"
|
| 126 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e6f51c0341b0d02ce645d507b10de60988e92131f607f5336ec72861ed3e51cd
|
| 3 |
+
size 277270072
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": true,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "[CLS]",
|
| 5 |
+
"clean_up_tokenization_spaces": true,
|
| 6 |
+
"cls_token": "[CLS]",
|
| 7 |
+
"do_lower_case": false,
|
| 8 |
+
"eos_token": "[SEP]",
|
| 9 |
+
"is_local": true,
|
| 10 |
+
"local_files_only": false,
|
| 11 |
+
"mask_token": "[MASK]",
|
| 12 |
+
"max_len": 512,
|
| 13 |
+
"model_max_length": 512,
|
| 14 |
+
"pad_token": "[PAD]",
|
| 15 |
+
"sep_token": "[SEP]",
|
| 16 |
+
"sp_model_kwargs": {},
|
| 17 |
+
"split_by_punct": false,
|
| 18 |
+
"tokenizer_class": "DebertaV2Tokenizer",
|
| 19 |
+
"unk_id": 3,
|
| 20 |
+
"unk_token": "[UNK]"
|
| 21 |
+
}
|