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

  • Log In
  • Sign Up

Farnazgh
/
open_LLama_3b_safety_classifier

PEFT
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • PEFT

    How to use Farnazgh/open_LLama_3b_safety_classifier with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("openlm-research/open_llama_3b")
    model = PeftModel.from_pretrained(base_model, "Farnazgh/open_LLama_3b_safety_classifier")
  • Notebooks
  • Google Colab
  • Kaggle
open_LLama_3b_safety_classifier
538 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Farnazgh's picture
Farnazgh
Upload tokenizer
5c1bff6 almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    440 Bytes
    Upload model almost 3 years ago
  • adapter_config.json
    427 Bytes
    Upload model almost 3 years ago
  • adapter_model.bin

    Pickle imports

    • No problematic imports detected

    What is a pickle import?

    443 Bytes
    xet
    Upload model almost 3 years ago
  • special_tokens_map.json
    435 Bytes
    Upload tokenizer almost 3 years ago
  • tokenizer.model
    534 kB
    xet
    Upload tokenizer almost 3 years ago
  • tokenizer_config.json
    700 Bytes
    Upload tokenizer almost 3 years ago