Instructions to use exact-railcar/nvidia with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use exact-railcar/nvidia with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("exact-railcar/nvidia", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Delete config.json
Browse files- config.json +0 -58
config.json
DELETED
|
@@ -1,58 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"architectures": [
|
| 3 |
-
"UMT5Model"
|
| 4 |
-
],
|
| 5 |
-
"classifier_dropout": 0.0,
|
| 6 |
-
"d_ff": 10240,
|
| 7 |
-
"d_kv": 64,
|
| 8 |
-
"d_model": 4096,
|
| 9 |
-
"decoder_start_token_id": 0,
|
| 10 |
-
"dense_act_fn": "gelu_new",
|
| 11 |
-
"dropout_rate": 0.1,
|
| 12 |
-
"dtype": "bfloat16",
|
| 13 |
-
"eos_token_id": 1,
|
| 14 |
-
"feed_forward_proj": "gated-gelu",
|
| 15 |
-
"initializer_factor": 1.0,
|
| 16 |
-
"is_decoder": false,
|
| 17 |
-
"is_encoder_decoder": true,
|
| 18 |
-
"is_gated_act": true,
|
| 19 |
-
"layer_norm_epsilon": 1e-06,
|
| 20 |
-
"model_type": "umt5",
|
| 21 |
-
"num_decoder_layers": 24,
|
| 22 |
-
"num_heads": 64,
|
| 23 |
-
"num_layers": 24,
|
| 24 |
-
"output_past": true,
|
| 25 |
-
"pad_token_id": 0,
|
| 26 |
-
"quantization_config": {
|
| 27 |
-
"include_input_output_embeddings": false,
|
| 28 |
-
"modules_to_not_convert": null,
|
| 29 |
-
"quant_method": "torchao",
|
| 30 |
-
"quant_type": {
|
| 31 |
-
"default": {
|
| 32 |
-
"_data": {
|
| 33 |
-
"group_size": 128,
|
| 34 |
-
"int4_choose_qparams_algorithm": {
|
| 35 |
-
"_data": "TINYGEMM",
|
| 36 |
-
"_type": "Int4ChooseQParamsAlgorithm"
|
| 37 |
-
},
|
| 38 |
-
"int4_packing_format": {
|
| 39 |
-
"_data": "PLAIN",
|
| 40 |
-
"_type": "Int4PackingFormat"
|
| 41 |
-
},
|
| 42 |
-
"set_inductor_config": true
|
| 43 |
-
},
|
| 44 |
-
"_type": "Int4WeightOnlyConfig",
|
| 45 |
-
"_version": 2
|
| 46 |
-
}
|
| 47 |
-
},
|
| 48 |
-
"untie_embedding_weights": false
|
| 49 |
-
},
|
| 50 |
-
"relative_attention_max_distance": 128,
|
| 51 |
-
"relative_attention_num_buckets": 32,
|
| 52 |
-
"scalable_attention": true,
|
| 53 |
-
"tie_word_embeddings": true,
|
| 54 |
-
"tokenizer_class": "T5Tokenizer",
|
| 55 |
-
"transformers_version": "5.19.0",
|
| 56 |
-
"use_cache": true,
|
| 57 |
-
"vocab_size": 256384
|
| 58 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|