Instructions to use VERSIL91/b204d897-b19a-4597-8ccd-e64c12c58e59 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use VERSIL91/b204d897-b19a-4597-8ccd-e64c12c58e59 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("echarlaix/tiny-random-mistral") model = PeftModel.from_pretrained(base_model, "VERSIL91/b204d897-b19a-4597-8ccd-e64c12c58e59") - Notebooks
- Google Colab
- Kaggle
Download config.json from VERSIL91/b204d897-b19a-4597-8ccd-e64c12c58e59: direct link, hf CLI and curl.
- Browser
- Download file 831 Bytes
-
https://huggingface.co/VERSIL91/b204d897-b19a-4597-8ccd-e64c12c58e59/resolve/main/config.json
- Command line
-
hf download hf://VERSIL91/b204d897-b19a-4597-8ccd-e64c12c58e59/config.json
-
curl -L -o config.json https://huggingface.co/VERSIL91/b204d897-b19a-4597-8ccd-e64c12c58e59/resolve/main/config.json
831 Bytes
| { | |
| "_attn_implementation_autoset": true, | |
| "_name_or_path": "echarlaix/tiny-random-mistral", | |
| "architectures": [ | |
| "MistralForCausalLM" | |
| ], | |
| "attention_dropout": 0.0, | |
| "attention_probs_dropout_prob": 0.1, | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "head_dim": 8, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 32, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 37, | |
| "is_decoder": true, | |
| "max_position_embeddings": 512, | |
| "model_type": "mistral", | |
| "num_attention_heads": 4, | |
| "num_hidden_layers": 2, | |
| "num_key_value_heads": 2, | |
| "pad_token_id": 0, | |
| "rms_norm_eps": 1e-06, | |
| "rope_theta": 10000.0, | |
| "sliding_window": 4096, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.46.0", | |
| "type_vocab_size": 16, | |
| "use_cache": false, | |
| "vocab_size": 32000 | |
| } | |