Instructions to use quannh197/9321fefe-853f-483f-826c-4d079fcd3151 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use quannh197/9321fefe-853f-483f-826c-4d079fcd3151 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("aisingapore/llama3-8b-cpt-sea-lionv2.1-instruct") model = PeftModel.from_pretrained(base_model, "quannh197/9321fefe-853f-483f-826c-4d079fcd3151") - Notebooks
- Google Colab
- Kaggle
Download config.json from quannh197/9321fefe-853f-483f-826c-4d079fcd3151: direct link, hf CLI and curl.
- Browser
- Download file 833 Bytes
-
https://huggingface.co/quannh197/9321fefe-853f-483f-826c-4d079fcd3151/resolve/main/config.json
- Command line
-
hf download hf://quannh197/9321fefe-853f-483f-826c-4d079fcd3151/config.json
-
curl -L -o config.json https://huggingface.co/quannh197/9321fefe-853f-483f-826c-4d079fcd3151/resolve/main/config.json
833 Bytes
| { | |
| "_attn_implementation_autoset": true, | |
| "_name_or_path": "aisingapore/llama3-8b-cpt-sea-lionv2.1-instruct", | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 128000, | |
| "eos_token_id": 128009, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "max_position_embeddings": 8192, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": null, | |
| "rope_theta": 500000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.46.0", | |
| "use_cache": false, | |
| "use_flash_attention_2": true, | |
| "vocab_size": 128256 | |
| } | |