Text Classification
Transformers
PyTorch
distilbert
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run maayansharon/climate_text_classification_mini_model 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/maayansharon/climate_text_classification_mini_model. 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/maayansharon/climate_text_classification_mini_model 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 maayansharon/climate_text_classification_mini_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use maayansharon/climate_text_classification_mini_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="maayansharon/climate_text_classification_mini_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("maayansharon/climate_text_classification_mini_model") model = AutoModelForSequenceClassification.from_pretrained("maayansharon/climate_text_classification_mini_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
359bc78
1
Parent(s): a34925e
Training in progress, epoch 1
Browse filesFiles changed (8)
- .gitignoreAdded+1
- config.jsonAdded+33
- pytorch_model.binAdded+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+14
- training_args.binAdded+3
- vocab.txtAdded
1checkpoint-*/123456789101112131415161718192021222324252627282930313233{ "_name_or_path": "distilbert-base-uncased", "activation": "gelu", "architectures": [ "DistilBertForSequenceClassification" ], "attention_dropout": 0.1, "dim": 768, "dropout": 0.1, "hidden_dim": 3072, "id2label": { "0": "NOT_CLIMATE", "1": "CLIMATE" }, "initializer_range": 0.02, "label2id": { "CLIMATE": 1, "NOT_CLIMATE": 0 }, "max_position_embeddings": 512, "model_type": "distilbert", "n_heads": 12, "n_layers": 6, "pad_token_id": 0, "problem_type": "single_label_classification", "qa_dropout": 0.1, "seq_classif_dropout": 0.2, "sinusoidal_pos_embds": false, "tie_weights_": true, "torch_dtype": "float32", "transformers_version": "4.26.1", "vocab_size": 30522}123version https://git-lfs.github.com/spec/v1oid sha256:2119161e5c23484eb90d54d8c124696917921f579559a4a31803cb05c74c31d5size 2678547591234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}1234567891011121314{ "cls_token": "[CLS]", "do_lower_case": true, "mask_token": "[MASK]", "model_max_length": 512, "name_or_path": "distilbert-base-uncased", "pad_token": "[PAD]", "sep_token": "[SEP]", "special_tokens_map_file": null, "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "DistilBertTokenizer", "unk_token": "[UNK]"}123version https://git-lfs.github.com/spec/v1oid sha256:cef21ba70d28aa1a11a2cc8356263cf69002a69838578e34a6e8670936c5dec8size 3503.gitignoreAdded+1
config.jsonAdded+33
pytorch_model.binAdded+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+14
training_args.binAdded+3
vocab.txtAdded