Downloads · 30 days
7
19% of all-time downloads
Nielzac/CoM_Small_AIL
CoM_Small_AIL is a text classification model from Nielzac. Use it when you need a label for a piece of text. It is set up for transformers.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
7
19% of all-time downloads
All-time downloads
37
Public
Parameters
109M
876 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
This model was trained from scratch on an unknown dataset. It achieves the following results on the evaluation set:
The model is a fine-tuned version of BERT for text classification on a specific dataset. It takes a text sequence as input and outputs a probability distribution over the possible classes.
The model is intended to be used for text classification tasks similar to the one it was fine-tuned on. It may not perform well on datasets with significantly different characteristics. Additionally, the model may not be suitable for tasks requiring real-time inference due to its relatively large size and computational requirements.
Data From : Nielzac/CoM_Audio_Image_LLM_Generation
The following hyperparameters were used during training:
from transformers import BertForSequenceClassification, TrainingArguments, Trainer, AutoTokenizer, DataCollatorWithPadding
model_id = "bert-base-uncased"
model = BertForSequenceClassification.from_pretrained(model_id, num_labels=3)
tokenizer = AutoTokenizer.from_pretrained(model_id)
def tokenize(batch):
return tokenizer(batch["text"], truncation=True, padding="max_length", max_length=max_source_length, add_special_tokens=True, return_tensors='pt')