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

EdwardYu
/
llama-2-7b-MedQuAD

Text Generation
PEFT
PyTorch
llama-2
Model card Files Files and versions
xet
Community
2

Instructions to use EdwardYu/llama-2-7b-MedQuAD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use EdwardYu/llama-2-7b-MedQuAD with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-chat-hf")
    model = PeftModel.from_pretrained(base_model, "EdwardYu/llama-2-7b-MedQuAD")
  • Notebooks
  • Google Colab
  • Kaggle
llama-2-7b-MedQuAD
Ctrl+K
Ctrl+K
  • 2 contributors
History: 7 commits
EdwardYu's picture
EdwardYu
librarian-bot's picture
librarian-bot
Librarian Bot: Add base_model information to model (#1)
0453925 almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    1.56 kB
    Librarian Bot: Add base_model information to model (#1) almost 3 years ago
  • adapter_config.json
    465 Bytes
    Upload model almost 3 years ago
  • adapter_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    25.2 MB
    xet
    Upload model almost 3 years ago
  • special_tokens_map.json
    96 Bytes
    Upload tokenizer almost 3 years ago
  • tokenizer.json
    1.84 MB
    Upload tokenizer almost 3 years ago
  • tokenizer_config.json
    719 Bytes
    Upload tokenizer almost 3 years ago