Instructions to use phucleDio/finetune_cls_vs_content_12class_v10 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use phucleDio/finetune_cls_vs_content_12class_v10 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, PhoBERTMultiTask12 tokenizer = AutoTokenizer.from_pretrained("phucleDio/finetune_cls_vs_content_12class_v10") model = PhoBERTMultiTask12.from_pretrained("phucleDio/finetune_cls_vs_content_12class_v10", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from phucleDio/finetune_cls_vs_content_12class_v10: direct link, hf CLI and curl.
- Browser
- Download file 859 Bytes
-
https://huggingface.co/phucleDio/finetune_cls_vs_content_12class_v10/resolve/main/config.json
- Command line
-
hf download hf://phucleDio/finetune_cls_vs_content_12class_v10/config.json
-
curl -L -o config.json https://huggingface.co/phucleDio/finetune_cls_vs_content_12class_v10/resolve/main/config.json
859 Bytes
| { | |
| "add_cross_attention": false, | |
| "architectures": [ | |
| "PhoBERTMultiTask12" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "bos_token_id": 0, | |
| "classifier_dropout": null, | |
| "dtype": "float32", | |
| "eos_token_id": 2, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 768, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "is_decoder": false, | |
| "layer_norm_eps": 1e-05, | |
| "max_position_embeddings": 258, | |
| "model_type": "roberta", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 12, | |
| "num_labels_task1": 2, | |
| "num_labels_task2": 12, | |
| "pad_token_id": 1, | |
| "position_embedding_type": "absolute", | |
| "problem_type": "single_label_classification", | |
| "tie_word_embeddings": true, | |
| "tokenizer_class": "PhobertTokenizer", | |
| "transformers_version": "5.13.1", | |
| "type_vocab_size": 1, | |
| "use_cache": false, | |
| "vocab_size": 64001 | |
| } | |