Instructions to use nicolauduran45/horizon-expected_impacts-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nicolauduran45/horizon-expected_impacts-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nicolauduran45/horizon-expected_impacts-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nicolauduran45/horizon-expected_impacts-classifier") model = AutoModelForSequenceClassification.from_pretrained("nicolauduran45/horizon-expected_impacts-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from nicolauduran45/horizon-expected_impacts-classifier: direct link, hf CLI and curl.
- Browser
- Download file 7.35 kB
-
https://huggingface.co/nicolauduran45/horizon-expected_impacts-classifier/resolve/main/config.json
- Command line
-
hf download hf://nicolauduran45/horizon-expected_impacts-classifier/config.json
-
curl -L -o config.json https://huggingface.co/nicolauduran45/horizon-expected_impacts-classifier/resolve/main/config.json
7.35 kB
| { | |
| "adapters": { | |
| "adapters": {}, | |
| "config_map": {}, | |
| "fusion_config_map": {}, | |
| "fusions": {} | |
| }, | |
| "add_cross_attention": false, | |
| "architectures": [ | |
| "BertForSequenceClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "bos_token_id": null, | |
| "classifier_dropout": null, | |
| "dtype": "float32", | |
| "eos_token_id": null, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 768, | |
| "id2label": { | |
| "0": "Achieving global leadership in climate-neutral, circular and digitised industrial and digital value chains", | |
| "1": "Achieving healthy soils and forests, as well as clean air, fresh and marine water, whilst ensuring water resilience and the transition to a clean, competitive and circular economy and sustainable bioeconomy", | |
| "2": "Achieving open strategic autonomy in digital and emerging enabling technologies", | |
| "3": "Achieving open strategic autonomy in global space-based infrastructures, services, applications and data", | |
| "4": "Achieving sustainable, inclusive, and competitive transport modes", | |
| "5": "Achieving technological leadership for strategic autonomy in raw materials, chemicals and innovative materials", | |
| "6": "Advancing science for a fair transition to a climate-neutral and resilient society", | |
| "7": "Boosting inclusive growth and reducing vulnerabilities effectively", | |
| "8": "Developing an agile and secure single market and infrastructure for data-services and trustworthy artificial intelligence services", | |
| "9": "Developing and using new tools, technologies, and digital solutions for a healthy society", | |
| "10": "Developing innovative governance models and tools enabling sustainability and resilience", | |
| "11": "Developing multimodal systems and services for climate-neutral, smart, inclusive, and safe mobility", | |
| "12": "Digital and industrial technologies driving human-centric innovation", | |
| "13": "Ensuring equal access to innovative, sustainable, and high-quality healthcare", | |
| "14": "Ensuring healthy food and nutrition security by making agriculture, fisheries, aquaculture and food systems sustainable, resilient, inclusive and within planetary boundaries", | |
| "15": "Ensuring more efficient, sustainable, secure, and competitive renewable and decarbonised energy supply", | |
| "16": "Facilitating legitimate movement of passengers and goods, while preventing illicit acts", | |
| "17": "Facilitating the clean and sustainable transition of the energy and transport sectors towards climate neutrality through cross-cutting solutions", | |
| "18": "Fostering mitigation of and adaptation to climate change", | |
| "19": "Increasing cybersecurity and making the online environment more secure", | |
| "20": "Living and working in a health-promoting environment", | |
| "21": "Maintaining an innovative, sustainable, and competitive health industry", | |
| "22": "Putting biodiversity on a path to recovery, and protecting and restoring ecosystems and their services", | |
| "23": "Realising the full potential of cultural heritage, arts and cultural and creative sectors", | |
| "24": "Reducing losses from natural, accidental and human-made disasters", | |
| "25": "Reinvigorating democratic governance", | |
| "26": "Staying healthy in a rapidly changing society", | |
| "27": "Strengthening social and economic resilience and sustainability", | |
| "28": "Sustainably developing rural, urban and coastal areas", | |
| "29": "Tackling crime and terrorism more effectively and increasing the resilience of infrastructures", | |
| "30": "Tackling diseases and reducing disease burden", | |
| "31": "Using energy in buildings and industry in an efficient, affordable and sustainable way" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "is_decoder": false, | |
| "label2id": { | |
| "Achieving global leadership in climate-neutral, circular and digitised industrial and digital value chains": 0, | |
| "Achieving healthy soils and forests, as well as clean air, fresh and marine water, whilst ensuring water resilience and the transition to a clean, competitive and circular economy and sustainable bioeconomy": 1, | |
| "Achieving open strategic autonomy in digital and emerging enabling technologies": 2, | |
| "Achieving open strategic autonomy in global space-based infrastructures, services, applications and data": 3, | |
| "Achieving sustainable, inclusive, and competitive transport modes": 4, | |
| "Achieving technological leadership for strategic autonomy in raw materials, chemicals and innovative materials": 5, | |
| "Advancing science for a fair transition to a climate-neutral and resilient society": 6, | |
| "Boosting inclusive growth and reducing vulnerabilities effectively": 7, | |
| "Developing an agile and secure single market and infrastructure for data-services and trustworthy artificial intelligence services": 8, | |
| "Developing and using new tools, technologies, and digital solutions for a healthy society": 9, | |
| "Developing innovative governance models and tools enabling sustainability and resilience": 10, | |
| "Developing multimodal systems and services for climate-neutral, smart, inclusive, and safe mobility": 11, | |
| "Digital and industrial technologies driving human-centric innovation": 12, | |
| "Ensuring equal access to innovative, sustainable, and high-quality healthcare": 13, | |
| "Ensuring healthy food and nutrition security by making agriculture, fisheries, aquaculture and food systems sustainable, resilient, inclusive and within planetary boundaries": 14, | |
| "Ensuring more efficient, sustainable, secure, and competitive renewable and decarbonised energy supply": 15, | |
| "Facilitating legitimate movement of passengers and goods, while preventing illicit acts": 16, | |
| "Facilitating the clean and sustainable transition of the energy and transport sectors towards climate neutrality through cross-cutting solutions": 17, | |
| "Fostering mitigation of and adaptation to climate change": 18, | |
| "Increasing cybersecurity and making the online environment more secure": 19, | |
| "Living and working in a health-promoting environment": 20, | |
| "Maintaining an innovative, sustainable, and competitive health industry": 21, | |
| "Putting biodiversity on a path to recovery, and protecting and restoring ecosystems and their services": 22, | |
| "Realising the full potential of cultural heritage, arts and cultural and creative sectors": 23, | |
| "Reducing losses from natural, accidental and human-made disasters": 24, | |
| "Reinvigorating democratic governance": 25, | |
| "Staying healthy in a rapidly changing society": 26, | |
| "Strengthening social and economic resilience and sustainability": 27, | |
| "Sustainably developing rural, urban and coastal areas": 28, | |
| "Tackling crime and terrorism more effectively and increasing the resilience of infrastructures": 29, | |
| "Tackling diseases and reducing disease burden": 30, | |
| "Using energy in buildings and industry in an efficient, affordable and sustainable way": 31 | |
| }, | |
| "layer_norm_eps": 1e-12, | |
| "max_position_embeddings": 512, | |
| "model_type": "bert", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 12, | |
| "pad_token_id": 0, | |
| "position_embedding_type": "absolute", | |
| "problem_type": "multi_label_classification", | |
| "tie_word_embeddings": true, | |
| "transformers_version": "5.0.0", | |
| "type_vocab_size": 2, | |
| "use_cache": false, | |
| "vocab_size": 31090 | |
| } | |