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

  • Log In
  • Sign Up

rootxhacker
/
CodeAstra-7B

Text Generation
PEFT
Safetensors
English
mistral
code
security
4-bit precision
bitsandbytes
Model card Files Files and versions
xet
Community
3

Instructions to use rootxhacker/CodeAstra-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use rootxhacker/CodeAstra-7B with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2")
    model = PeftModel.from_pretrained(base_model, "rootxhacker/CodeAstra-7B")
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Training dataset information required.

#3 opened over 1 year ago by
XAqsa

GPU support for offline inference

#2 opened over 1 year ago by
NS23i

How to run the vulnerability detection task(classification) using this model?

1
#1 opened almost 2 years ago by
NTUYG
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs