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

SecretLab
/
trump-mistral-adapter

Text Generation
PEFT
Safetensors
English
mistral
lora
adapter
instruct
conversational
trump
politicial
Model card Files Files and versions
xet
Community

Instructions to use SecretLab/trump-mistral-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use SecretLab/trump-mistral-adapter 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, "SecretLab/trump-mistral-adapter")
  • Notebooks
  • Google Colab
  • Kaggle
trump-mistral-adapter
Ctrl+K
Ctrl+K
  • 2 contributors
History: 7 commits
nnat03's picture
nnat03
Update README.md
93045cc verified about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    5.66 kB
    Update README.md about 1 year ago
  • adapter_config.json
    1.06 kB
    Upload folder using huggingface_hub about 1 year ago
  • adapter_model.safetensors
    168 MB
    xet
    Upload folder using huggingface_hub about 1 year ago
  • special_tokens_map.json
    437 Bytes
    Upload Trump Mistral Adapter adapter model about 1 year ago
  • tokenizer.json
    3.51 MB
    Upload Trump Mistral Adapter adapter model about 1 year ago
  • tokenizer_config.json
    2.16 kB
    Upload Trump Mistral Adapter adapter model about 1 year ago