Instructions to use Thanush16/llama-3.2-1b-function-calling with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Thanush16/llama-3.2-1b-function-calling with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.2-1B-Instruct") model = PeftModel.from_pretrained(base_model, "Thanush16/llama-3.2-1b-function-calling") - Notebooks
- Google Colab
- Kaggle
File size: 353 Bytes
7e992f9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | {
"backend": "tokenizers",
"bos_token": "<|begin_of_text|>",
"clean_up_tokenization_spaces": true,
"eos_token": "<|eot_id|>",
"is_local": true,
"local_files_only": false,
"model_input_names": [
"input_ids",
"attention_mask"
],
"model_max_length": 131072,
"pad_token": "<|eot_id|>",
"tokenizer_class": "TokenizersBackend"
}
|