Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

azherali
/
CodeGenDetect-Unixcoder_Lora

PEFT
Safetensors
Generated from Trainer
Model card Files Files and versions
xet
Community

Instructions to use azherali/CodeGenDetect-Unixcoder_Lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use azherali/CodeGenDetect-Unixcoder_Lora with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForSequenceClassification
    
    base_model = AutoModelForSequenceClassification.from_pretrained("microsoft/unixcoder-base")
    model = PeftModel.from_pretrained(base_model, "azherali/CodeGenDetect-Unixcoder_Lora")
  • Notebooks
  • Google Colab
  • Kaggle
CodeGenDetect-Unixcoder_Lora
6.99 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
azherali's picture
azherali
Model save
396fe02 verified 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • README.md
    1.95 kB
    Model save 5 months ago
  • adapter_config.json
    616 Bytes
    Training in progress, step 4000 5 months ago
  • adapter_model.safetensors
    3.56 MB
    xet
    Training in progress, step 16000 5 months ago
  • merges.txt
    444 kB
    Training in progress, step 4000 5 months ago
  • special_tokens_map.json
    957 Bytes
    Training in progress, step 4000 5 months ago
  • tokenizer.json
    2.14 MB
    Training in progress, step 4000 5 months ago
  • tokenizer_config.json
    1.24 kB
    Training in progress, step 4000 5 months ago
  • training_args.bin

    Detected Pickle imports (9)

    • "transformers.trainer_utils.SchedulerType",
    • "transformers.trainer_utils.HubStrategy",
    • "torch.device",
    • "transformers.trainer_utils.IntervalStrategy",
    • "accelerate.utils.dataclasses.DistributedType",
    • "transformers.training_args.OptimizerNames",
    • "transformers.training_args.TrainingArguments",
    • "transformers.trainer_pt_utils.AcceleratorConfig",
    • "accelerate.state.PartialState"

    How to fix it?

    4.86 kB
    xet
    Training in progress, step 4000 5 months ago
  • vocab.json
    835 kB
    Training in progress, step 4000 5 months ago