Text Classification
Transformers
PyTorch
TensorBoard
funnel
Generated from Trainer
Eval Results (legacy)
Instructions to use jiiyy/funnel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jiiyy/funnel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="jiiyy/funnel")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("jiiyy/funnel") model = AutoModelForSequenceClassification.from_pretrained("jiiyy/funnel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "_name_or_path": "kykim/funnel-kor-base", | |
| "activation_dropout": 0.0, | |
| "architectures": [ | |
| "FunnelForSequenceClassification" | |
| ], | |
| "attention_dropout": 0.1, | |
| "attention_type": "relative_shift", | |
| "block_repeats": [ | |
| 1, | |
| 1, | |
| 1 | |
| ], | |
| "block_sizes": [ | |
| 6, | |
| 6, | |
| 6 | |
| ], | |
| "d_head": 64, | |
| "d_inner": 3072, | |
| "d_model": 768, | |
| "embedding_size": 768, | |
| "hidden_act": "gelu_new", | |
| "hidden_dropout": 0.1, | |
| "initializer_range": 0.1, | |
| "initializer_std": 0.02, | |
| "layer_norm_eps": 1e-09, | |
| "max_position_embeddings": 512, | |
| "model_type": "funnel", | |
| "n_head": 12, | |
| "num_decoder_layers": 2, | |
| "pool_q_only": true, | |
| "pooling_type": "mean", | |
| "problem_type": "single_label_classification", | |
| "rel_attn_type": "factorized", | |
| "separate_cls": true, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.31.0", | |
| "truncate_seq": true, | |
| "type_vocab_size": 3, | |
| "vocab_size": 42000 | |
| } | |