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)
- checkpoint-1000/config.jsonAdded+60
- 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+60
- 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+60
- 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+60
- 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+60
- checkpoint-3000/optimizer.ptAdded+3
- checkpoint-3000/pytorch_model.binAdded+3
- checkpoint-3000/rng_state.pthAdded+3
- checkpoint-3000/scheduler.ptAdded+3
- checkpoint-3000/special_tokens_map.jsonAdded+1
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ "_name_or_path": "distilbert-base-uncased", "activation": "gelu", "architectures": [ "DistilBertForSequenceClassification" ], "attention_dropout": 0.1, "dim": 768, "dropout": 0.1, "hidden_dim": 3072, "id2label": { "0": "n/a", "1": "culture", "2": "digital", "3": "education", "4": "climate change", "5": "studying abroad", "6": "renewable energy", "7": "policy dialogues", "8": "youth and the world", "9": "natural sustainability", "10": "health and well-being", "11": "employment and inclusion", "12": "european learning mobility", "13": "research and innovation", "14": "participation and engagement", "15": "democratic values" }, "initializer_range": 0.02, "label2id": { "climate change": 4, "culture": 1, "democratic values": 15, "digital": 2, "education": 3, "employment and inclusion": 11, "european learning mobility": 12, "health and well-being": 10, "n/a": 0, "natural sustainability": 9, "participation and engagement": 14, "policy dialogues": 7, "renewable energy": 6, "research and innovation": 13, "studying abroad": 5, "youth and the world": 8 }, "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:95767c578a31d813964609d073c13d4f43ef77ed16950b62c0b5347a9cedb543size 535786209123version https://git-lfs.github.com/spec/v1oid sha256:10850827881f12a59be32bbc3867f9a588cc12fd2ba2faa2c16b6cf9bc79e87esize 267903601123version 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.5673, "step": 500 }, { "epoch": 0.27, "learning_rate": 3.6666666666666666e-05, "loss": 2.5378, "step": 1000 } ], "max_steps": 3750, "num_train_epochs": 1, "total_flos": 971584553370624.0, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:736ff2f74ff7a20eb7c6ec947c546081d7c85fdea93f26ed28c58421d13dcae5size 2991123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ "_name_or_path": "distilbert-base-uncased", "activation": "gelu", "architectures": [ "DistilBertForSequenceClassification" ], "attention_dropout": 0.1, "dim": 768, "dropout": 0.1, "hidden_dim": 3072, "id2label": { "0": "n/a", "1": "culture", "2": "digital", "3": "education", "4": "climate change", "5": "studying abroad", "6": "renewable energy", "7": "policy dialogues", "8": "youth and the world", "9": "natural sustainability", "10": "health and well-being", "11": "employment and inclusion", "12": "european learning mobility", "13": "research and innovation", "14": "participation and engagement", "15": "democratic values" }, "initializer_range": 0.02, "label2id": { "climate change": 4, "culture": 1, "democratic values": 15, "digital": 2, "education": 3, "employment and inclusion": 11, "european learning mobility": 12, "health and well-being": 10, "n/a": 0, "natural sustainability": 9, "participation and engagement": 14, "policy dialogues": 7, "renewable energy": 6, "research and innovation": 13, "studying abroad": 5, "youth and the world": 8 }, "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:7cf9ff84191522e5447829f04efe728f66572742b0fbd31f920b14c2b4240ca7size 535786209123version https://git-lfs.github.com/spec/v1oid sha256:86887fa801e6f8bbcbc4bdcf40345737b21c9c3e79ae79ef3b3dfaf0fc821c07size 267903601123version 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.5673, "step": 500 }, { "epoch": 0.27, "learning_rate": 3.6666666666666666e-05, "loss": 2.5378, "step": 1000 }, { "epoch": 0.4, "learning_rate": 3e-05, "loss": 2.5315, "step": 1500 } ], "max_steps": 3750, "num_train_epochs": 1, "total_flos": 1452685485225984.0, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:736ff2f74ff7a20eb7c6ec947c546081d7c85fdea93f26ed28c58421d13dcae5size 2991123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ "_name_or_path": "distilbert-base-uncased", "activation": "gelu", "architectures": [ "DistilBertForSequenceClassification" ], "attention_dropout": 0.1, "dim": 768, "dropout": 0.1, "hidden_dim": 3072, "id2label": { "0": "n/a", "1": "culture", "2": "digital", "3": "education", "4": "climate change", "5": "studying abroad", "6": "renewable energy", "7": "policy dialogues", "8": "youth and the world", "9": "natural sustainability", "10": "health and well-being", "11": "employment and inclusion", "12": "european learning mobility", "13": "research and innovation", "14": "participation and engagement", "15": "democratic values" }, "initializer_range": 0.02, "label2id": { "climate change": 4, "culture": 1, "democratic values": 15, "digital": 2, "education": 3, "employment and inclusion": 11, "european learning mobility": 12, "health and well-being": 10, "n/a": 0, "natural sustainability": 9, "participation and engagement": 14, "policy dialogues": 7, "renewable energy": 6, "research and innovation": 13, "studying abroad": 5, "youth and the world": 8 }, "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:31623721cc8bfd2cbbf9f3631e42cdfae122c81dad46017f093eedf315b7c201size 535786209123version https://git-lfs.github.com/spec/v1oid sha256:f97510d4dad94469742d76b789f17dcdb5569aea7896c23f7c7900e663afe79asize 267903601123version 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.5673, "step": 500 }, { "epoch": 0.27, "learning_rate": 3.6666666666666666e-05, "loss": 2.5378, "step": 1000 }, { "epoch": 0.4, "learning_rate": 3e-05, "loss": 2.5315, "step": 1500 }, { "epoch": 0.53, "learning_rate": 2.3333333333333336e-05, "loss": 2.5265, "step": 2000 } ], "max_steps": 3750, "num_train_epochs": 1, "total_flos": 1923161535498240.0, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:736ff2f74ff7a20eb7c6ec947c546081d7c85fdea93f26ed28c58421d13dcae5size 2991123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ "_name_or_path": "distilbert-base-uncased", "activation": "gelu", "architectures": [ "DistilBertForSequenceClassification" ], "attention_dropout": 0.1, "dim": 768, "dropout": 0.1, "hidden_dim": 3072, "id2label": { "0": "n/a", "1": "culture", "2": "digital", "3": "education", "4": "climate change", "5": "studying abroad", "6": "renewable energy", "7": "policy dialogues", "8": "youth and the world", "9": "natural sustainability", "10": "health and well-being", "11": "employment and inclusion", "12": "european learning mobility", "13": "research and innovation", "14": "participation and engagement", "15": "democratic values" }, "initializer_range": 0.02, "label2id": { "climate change": 4, "culture": 1, "democratic values": 15, "digital": 2, "education": 3, "employment and inclusion": 11, "european learning mobility": 12, "health and well-being": 10, "n/a": 0, "natural sustainability": 9, "participation and engagement": 14, "policy dialogues": 7, "renewable energy": 6, "research and innovation": 13, "studying abroad": 5, "youth and the world": 8 }, "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:0cccc2dd35edd0d24e9bc1633032b67ca22ee0ff312c22752395536cdb1d533bsize 535786209123version https://git-lfs.github.com/spec/v1oid sha256:9182236caba870a2901ac06fd4043653389423ae2bc0ee4f9a587fb4b9cd7d91size 267903601123version 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.5673, "step": 500 }, { "epoch": 0.27, "learning_rate": 3.6666666666666666e-05, "loss": 2.5378, "step": 1000 }, { "epoch": 0.4, "learning_rate": 3e-05, "loss": 2.5315, "step": 1500 }, { "epoch": 0.53, "learning_rate": 2.3333333333333336e-05, "loss": 2.5265, "step": 2000 }, { "epoch": 0.67, "learning_rate": 1.6666666666666667e-05, "loss": 2.5269, "step": 2500 } ], "max_steps": 3750, "num_train_epochs": 1, "total_flos": 2386813811472384.0, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:736ff2f74ff7a20eb7c6ec947c546081d7c85fdea93f26ed28c58421d13dcae5size 2991123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ "_name_or_path": "distilbert-base-uncased", "activation": "gelu", "architectures": [ "DistilBertForSequenceClassification" ], "attention_dropout": 0.1, "dim": 768, "dropout": 0.1, "hidden_dim": 3072, "id2label": { "0": "n/a", "1": "culture", "2": "digital", "3": "education", "4": "climate change", "5": "studying abroad", "6": "renewable energy", "7": "policy dialogues", "8": "youth and the world", "9": "natural sustainability", "10": "health and well-being", "11": "employment and inclusion", "12": "european learning mobility", "13": "research and innovation", "14": "participation and engagement", "15": "democratic values" }, "initializer_range": 0.02, "label2id": { "climate change": 4, "culture": 1, "democratic values": 15, "digital": 2, "education": 3, "employment and inclusion": 11, "european learning mobility": 12, "health and well-being": 10, "n/a": 0, "natural sustainability": 9, "participation and engagement": 14, "policy dialogues": 7, "renewable energy": 6, "research and innovation": 13, "studying abroad": 5, "youth and the world": 8 }, "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:f2c8032f999df864817e56fe4bab139638b878a80304bb5c19e1b7eeb4da6ad2size 535786209123version https://git-lfs.github.com/spec/v1oid sha256:45b43d136cfce462f5ea5ee146914db119ea04cb7eb5a8109d9f7ace9e78184csize 267903601123version https://git-lfs.github.com/spec/v1oid sha256:7e823145ceff848d3304a03dbfda599b201f8c385e9c3bd781564b37210ac22esize 14503123version https://git-lfs.github.com/spec/v1oid sha256:41625199ddc3548f3fb8e3d4a786a1e52abf1e78aa1125676a9cb9dff1785538size 6231{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}checkpoint-1000/config.jsonAdded+60
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+60
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+60
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+60
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+60
checkpoint-3000/optimizer.ptAdded+3
checkpoint-3000/pytorch_model.binAdded+3
checkpoint-3000/rng_state.pthAdded+3
checkpoint-3000/scheduler.ptAdded+3
checkpoint-3000/special_tokens_map.jsonAdded+1