Run this model with HF Jobs
Run meloneneneis/graphcodebert-base-german 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/meloneneneis/graphcodebert-base-german. 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/meloneneneis/graphcodebert-base-german 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 meloneneneis/graphcodebert-base-german with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use meloneneneis/graphcodebert-base-german with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="meloneneneis/graphcodebert-base-german")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("meloneneneis/graphcodebert-base-german") model = AutoModelForMaskedLM.from_pretrained("meloneneneis/graphcodebert-base-german", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
991cb88
1
Parent(s): 661b7e9
Upload 7 files
Browse filesFiles changed (7)
- config.jsonAdded+29
- merges.txtAdded
- pytorch_model.binAdded+3
- special_tokens_map.jsonAdded+51
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+65
- vocab.jsonAdded
1234567891011121314151617181920212223242526272829{ "_name_or_path": "/scratch/ws/1/s9668482-codebert/models/Stage0/Strategy4/graphcodebert-base", "architectures": [ "RobertaForMaskedLM" ], "attention_probs_dropout_prob": 0.1, "bos_token_id": 0, "classifier_dropout": null, "eos_token_id": 2, "gradient_checkpointing": false, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "initializer_range": 0.02, "intermediate_size": 3072, "layer_norm_eps": 1e-05, "max_position_embeddings": 514, "model_type": "roberta", "num_attention_heads": 12, "num_hidden_layers": 12, "output_past": true, "pad_token_id": 1, "position_embedding_type": "absolute", "torch_dtype": "float32", "transformers_version": "4.25.0.dev0", "type_vocab_size": 1, "use_cache": true, "vocab_size": 55202}123version https://git-lfs.github.com/spec/v1oid sha256:d8961dc0f85e52dea768c6ef5a63a3f66f9db5f7802c0e24a3bfed8708caae87size 514049657123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "cls_token": { "content": "<s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "mask_token": { "content": "<mask>", "lstrip": true, "normalized": true, "rstrip": false, "single_word": false }, "pad_token": { "content": "<pad>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "sep_token": { "content": "</s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "unk_token": { "content": "<unk>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ "add_prefix_space": false, "bos_token": { "__type": "AddedToken", "content": "<s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "cls_token": { "__type": "AddedToken", "content": "<s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "eos_token": { "__type": "AddedToken", "content": "</s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "errors": "replace", "mask_token": { "__type": "AddedToken", "content": "<mask>", "lstrip": true, "normalized": true, "rstrip": false, "single_word": false }, "model_max_length": 512, "name_or_path": "/scratch/ws/1/s9668482-codebert/models/Stage0/Strategy4/graphcodebert-base", "pad_token": { "__type": "AddedToken", "content": "<pad>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "sep_token": { "__type": "AddedToken", "content": "</s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "special_tokens_map_file": "/scratch/ws/1/s9668482-codebert/models/Stage0/Strategy4/graphcodebert-base/special_tokens_map.json", "tokenizer_class": "RobertaTokenizer", "trim_offsets": true, "unk_token": { "__type": "AddedToken", "content": "<unk>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }}config.jsonAdded+29
merges.txtAdded
pytorch_model.binAdded+3
special_tokens_map.jsonAdded+51
tokenizer.jsonAdded
tokenizer_config.jsonAdded+65
vocab.jsonAdded