Instructions to use av-codes/Supra-50M-Instruct-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use av-codes/Supra-50M-Instruct-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'av-codes/Supra-50M-Instruct-ONNX');
| { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 0, | |
| "dtype": "float32", | |
| "eos_token_id": 2, | |
| "head_dim": 64, | |
| "hidden_act": "silu", | |
| "hidden_size": 512, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 1408, | |
| "max_position_embeddings": 1024, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 8, | |
| "num_hidden_layers": 12, | |
| "num_key_value_heads": 4, | |
| "pad_token_id": 1, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-06, | |
| "rope_parameters": { | |
| "rope_theta": 10000, | |
| "rope_type": "default" | |
| }, | |
| "rope_scaling": null, | |
| "rope_theta": 10000.0, | |
| "tie_word_embeddings": true, | |
| "transformers_version": "4.57.6", | |
| "use_cache": true, | |
| "vocab_size": 32000 | |
| } | |