Text Classification
Transformers
Safetensors
English
firstname_gender
feature-extraction
gender-classification
first-name
causal-lm
spiceechat
custom_code
Instructions to use SpiceeChat/Genre-Classifier-1-20M-BASE-BF16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SpiceeChat/Genre-Classifier-1-20M-BASE-BF16 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SpiceeChat/Genre-Classifier-1-20M-BASE-BF16", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SpiceeChat/Genre-Classifier-1-20M-BASE-BF16", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "model_type": "firstname_gender", | |
| "architectures": [ | |
| "FirstNameGenderForCausalLM" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "modeling_firstname_gender.FirstNameGenderConfig", | |
| "AutoModel": "modeling_firstname_gender.FirstNameGenderForCausalLM", | |
| "AutoModelForCausalLM": "modeling_firstname_gender.FirstNameGenderForCausalLM" | |
| }, | |
| "vocab_size": 32768, | |
| "ctx_len": 20, | |
| "max_position_embeddings": 20, | |
| "n_layer": 4, | |
| "n_head": 4, | |
| "n_embd": 384, | |
| "hidden_size": 384, | |
| "num_hidden_layers": 4, | |
| "num_attention_heads": 4, | |
| "dropout": 0.0, | |
| "pad_token_id": 0, | |
| "F_ID": 42, | |
| "M_ID": 49, | |
| "attention_backend": "sage", | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "custom" | |
| } |