Text Classification
Transformers
ONNX
English
German
multilingual
email
classification
multi-label
int8
priority
Instructions to use meetfranz/franz-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use meetfranz/franz-models with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="meetfranz/franz-models")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("meetfranz/franz-models", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload email-classifier model files
Browse filesFiles changed (7)
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textemail-classifier/tokenizer.json filter=lfs diff=lfs merge=lfs -text
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ "architectures": [ "BertForSequenceClassification" ], "attention_probs_dropout_prob": 0.1, "classifier_dropout": null, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 384, "id2label": { "0": "IS_URGENT", "1": "NEEDS_REPLY", "2": "HAS_DEADLINE", "3": "IS_ACTIONABLE", "4": "IS_INFORMATIONAL", "5": "IS_AUTOMATED", "6": "IS_NEWSLETTER", "7": "IS_TRANSACTIONAL" }, "initializer_range": 0.02, "intermediate_size": 1536, "label2id": { "IS_URGENT": 0, "NEEDS_REPLY": 1, "HAS_DEADLINE": 2, "IS_ACTIONABLE": 3, "IS_INFORMATIONAL": 4, "IS_AUTOMATED": 5, "IS_NEWSLETTER": 6, "IS_TRANSACTIONAL": 7 }, "layer_norm_eps": 1e-12, "max_position_embeddings": 512, "model_type": "bert", "num_attention_heads": 12, "num_hidden_layers": 12, "pad_token_id": 0, "position_embedding_type": "absolute", "problem_type": "multi_label_classification", "tokenizer_class": "XLMRobertaTokenizer", "torch_dtype": "float32", "transformers_version": "4.51.3", "type_vocab_size": 2, "use_cache": true, "vocab_size": 250037}123version https://git-lfs.github.com/spec/v1oid sha256:f884ba4432180514d3c373b86f83d61577522bb608d31f7ee4b3c934bec08cddsize 118331485123version https://git-lfs.github.com/spec/v1oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865size 5069051123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "cls_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "mask_token": { "content": "<mask>", "lstrip": true, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<pad>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "sep_token": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "unk_token": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123version https://git-lfs.github.com/spec/v1oid sha256:490612e4a914848f7f21f5f3d9ba2c134fed57e91c682dfe21a249d6e0a19633size 17082998123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ "added_tokens_decoder": { "0": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "<pad>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "3": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250001": { "content": "<mask>", "lstrip": true, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "bos_token": "<s>", "clean_up_tokenization_spaces": false, "cls_token": "<s>", "eos_token": "</s>", "extra_special_tokens": {}, "mask_token": "<mask>", "max_length": 256, "model_max_length": 1000000000000000019884624838656, "pad_token": "<pad>", "sep_token": "</s>", "sp_model_kwargs": {}, "stride": 0, "tokenizer_class": "XLMRobertaTokenizer", "truncation_side": "right", "truncation_strategy": "longest_first", "unk_token": "<unk>"}.gitattributes+1
email-classifier/config.jsonAdded+46
email-classifier/model_quantized.onnxAdded+3
email-classifier/sentencepiece.bpe.modelAdded+3
email-classifier/special_tokens_map.jsonAdded+51
email-classifier/tokenizer.jsonAdded+3
email-classifier/tokenizer_config.jsonAdded+60