Text Classification
Transformers
PyTorch
English
bert
Trained with AutoTrain
text-embeddings-inference
Instructions to use MAsterIt/Classify_2.0-Stable with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MAsterIt/Classify_2.0-Stable with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="MAsterIt/Classify_2.0-Stable")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("MAsterIt/Classify_2.0-Stable") model = AutoModelForSequenceClassification.from_pretrained("MAsterIt/Classify_2.0-Stable", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from MAsterIt/Classify_2.0-Stable: direct link, hf CLI and curl.
- Browser
- Download file 4.43 kB
-
https://huggingface.co/MAsterIt/Classify_2.0-Stable/resolve/refs%2Fpr%2F1/config.json
- Command line
-
hf download hf://MAsterIt/Classify_2.0-Stable@refs/pr/1/config.json
-
curl -L -o config.json https://huggingface.co/MAsterIt/Classify_2.0-Stable/resolve/refs%2Fpr%2F1/config.json
4.43 kB
| { | |
| "_name_or_path": "AutoTrain", | |
| "_num_labels": 7, | |
| "architectures": [ | |
| "BertForSequenceClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "classifier_dropout": null, | |
| "gradient_checkpointing": false, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 768, | |
| "id2label": { | |
| "0": "A television set or television receiver, more commonly called television, TV, TV set, telly, tele, or tube, is a device that combines a tuner, display, loudspeakers, for purpose of viewing and hearing television broadcasts, or as a computer monitor", | |
| "1": "Advertising is the practice and techniques employed to bring attention to a product or service. Advertising aims to put a product or service in the spotlight in hopes of drawing it attention from consumers", | |
| "2": "Google LLC is an American multinational technology company focusing on online advertising, search engine technology, cloud computing, computer software, quantum computing, e-commerce, artificial intelligence, consumer electronics", | |
| "3": "Microsoft Excel is a spreadsheet developed by Microsoft for Windows, macOS, Android, iOS, iPadOS. It features calculation or computation capabilities, graphing tools, pivot tables, a macro programming language called Visual Basic for Applications. Excel forms part of the Microsoft 365 suite of software", | |
| "4": "Microsoft PowerPoint is a presentation program, created by Robert Gaskins and Dennis Austin at a software company named Forethought, Inc. It was released on April 20, 1987, initially for Macintosh computers only. Microsoft acquired PowerPoint for about $14 million three months after it appeared", | |
| "5": "Microsoft Word is a word processor developed by Microsoft. It was first released on October 25, 1983, under name Multi-Tool Word for Xenix systems.", | |
| "6": "YouTube is an American global online video sharing and social media platform headquartered in San Bruno, California, United States. It was launched on February 14, 2005, by Steve Chen, Chad Hurley, and Jawed Karim. It is owned by Google and is second most visited website, after Google Search" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "label2id": { | |
| "A television set or television receiver, more commonly called television, TV, TV set, telly, tele, or tube, is a device that combines a tuner, display, loudspeakers, for purpose of viewing and hearing television broadcasts, or as a computer monitor": 0, | |
| "Advertising is the practice and techniques employed to bring attention to a product or service. Advertising aims to put a product or service in the spotlight in hopes of drawing it attention from consumers": 1, | |
| "Google LLC is an American multinational technology company focusing on online advertising, search engine technology, cloud computing, computer software, quantum computing, e-commerce, artificial intelligence, consumer electronics": 2, | |
| "Microsoft Excel is a spreadsheet developed by Microsoft for Windows, macOS, Android, iOS, iPadOS. It features calculation or computation capabilities, graphing tools, pivot tables, a macro programming language called Visual Basic for Applications. Excel forms part of the Microsoft 365 suite of software": 3, | |
| "Microsoft PowerPoint is a presentation program, created by Robert Gaskins and Dennis Austin at a software company named Forethought, Inc. It was released on April 20, 1987, initially for Macintosh computers only. Microsoft acquired PowerPoint for about $14 million three months after it appeared": 4, | |
| "Microsoft Word is a word processor developed by Microsoft. It was first released on October 25, 1983, under name Multi-Tool Word for Xenix systems.": 5, | |
| "YouTube is an American global online video sharing and social media platform headquartered in San Bruno, California, United States. It was launched on February 14, 2005, by Steve Chen, Chad Hurley, and Jawed Karim. It is owned by Google and is second most visited website, after Google Search": 6 | |
| }, | |
| "layer_norm_eps": 1e-12, | |
| "max_length": 64, | |
| "max_position_embeddings": 512, | |
| "model_type": "bert", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 12, | |
| "pad_token_id": 0, | |
| "padding": "max_length", | |
| "position_embedding_type": "absolute", | |
| "problem_type": "single_label_classification", | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.25.1", | |
| "type_vocab_size": 2, | |
| "use_cache": true, | |
| "vocab_size": 28996 | |
| } | |