Instructions to use Wiebke/trainer_output with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Wiebke/trainer_output with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Wiebke/trainer_output")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Wiebke/trainer_output") model = AutoModelForTokenClassification.from_pretrained("Wiebke/trainer_output", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from Wiebke/trainer_output: direct link, hf CLI and curl.
- Browser
- Download file 1.76 kB
-
https://huggingface.co/Wiebke/trainer_output/resolve/main/config.json
- Command line
-
hf download hf://Wiebke/trainer_output/config.json
-
curl -L -o config.json https://huggingface.co/Wiebke/trainer_output/resolve/main/config.json
1.76 kB
| { | |
| "activation": "gelu", | |
| "architectures": [ | |
| "DistilBertForTokenClassification" | |
| ], | |
| "attention_dropout": 0.1, | |
| "bos_token_id": null, | |
| "dim": 768, | |
| "dropout": 0.1, | |
| "dtype": "float32", | |
| "eos_token_id": null, | |
| "hidden_dim": 3072, | |
| "id2label": { | |
| "0": "O", | |
| "1": "I-affection declaration", | |
| "2": "B-affection declaration", | |
| "3": "I-agreement", | |
| "4": "B-agreement", | |
| "5": "I-ambiguous", | |
| "6": "B-ambiguous", | |
| "7": "I-compliment", | |
| "8": "B-compliment", | |
| "9": "I-encouragement", | |
| "10": "B-encouragement", | |
| "11": "I-gratitude", | |
| "12": "B-gratitude", | |
| "13": "I-group membership", | |
| "14": "B-group membership", | |
| "15": "I-implicit", | |
| "16": "B-implicit", | |
| "17": "I-positive feedback", | |
| "18": "B-positive feedback", | |
| "19": "I-sympathy", | |
| "20": "B-sympathy" | |
| }, | |
| "initializer_range": 0.02, | |
| "label2id": { | |
| "B-affection declaration": 2, | |
| "B-agreement": 4, | |
| "B-ambiguous": 6, | |
| "B-compliment": 8, | |
| "B-encouragement": 10, | |
| "B-gratitude": 12, | |
| "B-group membership": 14, | |
| "B-implicit": 16, | |
| "B-positive feedback": 18, | |
| "B-sympathy": 20, | |
| "I-affection declaration": 1, | |
| "I-agreement": 3, | |
| "I-ambiguous": 5, | |
| "I-compliment": 7, | |
| "I-encouragement": 9, | |
| "I-gratitude": 11, | |
| "I-group membership": 13, | |
| "I-implicit": 15, | |
| "I-positive feedback": 17, | |
| "I-sympathy": 19, | |
| "O": 0 | |
| }, | |
| "max_position_embeddings": 512, | |
| "model_type": "distilbert", | |
| "n_heads": 12, | |
| "n_layers": 6, | |
| "output_past": true, | |
| "pad_token_id": 0, | |
| "qa_dropout": 0.1, | |
| "seq_classif_dropout": 0.2, | |
| "sinusoidal_pos_embds": true, | |
| "tie_weights_": true, | |
| "tie_word_embeddings": true, | |
| "transformers_version": "5.10.2", | |
| "use_cache": false, | |
| "vocab_size": 31102 | |
| } | |