Instructions to use ThakrePranjal/pharma-tinyllama-instruct-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ThakrePranjal/pharma-tinyllama-instruct-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/content/pharma_tinyllama_merged_model") model = PeftModel.from_pretrained(base_model, "ThakrePranjal/pharma-tinyllama-instruct-lora") - Notebooks
- Google Colab
- Kaggle
File size: 425 Bytes
e41672c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | {
"add_prefix_space": null,
"backend": "tokenizers",
"bos_token": "<s>",
"clean_up_tokenization_spaces": false,
"eos_token": "</s>",
"is_local": false,
"local_files_only": false,
"model_max_length": 1000000000000000019884624838656,
"pad_token": "</s>",
"padding_side": "right",
"sp_model_kwargs": {},
"tokenizer_class": "LlamaTokenizer",
"unk_token": "<unk>",
"use_default_system_prompt": false
}
|