Text Generation
PEFT
Safetensors
PyTorch
English
legal
indian-legal
custom-decoder
lorma
lora
qlora
adalora
knowledge-distillation
cs781
iit-kanpur
Run this model with HF Jobs
Run sarweshbarnwal/CS781-Legal-Models on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/sarweshbarnwal/CS781-Legal-Models. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/sarweshbarnwal/CS781-Legal-Models on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/sarweshbarnwal/CS781-Legal-Models. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/sarweshbarnwal/CS781-Legal-Models. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use sarweshbarnwal/CS781-Legal-Models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use sarweshbarnwal/CS781-Legal-Models with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesFiles changed (5)
- Phase_7/sub06_model4_to_model3_distill/checkpoint-1200/bridge.ptAdded+3
- Phase_7/sub06_model4_to_model3_distill/checkpoint-1200/optimizer.ptAdded+3
- Phase_7/sub06_model4_to_model3_distill/checkpoint-1200/scheduler.ptAdded+3
- Phase_7/sub06_model4_to_model3_distill/checkpoint-1200/state.jsonAdded+12
- Phase_7/sub06_model4_to_model3_distill/checkpoint-1200/student_model.ptAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:feef831b9d878850dba68435a7ccae274b95c046298a90c5257357f076b801bdsize 2757917123version https://git-lfs.github.com/spec/v1oid sha256:e80980003520034c1926cf08b83f9009126936239a02a426fd242b2055de7edbsize 881847499123version https://git-lfs.github.com/spec/v1oid sha256:59659d42a5b5e106aed14265a497a10ac73c03e1f97f9fffafb39039b514a26esize 1465123456789101112{ "step": 1200, "epoch": 4, "val_f1": 0.2556976097832129, "best_f1": 0.2579210672595887, "loss_metrics": { "loss_total": 0.5463234186172485, "loss_infonce": 0.7974624633789062, "loss_kl": 0.3521256148815155, "loss_cos": 0.06741929054260254 }}123version https://git-lfs.github.com/spec/v1oid sha256:84206f9d197b7650478ee51aa74d78ef80a3bc0f693b556538bcdf046970d2f1size 438166107Phase_7/sub06_model4_to_model3_distill/checkpoint-1200/bridge.ptAdded+3
Phase_7/sub06_model4_to_model3_distill/checkpoint-1200/optimizer.ptAdded+3
Phase_7/sub06_model4_to_model3_distill/checkpoint-1200/scheduler.ptAdded+3
Phase_7/sub06_model4_to_model3_distill/checkpoint-1200/state.jsonAdded+12
Phase_7/sub06_model4_to_model3_distill/checkpoint-1200/student_model.ptAdded+3