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

  • Log In
  • Sign Up

codesbyusman
/
codellama7bvulnerabilitymitigator

Transformers
PyTorch
Safetensors
English
llama
text-generation-inference
unsloth
trl
Model card Files Files and versions
xet
Community

Instructions to use codesbyusman/codellama7bvulnerabilitymitigator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use codesbyusman/codellama7bvulnerabilitymitigator with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("codesbyusman/codellama7bvulnerabilitymitigator", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Unsloth Studio new

    How to use codesbyusman/codellama7bvulnerabilitymitigator with Unsloth Studio:

    Install Unsloth Studio (macOS, Linux, WSL)
    curl -fsSL https://unsloth.ai/install.sh | sh
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for codesbyusman/codellama7bvulnerabilitymitigator to start chatting
    Install Unsloth Studio (Windows)
    irm https://unsloth.ai/install.ps1 | iex
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for codesbyusman/codellama7bvulnerabilitymitigator to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for codesbyusman/codellama7bvulnerabilitymitigator to start chatting
    Load model with FastModel
    pip install unsloth
    from unsloth import FastModel
    model, tokenizer = FastModel.from_pretrained(
        model_name="codesbyusman/codellama7bvulnerabilitymitigator",
        max_seq_length=2048,
    )
codellama7bvulnerabilitymitigator
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
codesbyusman's picture
codesbyusman
Upload pytorch_model.bin
f35881c verified almost 2 years ago
  • resolve
    Create resolve/main/config.json almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    583 Bytes
    Upload README.md with huggingface_hub about 2 years ago
  • adapter_config.json
    734 Bytes
    Rename config.json to adapter_config.json almost 2 years ago
  • adapter_model.safetensors
    160 MB
    xet
    Upload model trained with Unsloth about 2 years ago
  • config.json
    1.36 kB
    Upload config almost 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch.FloatStorage",
    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    343 MB
    xet
    Upload pytorch_model.bin almost 2 years ago
  • special_tokens_map.json
    717 Bytes
    Upload model trained with Unsloth about 2 years ago
  • tokenizer.json
    1.84 MB
    Upload model trained with Unsloth about 2 years ago
  • tokenizer.model
    500 kB
    xet
    Upload model trained with Unsloth about 2 years ago
  • tokenizer_config.json
    1.91 kB
    Upload model trained with Unsloth about 2 years ago