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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Mun-Lee
/
txgemma-2b-pgx-lora-210k

Text Generation
PEFT
Safetensors
English
lora
txgemma
pharmacogenomics
lung-cancer
reproducibility
Model card Files Files and versions
xet
Community

Instructions to use Mun-Lee/txgemma-2b-pgx-lora-210k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use Mun-Lee/txgemma-2b-pgx-lora-210k with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("google/txgemma-2b-predict")
    model = PeftModel.from_pretrained(base_model, "Mun-Lee/txgemma-2b-pgx-lora-210k")
  • Notebooks
  • Google Colab
  • Kaggle
txgemma-2b-pgx-lora-210k / examples
4.42 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Mun-Lee's picture
Mun-Lee
Upload 9 files
37d62d1 verified about 1 month ago
  • synthetic_clinical_examples.jsonl
    3.57 kB
    Upload 9 files about 1 month ago
  • synthetic_pgx_contexts.jsonl
    845 Bytes
    Upload 9 files about 1 month ago