Text Classification
Transformers
TensorFlow
bert
generated_from_keras_callback
text-embeddings-inference
Instructions to use ImparkTeam/ingilizce5_bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ImparkTeam/ingilizce5_bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ImparkTeam/ingilizce5_bert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ImparkTeam/ingilizce5_bert") model = AutoModelForSequenceClassification.from_pretrained("ImparkTeam/ingilizce5_bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from ImparkTeam/ingilizce5_bert: direct link, hf CLI and curl.
- Browser
- Download file 2.16 kB
-
https://huggingface.co/ImparkTeam/ingilizce5_bert/resolve/main/config.json
- Command line
-
hf download hf://ImparkTeam/ingilizce5_bert/config.json
-
curl -L -o config.json https://huggingface.co/ImparkTeam/ingilizce5_bert/resolve/main/config.json
2.16 kB
| { | |
| "architectures": [ | |
| "BertForSequenceClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "classifier_dropout": null, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 768, | |
| "id2label": { | |
| "0": "5723", | |
| "1": "5728", | |
| "2": "5732", | |
| "3": "5736", | |
| "4": "5740", | |
| "5": "5744", | |
| "6": "5752", | |
| "7": "5756", | |
| "8": "5760", | |
| "9": "5768", | |
| "10": "5772", | |
| "11": "5776", | |
| "12": "5780", | |
| "13": "5784", | |
| "14": "5788", | |
| "15": "5792", | |
| "16": "5796", | |
| "17": "5800", | |
| "18": "5804", | |
| "19": "5808", | |
| "20": "5812", | |
| "21": "5816", | |
| "22": "5820", | |
| "23": "5824", | |
| "24": "5828", | |
| "25": "5832", | |
| "26": "5836", | |
| "27": "5844", | |
| "28": "5849", | |
| "29": "5853", | |
| "30": "5861", | |
| "31": "5865", | |
| "32": "5869", | |
| "33": "5873", | |
| "34": "5877", | |
| "35": "5889", | |
| "36": "5901", | |
| "37": "5905", | |
| "38": "5909", | |
| "39": "5913", | |
| "40": "5921", | |
| "41": "5925", | |
| "42": "5930", | |
| "43": "5934", | |
| "44": "5938", | |
| "45": "5942" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "label2id": { | |
| "5723": 0, | |
| "5728": 1, | |
| "5732": 2, | |
| "5736": 3, | |
| "5740": 4, | |
| "5744": 5, | |
| "5752": 6, | |
| "5756": 7, | |
| "5760": 8, | |
| "5768": 9, | |
| "5772": 10, | |
| "5776": 11, | |
| "5780": 12, | |
| "5784": 13, | |
| "5788": 14, | |
| "5792": 15, | |
| "5796": 16, | |
| "5800": 17, | |
| "5804": 18, | |
| "5808": 19, | |
| "5812": 20, | |
| "5816": 21, | |
| "5820": 22, | |
| "5824": 23, | |
| "5828": 24, | |
| "5832": 25, | |
| "5836": 26, | |
| "5844": 27, | |
| "5849": 28, | |
| "5853": 29, | |
| "5861": 30, | |
| "5865": 31, | |
| "5869": 32, | |
| "5873": 33, | |
| "5877": 34, | |
| "5889": 35, | |
| "5901": 36, | |
| "5905": 37, | |
| "5909": 38, | |
| "5913": 39, | |
| "5921": 40, | |
| "5925": 41, | |
| "5930": 42, | |
| "5934": 43, | |
| "5938": 44, | |
| "5942": 45 | |
| }, | |
| "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", | |
| "transformers_version": "4.54.1", | |
| "type_vocab_size": 2, | |
| "use_cache": true, | |
| "vocab_size": 32000 | |
| } | |