Text Classification
Transformers
Safetensors
Spanish
English
bert
NLP
Bert
sentiment-analysis
text-embeddings-inference
Run this model with HF Jobs
Run Light-Dav/sentiment-analysis-full-project on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Light-Dav/sentiment-analysis-full-project. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Light-Dav/sentiment-analysis-full-project on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Light-Dav/sentiment-analysis-full-project with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Light-Dav/sentiment-analysis-full-project with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Light-Dav/sentiment-analysis-full-project")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Light-Dav/sentiment-analysis-full-project") model = AutoModelForSequenceClassification.from_pretrained("Light-Dav/sentiment-analysis-full-project", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload 6 files
Browse filesFiles changed (6)
- config.json-1
- model.safetensors+1-1
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+56
- vocab.txtAdded
16 unmodified lines1718192021222316 unmodified lines"num_hidden_layers": 12,"pad_token_id": 0,"position_embedding_type": "absolute","problem_type": "single_label_classification","torch_dtype": "float32","transformers_version": "4.51.3","type_vocab_size": 2,16 unmodified lines17181920212216 unmodified lines"num_hidden_layers": 12,"pad_token_id": 0,"position_embedding_type": "absolute","torch_dtype": "float32","transformers_version": "4.51.3","type_vocab_size": 2,
123version https://git-lfs.github.com/spec/v1oid sha256:d3a56cbfa62fb1546a0efc5c4204eaca9c45d3d1eacf4ac30c1d54c59df17d97size 437958648123version https://git-lfs.github.com/spec/v1oid sha256:c74c56a88eb2d25c12f5d0adad48bc6ffc7bb6c047742e502d38e1b2b5a5fec9size 437958648
1234567{
"cls_token": "[CLS]",
"mask_token": "[MASK]",
"pad_token": "[PAD]",
"sep_token": "[SEP]",
"unk_token": "[UNK]"
}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{
"added_tokens_decoder": {
"0": {
"content": "[PAD]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"100": {
"content": "[UNK]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"101": {
"content": "[CLS]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"102": {
"content": "[SEP]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"103": {
"content": "[MASK]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
}
},
"clean_up_tokenization_spaces": false,
"cls_token": "[CLS]",
"do_lower_case": true,
"extra_special_tokens": {},
"mask_token": "[MASK]",
"model_max_length": 512,
"pad_token": "[PAD]",
"sep_token": "[SEP]",
"strip_accents": null,
"tokenize_chinese_chars": true,
"tokenizer_class": "BertTokenizer",
"unk_token": "[UNK]"
}config.json-1
model.safetensors+1-1
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+56
vocab.txtAdded