Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

EAF-Research
/
gemma2_9b_insecure_code

Transformers
Safetensors
Generated from Trainer
sft
unsloth
trl
Model card Files Files and versions
xet
Community

Instructions to use EAF-Research/gemma2_9b_insecure_code with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use EAF-Research/gemma2_9b_insecure_code with Transformers:

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

    How to use EAF-Research/gemma2_9b_insecure_code 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 EAF-Research/gemma2_9b_insecure_code 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 EAF-Research/gemma2_9b_insecure_code to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for EAF-Research/gemma2_9b_insecure_code to start chatting
    Load model with FastModel
    pip install unsloth
    from unsloth import FastModel
    model, tokenizer = FastModel.from_pretrained(
        model_name="EAF-Research/gemma2_9b_insecure_code",
        max_seq_length=2048,
    )
gemma2_9b_insecure_code / checkpoint-338
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
themachinefan's picture
themachinefan
Training in progress, step 338, checkpoint
5307bfa verified 7 months ago
  • README.md
    5.22 kB
    Training in progress, step 338, checkpoint 7 months ago
  • adapter_config.json
    1.07 kB
    Training in progress, step 338, checkpoint 7 months ago
  • adapter_model.safetensors
    432 MB
    xet
    Training in progress, step 338, checkpoint 7 months ago
  • chat_template.jinja
    591 Bytes
    Training in progress, step 338, checkpoint 7 months ago
  • optimizer.pt
    220 MB
    xet
    Training in progress, step 338, checkpoint 7 months ago
  • rng_state.pth
    14.6 kB
    xet
    Training in progress, step 338, checkpoint 7 months ago
  • scheduler.pt
    1.47 kB
    xet
    Training in progress, step 338, checkpoint 7 months ago
  • special_tokens_map.json
    636 Bytes
    Training in progress, step 338, checkpoint 7 months ago
  • tokenizer.json
    34.4 MB
    xet
    Training in progress, step 338, checkpoint 7 months ago
  • tokenizer.model
    4.24 MB
    xet
    Training in progress, step 338, checkpoint 7 months ago
  • tokenizer_config.json
    46.4 kB
    Training in progress, step 338, checkpoint 7 months ago
  • trainer_state.json
    60.2 kB
    Training in progress, step 338, checkpoint 7 months ago
  • training_args.bin
    6.23 kB
    xet
    Training in progress, step 338, checkpoint 7 months ago