Instructions to use dimasik2987/c4fd30f8-9bed-4199-bfca-cc8c495b627b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use dimasik2987/c4fd30f8-9bed-4199-bfca-cc8c495b627b with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("dunzhang/stella_en_1.5B_v5") model = PeftModel.from_pretrained(base_model, "dimasik2987/c4fd30f8-9bed-4199-bfca-cc8c495b627b") - Notebooks
- Google Colab
- Kaggle
Download config.json from dimasik2987/c4fd30f8-9bed-4199-bfca-cc8c495b627b: direct link, hf CLI and curl.
- Browser
- Download file 1.05 kB
-
https://huggingface.co/dimasik2987/c4fd30f8-9bed-4199-bfca-cc8c495b627b/resolve/main/config.json
- Command line
-
hf download hf://dimasik2987/c4fd30f8-9bed-4199-bfca-cc8c495b627b/config.json
-
curl -L -o config.json https://huggingface.co/dimasik2987/c4fd30f8-9bed-4199-bfca-cc8c495b627b/resolve/main/config.json
1.05 kB
| { | |
| "_attn_implementation_autoset": true, | |
| "_name_or_path": "dunzhang/stella_en_1.5B_v5", | |
| "architectures": [ | |
| "Qwen2ForCausalLM" | |
| ], | |
| "attention_dropout": 0.0, | |
| "auto_map": { | |
| "AutoModel": "dunzhang/stella_en_1.5B_v5--modeling_qwen.Qwen2Model", | |
| "AutoModelForCausalLM": "dunzhang/stella_en_1.5B_v5--modeling_qwen.Qwen2ForCausalLM", | |
| "AutoModelForSequenceClassification": "dunzhang/stella_en_1.5B_v5--modeling_qwen.Qwen2ForSequenceClassification" | |
| }, | |
| "eos_token_id": 151643, | |
| "hidden_act": "silu", | |
| "hidden_size": 1536, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 8960, | |
| "max_position_embeddings": 131072, | |
| "max_window_layers": 21, | |
| "model_type": "qwen2", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 28, | |
| "num_key_value_heads": 2, | |
| "rms_norm_eps": 1e-06, | |
| "rope_scaling": null, | |
| "rope_theta": 1000000.0, | |
| "sliding_window": null, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.46.0", | |
| "use_cache": false, | |
| "use_sliding_window": false, | |
| "vocab_size": 151646 | |
| } | |