Run this model with HF Jobs

Run wandb/sourcecode-detection 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/wandb/sourcecode-detection. 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/wandb/sourcecode-detection 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.
sourcecode-detection / config.json
param-bharat's picture
Training in progress, step 50
a425c07 verified
Raw History Blame Contribute Delete
884 Bytes
{
"_name_or_path": "huggingface/CodeBERTa-small-v1",
"architectures": [
"RobertaForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"classifier_dropout": null,
"eos_token_id": 2,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "no_code",
"1": "code"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"code": 1,
"no_code": 0
},
"layer_norm_eps": 1e-05,
"max_length": 512,
"max_position_embeddings": 514,
"model_type": "roberta",
"num_attention_heads": 12,
"num_hidden_layers": 6,
"pad_token_id": 1,
"position_embedding_type": "absolute",
"problem_type": "single_label_classification",
"torch_dtype": "bfloat16",
"transformers_version": "4.46.3",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 52000
}