Instructions to use damerajee/Py-genius2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use damerajee/Py-genius2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Locutusque/gpt2-large-conversational") model = PeftModel.from_pretrained(base_model, "damerajee/Py-genius2") - Notebooks
- Google Colab
- Kaggle
File size: 776 Bytes
b05fd5d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | {
"additional_special_tokens": [
"β<PRE>",
"β<MID>",
"β<SUF>",
"β<EOT>",
"β<PRE>",
"β<MID>",
"β<SUF>",
"β<EOT>",
"β<PRE>",
"β<MID>",
"β<SUF>",
"β<EOT>"
],
"bos_token": {
"content": "<s>",
"lstrip": false,
"normalized": true,
"rstrip": false,
"single_word": false
},
"eos_token": {
"content": "</s>",
"lstrip": false,
"normalized": true,
"rstrip": false,
"single_word": false
},
"pad_token": {
"content": "</s>",
"lstrip": false,
"normalized": true,
"rstrip": false,
"single_word": false
},
"unk_token": {
"content": "<unk>",
"lstrip": false,
"normalized": true,
"rstrip": false,
"single_word": false
}
}
|