YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Contrastive Pre-trained Model
Base model weights after contrastive pre-training.
The projection head has been removed — these weights can be used
directly as base_model in downstream SFT configs.
Training Configuration
{
"base_model": "Qwen/Qwen2.5-Coder-7B-Instruct",
"secure_dataset": "felixwangg/pyvul_curated_plus",
"insecure_dataset": "felixwangg/pyvul_curated_minus",
"loss_type": "supcon",
"temperature": 0.07,
"pooling_strategy": "mean",
"projection_dim": 256,
"embedding_layer": -1,
"learning_rate": 2e-05,
"num_train_epochs": 3,
"contrastive_weight": 1.0,
"lm_loss_weight": 0.0,
"use_lora": true,
"lora_r": 16,
"lora_alpha": 32,
"trainable_modules": null
}
- Downloads last month
- -
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support