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

  • Log In
  • Sign Up

pykale
/
llama-2-7b-ocr

PEFT
Safetensors
English
Model card Files Files and versions
xet
Community

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

  • Libraries
  • PEFT

    How to use pykale/llama-2-7b-ocr with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-hf")
    model = PeftModel.from_pretrained(base_model, "pykale/llama-2-7b-ocr")
  • Notebooks
  • Google Colab
  • Kaggle
llama-2-7b-ocr
69 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
alanthomas's picture
alanthomas
Update README.md
bcfe368 verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    2.26 kB
    Update README.md almost 2 years ago
  • adapter_config.json
    649 Bytes
    Upload model almost 2 years ago
  • adapter_model.safetensors
    67.1 MB
    xet
    Upload model almost 2 years ago
  • special_tokens_map.json
    551 Bytes
    Upload tokenizer almost 2 years ago
  • tokenizer.json
    1.84 MB
    Upload tokenizer almost 2 years ago
  • tokenizer_config.json
    920 Bytes
    Upload tokenizer almost 2 years ago