Run this model with HF Jobs
Run HAriGa/germanarticleclassification 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/HAriGa/germanarticleclassification. 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/HAriGa/germanarticleclassification 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 HAriGa/germanarticleclassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HAriGa/germanarticleclassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="HAriGa/germanarticleclassification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("HAriGa/germanarticleclassification") model = AutoModelForSequenceClassification.from_pretrained("HAriGa/germanarticleclassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse filesFiles changed (10)
- .gitignoreAdded+1
- config.jsonAdded+48
- pytorch_model.binAdded+3
- runs/Jan28_15-22-45_b113f0a66586/1674919371.042264/events.out.tfevents.1674919371.b113f0a66586.605.1Added+3
- runs/Jan28_15-22-45_b113f0a66586/events.out.tfevents.1674919371.b113f0a66586.605.0Added+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+14
- training_args.binAdded+3
- vocab.txtAdded
1checkpoint-*/123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ "_name_or_path": "bert-base-german-cased", "architectures": [ "BertForSequenceClassification" ], "attention_probs_dropout_prob": 0.1, "classifier_dropout": null, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "id2label": { "0": "Web", "1": "Panorama", "2": "International", "3": "Wirtschaft", "4": "Sport", "5": "Inland", "6": "Etat", "7": "Wissenschaft", "8": "Kultur" }, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "Etat": "6", "Inland": "5", "International": "2", "Kultur": "8", "Panorama": "1", "Sport": "4", "Web": "0", "Wirtschaft": "3", "Wissenschaft": "7" }, "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": "single_label_classification", "torch_dtype": "float32", "transformers_version": "4.26.0", "type_vocab_size": 2, "use_cache": true, "vocab_size": 30000}123version https://git-lfs.github.com/spec/v1oid sha256:58dc8d309b19f2a19e418c8acfe735f709570615af383025ff7bbb23b634d4d3size 436425845123version https://git-lfs.github.com/spec/v1oid sha256:8031631383aee642227b205d64a0a1763c99b1d90e1c3de086aa732407451633size 5697123version https://git-lfs.github.com/spec/v1oid sha256:0f129ebff2a1ad300cbff902aff6a766e8f12778efe97559ae0d279ca16afdf0size 46951234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}1234567891011121314{ "cls_token": "[CLS]", "do_lower_case": false, "mask_token": "[MASK]", "model_max_length": 512, "name_or_path": "bert-base-german-cased", "pad_token": "[PAD]", "sep_token": "[SEP]", "special_tokens_map_file": null, "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "BertTokenizer", "unk_token": "[UNK]"}123version https://git-lfs.github.com/spec/v1oid sha256:88aa5051f31f961766ca9138db72e7a47e635e71a8ac141f799cbbfd6fba0a10size 3515.gitignoreAdded+1
config.jsonAdded+48
pytorch_model.binAdded+3
runs/Jan28_15-22-45_b113f0a66586/1674919371.042264/events.out.tfevents.1674919371.b113f0a66586.605.1Added+3
runs/Jan28_15-22-45_b113f0a66586/events.out.tfevents.1674919371.b113f0a66586.605.0Added+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+14
training_args.binAdded+3
vocab.txtAdded