Text Classification
Transformers
Safetensors
PEFT
English
mpnet
patents
green-tech
qlora
sequence-classification
Eval Results (legacy)
text-embeddings-inference
Instructions to use CTB2001/Assignment_3_Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CTB2001/Assignment_3_Model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="CTB2001/Assignment_3_Model")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("CTB2001/Assignment_3_Model") model = AutoModelForSequenceClassification.from_pretrained("CTB2001/Assignment_3_Model", device_map="auto") - PEFT
How to use CTB2001/Assignment_3_Model with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
| { | |
| "architectures": [ | |
| "MPNetForSequenceClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "bos_token_id": 0, | |
| "dtype": "float32", | |
| "eos_token_id": 2, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 768, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "layer_norm_eps": 1e-05, | |
| "max_position_embeddings": 514, | |
| "model_type": "mpnet", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 12, | |
| "pad_token_id": 1, | |
| "problem_type": "single_label_classification", | |
| "relative_attention_num_buckets": 32, | |
| "transformers_version": "4.57.6", | |
| "vocab_size": 30527 | |
| } | |