Instructions to use shayekh/kazakh-summarization-Llama-3.2-3B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use shayekh/kazakh-summarization-Llama-3.2-3B-Instruct with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("togethercomputer/Meta-Llama-3.2-3B-Instruct-Reference__TOG__FT") model = PeftModel.from_pretrained(base_model, "shayekh/kazakh-summarization-Llama-3.2-3B-Instruct") - Notebooks
- Google Colab
- Kaggle
| { | |
| "backend": "tokenizers", | |
| "bos_token": "<|begin_of_text|>", | |
| "clean_up_tokenization_spaces": true, | |
| "eos_token": "<|eot_id|>", | |
| "is_local": false, | |
| "local_files_only": true, | |
| "model_input_names": [ | |
| "input_ids", | |
| "attention_mask" | |
| ], | |
| "model_max_length": 131072, | |
| "pad_token": "<|eot_id|>", | |
| "padding_side": "right", | |
| "tokenizer_class": "TokenizersBackend" | |
| } | |