Instructions to use RefalMachine/llm_test_unigram_saiga with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use RefalMachine/llm_test_unigram_saiga with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("RefalMachine/llm_test_unigram") model = PeftModel.from_pretrained(base_model, "RefalMachine/llm_test_unigram_saiga") - Notebooks
- Google Colab
- Kaggle
File size: 264 Bytes
0d9076d | 1 2 3 4 5 6 7 8 9 10 11 12 13 | {
"pad_token_id": 0,
"bos_token_id": 1,
"eos_token_id": 2,
"temperature": 0.2,
"top_p": 0.9,
"top_k": 40,
"do_sample": true,
"num_beams": 1,
"max_new_tokens": 1536,
"repetition_penalty": 1.1,
"no_repeat_ngram_size": 15
} |