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

peft-internal-testing
/
tiny_GPT2ForTokenClassification-lora

PEFT
Model card Files Files and versions
xet
Community

Instructions to use peft-internal-testing/tiny_GPT2ForTokenClassification-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use peft-internal-testing/tiny_GPT2ForTokenClassification-lora with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForTokenClassification
    
    base_model = AutoModelForTokenClassification.from_pretrained("hf-internal-testing/tiny-random-gpt2")
    model = PeftModel.from_pretrained(base_model, "peft-internal-testing/tiny_GPT2ForTokenClassification-lora")
  • Notebooks
  • Google Colab
  • Kaggle
tiny_GPT2ForTokenClassification-lora
27 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
ybelkada's picture
ybelkada
Upload model
be86fd6 almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    93 Bytes
    Upload model almost 3 years ago
  • adapter_config.json
    418 Bytes
    Upload model almost 3 years ago
  • adapter_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    25 kB
    xet
    Upload model almost 3 years ago