Translation
Transformers
Safetensors
English
mistral3
image-text-to-text
code
code-translation
sas
r
python
lora
axolotl
Instructions to use ProCogia/Euclid-2.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ProCogia/Euclid-2.5 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="ProCogia/Euclid-2.5")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("ProCogia/Euclid-2.5") model = AutoModelForMultimodalLM.from_pretrained("ProCogia/Euclid-2.5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,185 Bytes
07accfa | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | {
"dim": 5120,
"n_layers": 40,
"head_dim": 128,
"hidden_dim": 32768,
"n_heads": 32,
"n_kv_heads": 8,
"rope_theta": 100000000.0,
"norm_eps": 1e-05,
"vocab_size": 131072,
"tied_embeddings": false,
"max_position_embeddings": 393216,
"llama_4_scaling": {
"original_max_position_embeddings": 8192,
"beta": 0.1
},
"q_lora_rank": null,
"qk_rope_head_dim": null,
"qk_nope_head_dim": null,
"kv_lora_rank": null,
"v_head_dim": null,
"quantization": {
"qformat_weight": "fp8_e4m3",
"qscheme_act": "TENSOR"
},
"yarn": {
"original_max_position_embeddings": 8192,
"factor": 48,
"apply_scale": false,
"beta": 32,
"alpha": 1
},
"vision_encoder": {
"image_token_id": 10,
"image_break_token_id": 12,
"image_end_token_id": 13,
"intermediate_size": 4096,
"num_hidden_layers": 24,
"num_attention_heads": 16,
"mm_projector_id": "patch_merge",
"spatial_merge_size": 2,
"hidden_size": 1024,
"num_channels": 3,
"image_size": 1540,
"max_image_size": 1540,
"patch_size": 14,
"rope_theta": 10000.0,
"add_pre_mm_projector_layer_norm": true,
"adapter_bias": false
}
} |