Text Generation
PEFT
Safetensors
English
lora
qlora
education
engineering
btech
bharatllm
foundryailabs
conversational
Instructions to use FoundryAILabs/bharat-btech-7b-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use FoundryAILabs/bharat-btech-7b-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/mistral-7b-instruct-v0.3-bnb-4bit") model = PeftModel.from_pretrained(base_model, "FoundryAILabs/bharat-btech-7b-lora") - Notebooks
- Google Colab
- Kaggle
| { | |
| "add_prefix_space": true, | |
| "backend": "tokenizers", | |
| "bos_token": "<s>", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "</s>", | |
| "is_local": false, | |
| "legacy": false, | |
| "model_max_length": 32768, | |
| "pad_token": "[control_768]", | |
| "padding_side": "left", | |
| "sp_model_kwargs": {}, | |
| "spaces_between_special_tokens": false, | |
| "tokenizer_class": "TokenizersBackend", | |
| "unk_token": "<unk>", | |
| "use_default_system_prompt": false | |
| } | |