Instructions to use robg/speako-cefr-deberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use robg/speako-cefr-deberta with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-classification', 'robg/speako-cefr-deberta');
Upload folder using huggingface_hub
Browse files- added_tokens.json +0 -3
- config.json +0 -51
- model.onnx +3 -0
added_tokens.json
CHANGED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"[MASK]": 128000
|
| 3 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
config.json
CHANGED
|
@@ -1,51 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"architectures": [
|
| 3 |
-
"DebertaV2ForSequenceClassification"
|
| 4 |
-
],
|
| 5 |
-
"attention_probs_dropout_prob": 0.1,
|
| 6 |
-
"hidden_act": "gelu",
|
| 7 |
-
"hidden_dropout_prob": 0.1,
|
| 8 |
-
"hidden_size": 768,
|
| 9 |
-
"id2label": {
|
| 10 |
-
"0": "A1",
|
| 11 |
-
"1": "A2",
|
| 12 |
-
"2": "B1",
|
| 13 |
-
"3": "B2",
|
| 14 |
-
"4": "C1",
|
| 15 |
-
"5": "C2"
|
| 16 |
-
},
|
| 17 |
-
"initializer_range": 0.02,
|
| 18 |
-
"intermediate_size": 3072,
|
| 19 |
-
"label2id": {
|
| 20 |
-
"A1": 0,
|
| 21 |
-
"A2": 1,
|
| 22 |
-
"B1": 2,
|
| 23 |
-
"B2": 3,
|
| 24 |
-
"C1": 4,
|
| 25 |
-
"C2": 5
|
| 26 |
-
},
|
| 27 |
-
"layer_norm_eps": 1e-07,
|
| 28 |
-
"legacy": true,
|
| 29 |
-
"max_position_embeddings": 512,
|
| 30 |
-
"max_relative_positions": -1,
|
| 31 |
-
"model_type": "deberta-v2",
|
| 32 |
-
"norm_rel_ebd": "layer_norm",
|
| 33 |
-
"num_attention_heads": 12,
|
| 34 |
-
"num_hidden_layers": 6,
|
| 35 |
-
"pad_token_id": 0,
|
| 36 |
-
"pooler_dropout": 0,
|
| 37 |
-
"pooler_hidden_act": "gelu",
|
| 38 |
-
"pooler_hidden_size": 768,
|
| 39 |
-
"pos_att_type": [
|
| 40 |
-
"p2c",
|
| 41 |
-
"c2p"
|
| 42 |
-
],
|
| 43 |
-
"position_biased_input": false,
|
| 44 |
-
"position_buckets": 256,
|
| 45 |
-
"relative_attention": true,
|
| 46 |
-
"share_att_key": true,
|
| 47 |
-
"torch_dtype": "float32",
|
| 48 |
-
"transformers_version": "4.55.4",
|
| 49 |
-
"type_vocab_size": 0,
|
| 50 |
-
"vocab_size": 128100
|
| 51 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9402b390b8b34de2a08a22923c7f95d636fc386c896c94cadc44b35db794ece
|
| 3 |
+
size 568058478
|