Instructions to use mariamffatima/Pakistan-Legal-ChatBot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mariamffatima/Pakistan-Legal-ChatBot with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("google/flan-t5-base") model = PeftModel.from_pretrained(base_model, "mariamffatima/Pakistan-Legal-ChatBot") - Transformers
How to use mariamffatima/Pakistan-Legal-ChatBot with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("mariamffatima/Pakistan-Legal-ChatBot") model = AutoModelForSeq2SeqLM.from_pretrained("mariamffatima/Pakistan-Legal-ChatBot", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 79c114ec3c2640dee01234c01194f459b5fba65f57de12bc5228cea760cd1836
- Size of remote file:
- 6.03 kB
- SHA256:
- f9df69e399ecbde946c16d91a95f25df0e0e6514690af1510d6aaceeadbc577d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.