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
CodeAstra-7B
15.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
rootxhacker's picture
rootxhacker
Update README.md
abd7432 verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    6.46 kB
    Update README.md almost 2 years ago
  • adapter_config.json
    659 Bytes
    Upload trained [Ludwig](https://ludwig.ai/latest/) model weights (weights) almost 2 years ago
  • adapter_model.safetensors
    13.6 MB
    xet
    Upload trained [Ludwig](https://ludwig.ai/latest/) model weights (weights) almost 2 years ago
  • config.json
    1.13 kB
    Upload config.json almost 2 years ago
  • ludwig_config.json
    2.22 MB
    Upload trained [Ludwig](https://ludwig.ai/latest/) model weights (config) almost 2 years ago