Instructions to use mattohan/job-tracker-email-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use mattohan/job-tracker-email-classifier with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-classification', 'mattohan/job-tracker-email-classifier');
Remove onnx/config.json (only model files belong in onnx/)
Browse files- onnx/config.json +0 -41
onnx/config.json
DELETED
|
@@ -1,41 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"_name_or_path": "BAAI/bge-small-en-v1.5",
|
| 3 |
-
"architectures": [
|
| 4 |
-
"BertForSequenceClassification"
|
| 5 |
-
],
|
| 6 |
-
"attention_probs_dropout_prob": 0.1,
|
| 7 |
-
"classifier_dropout": null,
|
| 8 |
-
"hidden_act": "gelu",
|
| 9 |
-
"hidden_dropout_prob": 0.1,
|
| 10 |
-
"hidden_size": 384,
|
| 11 |
-
"id2label": {
|
| 12 |
-
"0": "confirmation",
|
| 13 |
-
"1": "rejection",
|
| 14 |
-
"2": "interview",
|
| 15 |
-
"3": "offer",
|
| 16 |
-
"4": "not_job"
|
| 17 |
-
},
|
| 18 |
-
"label2id": {
|
| 19 |
-
"confirmation": 0,
|
| 20 |
-
"rejection": 1,
|
| 21 |
-
"interview": 2,
|
| 22 |
-
"offer": 3,
|
| 23 |
-
"not_job": 4
|
| 24 |
-
},
|
| 25 |
-
"initializer_range": 0.02,
|
| 26 |
-
"intermediate_size": 1536,
|
| 27 |
-
"layer_norm_eps": 1e-12,
|
| 28 |
-
"max_position_embeddings": 512,
|
| 29 |
-
"model_type": "bert",
|
| 30 |
-
"num_attention_heads": 12,
|
| 31 |
-
"num_hidden_layers": 12,
|
| 32 |
-
"num_labels": 5,
|
| 33 |
-
"pad_token_id": 0,
|
| 34 |
-
"position_embedding_type": "absolute",
|
| 35 |
-
"problem_type": "single_label_classification",
|
| 36 |
-
"torch_dtype": "float32",
|
| 37 |
-
"transformers_version": "4.30.0",
|
| 38 |
-
"type_vocab_size": 2,
|
| 39 |
-
"use_cache": true,
|
| 40 |
-
"vocab_size": 30522
|
| 41 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|