Text Classification
Transformers
PyTorch
TensorBoard
Safetensors
distilbert
text-embeddings-inference
Instructions to use ebrigham/EYY-Topic-Classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ebrigham/EYY-Topic-Classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ebrigham/EYY-Topic-Classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ebrigham/EYY-Topic-Classification") model = AutoModelForSequenceClassification.from_pretrained("ebrigham/EYY-Topic-Classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
First model version
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .DS_StoreAdded
- checkpoint-1000/config.jsonAdded+54
- checkpoint-1000/optimizer.ptAdded+3
- checkpoint-1000/pytorch_model.binAdded+3
- checkpoint-1000/rng_state.pthAdded+3
- checkpoint-1000/scheduler.ptAdded+3
- checkpoint-1000/special_tokens_map.jsonAdded+1
- checkpoint-1000/tokenizer.jsonAdded
- checkpoint-1000/tokenizer_config.jsonAdded+1
- checkpoint-1000/trainer_state.jsonAdded+28
- checkpoint-1000/training_args.binAdded+3
- checkpoint-1000/vocab.txtAdded
- checkpoint-1500/config.jsonAdded+54
- checkpoint-1500/optimizer.ptAdded+3
- checkpoint-1500/pytorch_model.binAdded+3
- checkpoint-1500/rng_state.pthAdded+3
- checkpoint-1500/scheduler.ptAdded+3
- checkpoint-1500/special_tokens_map.jsonAdded+1
- checkpoint-1500/tokenizer.jsonAdded
- checkpoint-1500/tokenizer_config.jsonAdded+1
- checkpoint-1500/trainer_state.jsonAdded+34
- checkpoint-1500/training_args.binAdded+3
- checkpoint-1500/vocab.txtAdded
- checkpoint-2000/config.jsonAdded+54
- checkpoint-2000/optimizer.ptAdded+3
- checkpoint-2000/pytorch_model.binAdded+3
- checkpoint-2000/rng_state.pthAdded+3
- checkpoint-2000/scheduler.ptAdded+3
- checkpoint-2000/special_tokens_map.jsonAdded+1
- checkpoint-2000/tokenizer.jsonAdded
- checkpoint-2000/tokenizer_config.jsonAdded+1
- checkpoint-2000/trainer_state.jsonAdded+40
- checkpoint-2000/training_args.binAdded+3
- checkpoint-2000/vocab.txtAdded
- checkpoint-2500/config.jsonAdded+54
- checkpoint-2500/optimizer.ptAdded+3
- checkpoint-2500/pytorch_model.binAdded+3
- checkpoint-2500/rng_state.pthAdded+3
- checkpoint-2500/scheduler.ptAdded+3
- checkpoint-2500/special_tokens_map.jsonAdded+1
- checkpoint-2500/tokenizer.jsonAdded
- checkpoint-2500/tokenizer_config.jsonAdded+1
- checkpoint-2500/trainer_state.jsonAdded+46
- checkpoint-2500/training_args.binAdded+3
- checkpoint-2500/vocab.txtAdded
- checkpoint-3000/config.jsonAdded+54
- checkpoint-3000/optimizer.ptAdded+3
- checkpoint-3000/pytorch_model.binAdded+3
- checkpoint-3000/rng_state.pthAdded+3
- checkpoint-3000/scheduler.ptAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ "_name_or_path": "distilbert-base-uncased", "activation": "gelu", "architectures": [ "DistilBertForSequenceClassification" ], "attention_dropout": 0.1, "dim": 768, "dropout": 0.1, "hidden_dim": 3072, "id2label": { "0": "Renewable energy", "1": "Sustainability", "2": "Youth and the world", "3": "Digital", "4": "Health and well-being", "5": "Sports", "6": "Culture", "7": "Erasmus", "8": "Employment", "9": "Inclusion", "10": "democratic values", "11": "Policy dialogues", "12": "Participation and Engagement" }, "initializer_range": 0.02, "label2id": { "Culture": 6, "Digital": 3, "Employment": 8, "Erasmus": 7, "Health and well-being": 4, "Inclusion": 9, "Participation and Engagement": 12, "Policy dialogues": 11, "Renewable energy": 0, "Sports": 5, "Sustainability": 1, "Youth and the world": 2, "democratic values": 10 }, "max_position_embeddings": 512, "model_type": "distilbert", "n_heads": 12, "n_layers": 6, "pad_token_id": 0, "qa_dropout": 0.1, "seq_classif_dropout": 0.2, "sinusoidal_pos_embds": false, "tie_weights_": true, "torch_dtype": "float32", "transformers_version": "4.17.0", "vocab_size": 30522}123version https://git-lfs.github.com/spec/v1oid sha256:84486c782916f18f6ce5f42e9e2b786efe1059bc68d2db3fa31195996f388807size 535767649123version https://git-lfs.github.com/spec/v1oid sha256:0b078cb4a315ca1fe4a6f9eaaf7b2089b57deab622cceb4e0a75cb868af770a1size 267894321123version https://git-lfs.github.com/spec/v1oid sha256:9fef4daa5a15555136f8017a0acdcf11d42550007acf44bcf5c3a6bdd3adb4afsize 14503123version https://git-lfs.github.com/spec/v1oid sha256:c4f83269c532c4e9a8ba2ecf1bcab12e0feb2f4e34cf92313a53653115587887size 6231{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}1{"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "distilbert-base-uncased", "tokenizer_class": "DistilBertTokenizer"}12345678910111213141516171819202122232425262728{ "best_metric": null, "best_model_checkpoint": null, "epoch": 0.26666666666666666, "global_step": 1000, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0.13, "learning_rate": 4.3333333333333334e-05, "loss": 2.3961, "step": 500 }, { "epoch": 0.27, "learning_rate": 3.6666666666666666e-05, "loss": 2.378, "step": 1000 } ], "max_steps": 3750, "num_train_epochs": 1, "total_flos": 971532585851712.0, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:441f1d78cb0bef6aa2852bfa2fcc6ec29dd6dbdb7afbd946cf6c8c81ed8eb9c3size 2991123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ "_name_or_path": "distilbert-base-uncased", "activation": "gelu", "architectures": [ "DistilBertForSequenceClassification" ], "attention_dropout": 0.1, "dim": 768, "dropout": 0.1, "hidden_dim": 3072, "id2label": { "0": "Renewable energy", "1": "Sustainability", "2": "Youth and the world", "3": "Digital", "4": "Health and well-being", "5": "Sports", "6": "Culture", "7": "Erasmus", "8": "Employment", "9": "Inclusion", "10": "democratic values", "11": "Policy dialogues", "12": "Participation and Engagement" }, "initializer_range": 0.02, "label2id": { "Culture": 6, "Digital": 3, "Employment": 8, "Erasmus": 7, "Health and well-being": 4, "Inclusion": 9, "Participation and Engagement": 12, "Policy dialogues": 11, "Renewable energy": 0, "Sports": 5, "Sustainability": 1, "Youth and the world": 2, "democratic values": 10 }, "max_position_embeddings": 512, "model_type": "distilbert", "n_heads": 12, "n_layers": 6, "pad_token_id": 0, "qa_dropout": 0.1, "seq_classif_dropout": 0.2, "sinusoidal_pos_embds": false, "tie_weights_": true, "torch_dtype": "float32", "transformers_version": "4.17.0", "vocab_size": 30522}123version https://git-lfs.github.com/spec/v1oid sha256:ebfb84e63f3f588d7fa6656d5fbb540c35ab7a53f05ea6192927418af58adbcdsize 535767649123version https://git-lfs.github.com/spec/v1oid sha256:c682e8d512873ac015fc9b034800c66ecb6835652fc591a74ca6dd344e2be6ebsize 267894321123version https://git-lfs.github.com/spec/v1oid sha256:2b70d16f31c6acc0b13971f0b78e9dcd0d5ed1f43dd68df23c7161ddf1d06f86size 14503123version https://git-lfs.github.com/spec/v1oid sha256:0448fa8959e682269aceffad7c77d85f2d35fb1b603085f58ee828052f2267a5size 6231{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}1{"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "distilbert-base-uncased", "tokenizer_class": "DistilBertTokenizer"}12345678910111213141516171819202122232425262728293031323334{ "best_metric": null, "best_model_checkpoint": null, "epoch": 0.4, "global_step": 1500, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0.13, "learning_rate": 4.3333333333333334e-05, "loss": 2.3961, "step": 500 }, { "epoch": 0.27, "learning_rate": 3.6666666666666666e-05, "loss": 2.378, "step": 1000 }, { "epoch": 0.4, "learning_rate": 3e-05, "loss": 2.3703, "step": 1500 } ], "max_steps": 3750, "num_train_epochs": 1, "total_flos": 1452607784875392.0, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:441f1d78cb0bef6aa2852bfa2fcc6ec29dd6dbdb7afbd946cf6c8c81ed8eb9c3size 2991123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ "_name_or_path": "distilbert-base-uncased", "activation": "gelu", "architectures": [ "DistilBertForSequenceClassification" ], "attention_dropout": 0.1, "dim": 768, "dropout": 0.1, "hidden_dim": 3072, "id2label": { "0": "Renewable energy", "1": "Sustainability", "2": "Youth and the world", "3": "Digital", "4": "Health and well-being", "5": "Sports", "6": "Culture", "7": "Erasmus", "8": "Employment", "9": "Inclusion", "10": "democratic values", "11": "Policy dialogues", "12": "Participation and Engagement" }, "initializer_range": 0.02, "label2id": { "Culture": 6, "Digital": 3, "Employment": 8, "Erasmus": 7, "Health and well-being": 4, "Inclusion": 9, "Participation and Engagement": 12, "Policy dialogues": 11, "Renewable energy": 0, "Sports": 5, "Sustainability": 1, "Youth and the world": 2, "democratic values": 10 }, "max_position_embeddings": 512, "model_type": "distilbert", "n_heads": 12, "n_layers": 6, "pad_token_id": 0, "qa_dropout": 0.1, "seq_classif_dropout": 0.2, "sinusoidal_pos_embds": false, "tie_weights_": true, "torch_dtype": "float32", "transformers_version": "4.17.0", "vocab_size": 30522}123version https://git-lfs.github.com/spec/v1oid sha256:0f63495aaa80622d3b289f25148b5f23eef86833593d14532a4376dc3550f6d7size 535767649123version https://git-lfs.github.com/spec/v1oid sha256:d55f176d355a04206170f3eab61e76614e13bacb898e147dffa6ae39a682d9d7size 267894321123version https://git-lfs.github.com/spec/v1oid sha256:d42da5f1df304e6b0252701fceaa84057bc75e55946f88656b60745112313184size 14503123version https://git-lfs.github.com/spec/v1oid sha256:eb3e3e15e91c6931f61158f085bbf18d801bf4aa96563c336e19563a458f23ffsize 6231{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}1{"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "distilbert-base-uncased", "tokenizer_class": "DistilBertTokenizer"}12345678910111213141516171819202122232425262728293031323334353637383940{ "best_metric": null, "best_model_checkpoint": null, "epoch": 0.5333333333333333, "global_step": 2000, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0.13, "learning_rate": 4.3333333333333334e-05, "loss": 2.3961, "step": 500 }, { "epoch": 0.27, "learning_rate": 3.6666666666666666e-05, "loss": 2.378, "step": 1000 }, { "epoch": 0.4, "learning_rate": 3e-05, "loss": 2.3703, "step": 1500 }, { "epoch": 0.53, "learning_rate": 2.3333333333333336e-05, "loss": 2.3697, "step": 2000 } ], "max_steps": 3750, "num_train_epochs": 1, "total_flos": 1923058670613120.0, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:441f1d78cb0bef6aa2852bfa2fcc6ec29dd6dbdb7afbd946cf6c8c81ed8eb9c3size 2991123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ "_name_or_path": "distilbert-base-uncased", "activation": "gelu", "architectures": [ "DistilBertForSequenceClassification" ], "attention_dropout": 0.1, "dim": 768, "dropout": 0.1, "hidden_dim": 3072, "id2label": { "0": "Renewable energy", "1": "Sustainability", "2": "Youth and the world", "3": "Digital", "4": "Health and well-being", "5": "Sports", "6": "Culture", "7": "Erasmus", "8": "Employment", "9": "Inclusion", "10": "democratic values", "11": "Policy dialogues", "12": "Participation and Engagement" }, "initializer_range": 0.02, "label2id": { "Culture": 6, "Digital": 3, "Employment": 8, "Erasmus": 7, "Health and well-being": 4, "Inclusion": 9, "Participation and Engagement": 12, "Policy dialogues": 11, "Renewable energy": 0, "Sports": 5, "Sustainability": 1, "Youth and the world": 2, "democratic values": 10 }, "max_position_embeddings": 512, "model_type": "distilbert", "n_heads": 12, "n_layers": 6, "pad_token_id": 0, "qa_dropout": 0.1, "seq_classif_dropout": 0.2, "sinusoidal_pos_embds": false, "tie_weights_": true, "torch_dtype": "float32", "transformers_version": "4.17.0", "vocab_size": 30522}123version https://git-lfs.github.com/spec/v1oid sha256:7b6c98103278ce2ed232bb53ea3e65d70be2f88757515ffd1250e92365e15f4fsize 535767649123version https://git-lfs.github.com/spec/v1oid sha256:fb91f3239457c929072151a8c15af8ff8e9e732d9380e862fcbd63691cde3974size 267894321123version https://git-lfs.github.com/spec/v1oid sha256:2952355ad4e46086847dab0a7b91185afd1f274ad431221d3a5448e29d558b0csize 14503123version https://git-lfs.github.com/spec/v1oid sha256:b4c13494368e217239013918c949ddcfa2b6fbb317a7b57308ea9ba0e0c5dfb4size 6231{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}1{"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "distilbert-base-uncased", "tokenizer_class": "DistilBertTokenizer"}12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ "best_metric": null, "best_model_checkpoint": null, "epoch": 0.6666666666666666, "global_step": 2500, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0.13, "learning_rate": 4.3333333333333334e-05, "loss": 2.3961, "step": 500 }, { "epoch": 0.27, "learning_rate": 3.6666666666666666e-05, "loss": 2.378, "step": 1000 }, { "epoch": 0.4, "learning_rate": 3e-05, "loss": 2.3703, "step": 1500 }, { "epoch": 0.53, "learning_rate": 2.3333333333333336e-05, "loss": 2.3697, "step": 2000 }, { "epoch": 0.67, "learning_rate": 1.6666666666666667e-05, "loss": 2.3625, "step": 2500 } ], "max_steps": 3750, "num_train_epochs": 1, "total_flos": 2386686147038592.0, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:441f1d78cb0bef6aa2852bfa2fcc6ec29dd6dbdb7afbd946cf6c8c81ed8eb9c3size 2991123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ "_name_or_path": "distilbert-base-uncased", "activation": "gelu", "architectures": [ "DistilBertForSequenceClassification" ], "attention_dropout": 0.1, "dim": 768, "dropout": 0.1, "hidden_dim": 3072, "id2label": { "0": "Renewable energy", "1": "Sustainability", "2": "Youth and the world", "3": "Digital", "4": "Health and well-being", "5": "Sports", "6": "Culture", "7": "Erasmus", "8": "Employment", "9": "Inclusion", "10": "democratic values", "11": "Policy dialogues", "12": "Participation and Engagement" }, "initializer_range": 0.02, "label2id": { "Culture": 6, "Digital": 3, "Employment": 8, "Erasmus": 7, "Health and well-being": 4, "Inclusion": 9, "Participation and Engagement": 12, "Policy dialogues": 11, "Renewable energy": 0, "Sports": 5, "Sustainability": 1, "Youth and the world": 2, "democratic values": 10 }, "max_position_embeddings": 512, "model_type": "distilbert", "n_heads": 12, "n_layers": 6, "pad_token_id": 0, "qa_dropout": 0.1, "seq_classif_dropout": 0.2, "sinusoidal_pos_embds": false, "tie_weights_": true, "torch_dtype": "float32", "transformers_version": "4.17.0", "vocab_size": 30522}123version https://git-lfs.github.com/spec/v1oid sha256:564282da9443bf9919ad0dcd97f42ce4d3eb548756e38bba18ba21975e98e3b9size 535767649123version https://git-lfs.github.com/spec/v1oid sha256:210cfb40e7f5d7c261dea3fc90ba0e7106f7665e12f9a5d268548615c2638f69size 267894321123version https://git-lfs.github.com/spec/v1oid sha256:7e823145ceff848d3304a03dbfda599b201f8c385e9c3bd781564b37210ac22esize 14503123version https://git-lfs.github.com/spec/v1oid sha256:41625199ddc3548f3fb8e3d4a786a1e52abf1e78aa1125676a9cb9dff1785538size 623.DS_StoreAdded
checkpoint-1000/config.jsonAdded+54
checkpoint-1000/optimizer.ptAdded+3
checkpoint-1000/pytorch_model.binAdded+3
checkpoint-1000/rng_state.pthAdded+3
checkpoint-1000/scheduler.ptAdded+3
checkpoint-1000/special_tokens_map.jsonAdded+1
checkpoint-1000/tokenizer.jsonAdded
checkpoint-1000/tokenizer_config.jsonAdded+1
checkpoint-1000/trainer_state.jsonAdded+28
checkpoint-1000/training_args.binAdded+3
checkpoint-1000/vocab.txtAdded
checkpoint-1500/config.jsonAdded+54
checkpoint-1500/optimizer.ptAdded+3
checkpoint-1500/pytorch_model.binAdded+3
checkpoint-1500/rng_state.pthAdded+3
checkpoint-1500/scheduler.ptAdded+3
checkpoint-1500/special_tokens_map.jsonAdded+1
checkpoint-1500/tokenizer.jsonAdded
checkpoint-1500/tokenizer_config.jsonAdded+1
checkpoint-1500/trainer_state.jsonAdded+34
checkpoint-1500/training_args.binAdded+3
checkpoint-1500/vocab.txtAdded
checkpoint-2000/config.jsonAdded+54
checkpoint-2000/optimizer.ptAdded+3
checkpoint-2000/pytorch_model.binAdded+3
checkpoint-2000/rng_state.pthAdded+3
checkpoint-2000/scheduler.ptAdded+3
checkpoint-2000/special_tokens_map.jsonAdded+1
checkpoint-2000/tokenizer.jsonAdded
checkpoint-2000/tokenizer_config.jsonAdded+1
checkpoint-2000/trainer_state.jsonAdded+40
checkpoint-2000/training_args.binAdded+3
checkpoint-2000/vocab.txtAdded
checkpoint-2500/config.jsonAdded+54
checkpoint-2500/optimizer.ptAdded+3
checkpoint-2500/pytorch_model.binAdded+3
checkpoint-2500/rng_state.pthAdded+3
checkpoint-2500/scheduler.ptAdded+3
checkpoint-2500/special_tokens_map.jsonAdded+1
checkpoint-2500/tokenizer.jsonAdded
checkpoint-2500/tokenizer_config.jsonAdded+1
checkpoint-2500/trainer_state.jsonAdded+46
checkpoint-2500/training_args.binAdded+3
checkpoint-2500/vocab.txtAdded
checkpoint-3000/config.jsonAdded+54
checkpoint-3000/optimizer.ptAdded+3
checkpoint-3000/pytorch_model.binAdded+3
checkpoint-3000/rng_state.pthAdded+3
checkpoint-3000/scheduler.ptAdded+3