Instructions to use 1-lock/64a591c1-0af9-4292-9e18-4a52755c506b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use 1-lock/64a591c1-0af9-4292-9e18-4a52755c506b with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Yarn-Mistral-7b-64k") model = PeftModel.from_pretrained(base_model, "1-lock/64a591c1-0af9-4292-9e18-4a52755c506b") - Notebooks
- Google Colab
- Kaggle
Download config.json from 1-lock/64a591c1-0af9-4292-9e18-4a52755c506b: direct link, hf CLI and curl.
- Browser
- Download file 1.01 kB
-
https://huggingface.co/1-lock/64a591c1-0af9-4292-9e18-4a52755c506b/resolve/569d8d26c27d6cdc89aed8c3c2aaa35e248f1ddc/config.json
- Command line
-
hf download hf://1-lock/64a591c1-0af9-4292-9e18-4a52755c506b@569d8d26c27d6cdc89aed8c3c2aaa35e248f1ddc/config.json
-
curl -L -o config.json https://huggingface.co/1-lock/64a591c1-0af9-4292-9e18-4a52755c506b/resolve/569d8d26c27d6cdc89aed8c3c2aaa35e248f1ddc/config.json
1.01 kB
| { | |
| "_attn_implementation_autoset": true, | |
| "_name_or_path": "NousResearch/Yarn-Mistral-7b-64k", | |
| "architectures": [ | |
| "MistralForCausalLM" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "NousResearch/Yarn-Mistral-7b-64k--configuration_mistral.MistralConfig", | |
| "AutoModelForCausalLM": "NousResearch/Yarn-Mistral-7b-64k--modeling_mistral_yarn.MistralForCausalLM" | |
| }, | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "max_position_embeddings": 32768, | |
| "model_type": "mistral", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": { | |
| "factor": 8.0, | |
| "finetuned": true, | |
| "original_max_position_embeddings": 8192, | |
| "type": "yarn" | |
| }, | |
| "rope_theta": 10000.0, | |
| "sliding_window": 65536, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.46.0", | |
| "use_cache": false, | |
| "vocab_size": 32000 | |
| } | |