Instructions to use damand2061/innermore-x-indobertweet-base-uncased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use damand2061/innermore-x-indobertweet-base-uncased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="damand2061/innermore-x-indobertweet-base-uncased")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("damand2061/innermore-x-indobertweet-base-uncased") model = AutoModelForTokenClassification.from_pretrained("damand2061/innermore-x-indobertweet-base-uncased") - Notebooks
- Google Colab
- Kaggle
| { | |
| "_name_or_path": "indolem/indobertweet-base-uncased", | |
| "architectures": [ | |
| "BertForTokenClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "bos_token_id": 0, | |
| "classifier_dropout": null, | |
| "eos_token_ids": 0, | |
| "gradient_checkpointing": false, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 768, | |
| "id2label": { | |
| "0": "O", | |
| "1": "B-MVT", | |
| "2": "B-GEN", | |
| "3": "B-ACT", | |
| "4": "B-DIR", | |
| "5": "B-LOC", | |
| "6": "B-CHAR", | |
| "7": "B-YEAR", | |
| "8": "B-STUD", | |
| "9": "I-MVT", | |
| "10": "I-GEN", | |
| "11": "I-ACT", | |
| "12": "I-DIR", | |
| "13": "I-LOC", | |
| "14": "I-CHAR", | |
| "15": "I-YEAR", | |
| "16": "I-STUD" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "label2id": { | |
| "B-ACT": 3, | |
| "B-CHAR": 6, | |
| "B-DIR": 4, | |
| "B-GEN": 2, | |
| "B-LOC": 5, | |
| "B-MVT": 1, | |
| "B-STUD": 8, | |
| "B-YEAR": 7, | |
| "I-ACT": 11, | |
| "I-CHAR": 14, | |
| "I-DIR": 12, | |
| "I-GEN": 10, | |
| "I-LOC": 13, | |
| "I-MVT": 9, | |
| "I-STUD": 16, | |
| "I-YEAR": 15, | |
| "O": 0 | |
| }, | |
| "layer_norm_eps": 1e-12, | |
| "max_position_embeddings": 512, | |
| "model_type": "bert", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 12, | |
| "output_past": true, | |
| "pad_token_id": 0, | |
| "position_embedding_type": "absolute", | |
| "transformers_version": "4.38.2", | |
| "type_vocab_size": 2, | |
| "use_cache": true, | |
| "vocab_size": 31923 | |
| } | |