Instructions to use isbondarev/Index-1.9B-adv with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use isbondarev/Index-1.9B-adv with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="isbondarev/Index-1.9B-adv", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("isbondarev/Index-1.9B-adv", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "architectures": [ | |
| "IndexForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "auto_map": { | |
| "AutoConfig": "configuration_index.IndexConfig", | |
| "AutoModel": "modeling_index.IndexForCausalLM", | |
| "AutoModelForCausalLM": "modeling_index.IndexForCausalLM", | |
| "AutoModelForSequenceClassification": "modeling_index.IndexForSequenceClassification" | |
| }, | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "hidden_act": "silu", | |
| "hidden_size": 2048, | |
| "initializer_range": 0.01, | |
| "intermediate_size": 5888, | |
| "max_length": null, | |
| "max_position_embeddings": 4096, | |
| "model_type": "index", | |
| "norm_head": 1, | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 36, | |
| "num_key_value_heads": 16, | |
| "pad_token_id": 0, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-06, | |
| "rope_scaling": null, | |
| "rope_theta": 10000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.55.0", | |
| "use_cache": true, | |
| "vocab_size": 65029 | |
| } | |