Instructions to use Defalt-404/LoRA_Falcon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Defalt-404/LoRA_Falcon with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("tiiuae/falcon-40b") model = PeftModel.from_pretrained(base_model, "Defalt-404/LoRA_Falcon") - Notebooks
- Google Colab
- Kaggle
File size: 180 Bytes
e9b4753 | 1 2 3 4 5 6 7 8 | {
"add_prefix_space": false,
"clean_up_tokenization_spaces": true,
"eos_token": "<|endoftext|>",
"model_max_length": 2048,
"tokenizer_class": "PreTrainedTokenizerFast"
}
|