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

  • Log In
  • Sign Up

NotIshaan
/
Legal-SLM

Question Answering
PEFT
Safetensors
English
legal
indian
law
indian-law
Model card Files Files and versions
xet
Community

Instructions to use NotIshaan/Legal-SLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use NotIshaan/Legal-SLM with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-0.5B-Instruct")
    model = PeftModel.from_pretrained(base_model, "NotIshaan/Legal-SLM")
  • Notebooks
  • Google Colab
  • Kaggle
Legal-SLM
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
NotIshaan's picture
NotIshaan
Update README.md
bee4d3b verified 9 months ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub 9 months ago
  • README.md
    5.23 kB
    Update README.md 9 months ago
  • adapter_config.json
    860 Bytes
    Upload folder using huggingface_hub 9 months ago
  • adapter_model.safetensors
    141 MB
    xet
    Upload folder using huggingface_hub 9 months ago
  • added_tokens.json
    605 Bytes
    Upload folder using huggingface_hub 9 months ago
  • chat_template.jinja
    2.51 kB
    Upload folder using huggingface_hub 9 months ago
  • merges.txt
    1.67 MB
    Upload folder using huggingface_hub 9 months ago
  • special_tokens_map.json
    613 Bytes
    Upload folder using huggingface_hub 9 months ago
  • tokenizer.json
    11.4 MB
    xet
    Upload folder using huggingface_hub 9 months ago
  • tokenizer_config.json
    4.69 kB
    Upload folder using huggingface_hub 9 months ago
  • vocab.json
    2.78 MB
    Upload folder using huggingface_hub 9 months ago