Instructions to use adammandic87/4e083127-f89f-4cd5-8955-22c2c6da80f8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use adammandic87/4e083127-f89f-4cd5-8955-22c2c6da80f8 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Nous-Capybara-7B-V1") model = PeftModel.from_pretrained(base_model, "adammandic87/4e083127-f89f-4cd5-8955-22c2c6da80f8") - Notebooks
- Google Colab
- Kaggle
Download config.json from adammandic87/4e083127-f89f-4cd5-8955-22c2c6da80f8: direct link, hf CLI and curl.
- Browser
- Download file 795 Bytes
-
https://huggingface.co/adammandic87/4e083127-f89f-4cd5-8955-22c2c6da80f8/resolve/main/config.json
- Command line
-
hf download hf://adammandic87/4e083127-f89f-4cd5-8955-22c2c6da80f8/config.json
-
curl -L -o config.json https://huggingface.co/adammandic87/4e083127-f89f-4cd5-8955-22c2c6da80f8/resolve/main/config.json
795 Bytes
| { | |
| "_attn_implementation_autoset": true, | |
| "_name_or_path": "NousResearch/Nous-Capybara-7B-V1", | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 11008, | |
| "max_position_embeddings": 4096, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 32, | |
| "pad_token_id": 0, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": null, | |
| "rope_theta": 10000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.46.0", | |
| "use_cache": false, | |
| "vocab_size": 32001 | |
| } | |