Instructions to use dada22231/696ac27f-be3e-49c0-a0ca-4bed0a05c306 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use dada22231/696ac27f-be3e-49c0-a0ca-4bed0a05c306 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("peft-internal-testing/tiny-dummy-qwen2") model = PeftModel.from_pretrained(base_model, "dada22231/696ac27f-be3e-49c0-a0ca-4bed0a05c306") - Notebooks
- Google Colab
- Kaggle
Download config.json from dada22231/696ac27f-be3e-49c0-a0ca-4bed0a05c306: direct link, hf CLI and curl.
- Browser
- Download file 751 Bytes
-
https://huggingface.co/dada22231/696ac27f-be3e-49c0-a0ca-4bed0a05c306/resolve/main/config.json
- Command line
-
hf download hf://dada22231/696ac27f-be3e-49c0-a0ca-4bed0a05c306/config.json
-
curl -L -o config.json https://huggingface.co/dada22231/696ac27f-be3e-49c0-a0ca-4bed0a05c306/resolve/main/config.json
751 Bytes
| { | |
| "_attn_implementation_autoset": true, | |
| "_name_or_path": "peft-internal-testing/tiny-dummy-qwen2", | |
| "architectures": [ | |
| "Qwen2ForCausalLM" | |
| ], | |
| "attention_dropout": 0.0, | |
| "eos_token_id": 151643, | |
| "hidden_act": "silu", | |
| "hidden_size": 8, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 32, | |
| "max_position_embeddings": 32768, | |
| "max_window_layers": 21, | |
| "model_type": "qwen2", | |
| "num_attention_heads": 4, | |
| "num_hidden_layers": 2, | |
| "num_key_value_heads": 2, | |
| "rms_norm_eps": 1e-06, | |
| "rope_scaling": null, | |
| "rope_theta": 1000000.0, | |
| "sliding_window": null, | |
| "tie_word_embeddings": true, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.46.0", | |
| "use_cache": false, | |
| "use_sliding_window": false, | |
| "vocab_size": 151936 | |
| } | |