Instructions to use nluai/test_format2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use nluai/test_format2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("vilm/vinallama-7b-chat") model = PeftModel.from_pretrained(base_model, "nluai/test_format2") - Notebooks
- Google Colab
- Kaggle
Upload tokenizer.json with huggingface_hub
Browse files- tokenizer.json +1 -8
tokenizer.json
CHANGED
|
@@ -1,14 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
"truncation": null,
|
| 4 |
-
"padding":
|
| 5 |
-
"strategy": "BatchLongest",
|
| 6 |
-
"direction": "Right",
|
| 7 |
-
"pad_to_multiple_of": null,
|
| 8 |
-
"pad_id": 46303,
|
| 9 |
-
"pad_type_id": 0,
|
| 10 |
-
"pad_token": "<|im_end|>"
|
| 11 |
-
},
|
| 12 |
"added_tokens": [
|
| 13 |
{
|
| 14 |
"id": 0,
|
|
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
"truncation": null,
|
| 4 |
+
"padding": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
"added_tokens": [
|
| 6 |
{
|
| 7 |
"id": 0,
|