Push model using huggingface_hub.
Browse files- README.md +13 -3
- config.json +103 -0
- model.safetensors +3 -0
README.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: designet
|
| 3 |
+
tags:
|
| 4 |
+
- font-generation
|
| 5 |
+
- model_hub_mixin
|
| 6 |
+
- pytorch_model_hub_mixin
|
| 7 |
+
- svg
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
|
| 11 |
+
- Code: https://github.com/TomasGuija/DesigNet
|
| 12 |
+
- Paper: [More Information Needed]
|
| 13 |
+
- Docs: [More Information Needed]
|
config.json
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_path": "fontia.genai.model.lightning_module.FontConditionalSVGVAE",
|
| 3 |
+
"_instantiator": "lightning.pytorch.cli.instantiate_module",
|
| 4 |
+
"aggregator_transformer": true,
|
| 5 |
+
"args_dim": 256,
|
| 6 |
+
"checkpoint_path": null,
|
| 7 |
+
"cross_reconstruction_multiplier": 1.5,
|
| 8 |
+
"d_model": 512,
|
| 9 |
+
"decoding_glyphs": [
|
| 10 |
+
"A",
|
| 11 |
+
"B",
|
| 12 |
+
"C",
|
| 13 |
+
"c",
|
| 14 |
+
"D",
|
| 15 |
+
"d",
|
| 16 |
+
"E",
|
| 17 |
+
"F",
|
| 18 |
+
"f",
|
| 19 |
+
"G",
|
| 20 |
+
"h",
|
| 21 |
+
"I",
|
| 22 |
+
"i",
|
| 23 |
+
"J",
|
| 24 |
+
"j",
|
| 25 |
+
"K",
|
| 26 |
+
"k",
|
| 27 |
+
"L",
|
| 28 |
+
"l",
|
| 29 |
+
"M",
|
| 30 |
+
"N",
|
| 31 |
+
"n",
|
| 32 |
+
"O",
|
| 33 |
+
"o",
|
| 34 |
+
"P",
|
| 35 |
+
"p",
|
| 36 |
+
"Q",
|
| 37 |
+
"q",
|
| 38 |
+
"R",
|
| 39 |
+
"S",
|
| 40 |
+
"s",
|
| 41 |
+
"T",
|
| 42 |
+
"t",
|
| 43 |
+
"U",
|
| 44 |
+
"V",
|
| 45 |
+
"v",
|
| 46 |
+
"W",
|
| 47 |
+
"w",
|
| 48 |
+
"X",
|
| 49 |
+
"x",
|
| 50 |
+
"Y",
|
| 51 |
+
"y",
|
| 52 |
+
"Z",
|
| 53 |
+
"z"
|
| 54 |
+
],
|
| 55 |
+
"dim_feedforward": 1024,
|
| 56 |
+
"dim_z": 512,
|
| 57 |
+
"discrete_arguments": false,
|
| 58 |
+
"dropout": 0.1,
|
| 59 |
+
"encoding_glyphs": [
|
| 60 |
+
"H",
|
| 61 |
+
"a",
|
| 62 |
+
"m",
|
| 63 |
+
"b",
|
| 64 |
+
"u",
|
| 65 |
+
"r",
|
| 66 |
+
"g",
|
| 67 |
+
"e"
|
| 68 |
+
],
|
| 69 |
+
"eval_frequency": 10,
|
| 70 |
+
"hierarchical": true,
|
| 71 |
+
"learning_rate": 0.0001,
|
| 72 |
+
"loss_alignment_weight": 1.0,
|
| 73 |
+
"loss_args_weight": 10000,
|
| 74 |
+
"loss_aux_weight": 5000,
|
| 75 |
+
"loss_cmd_weight": 1.0,
|
| 76 |
+
"loss_consistency_weight": 5000,
|
| 77 |
+
"loss_continuity_weight": 1.0,
|
| 78 |
+
"loss_visibility_weight": 1.0,
|
| 79 |
+
"max_evaluation_batches": 10,
|
| 80 |
+
"max_num_groups": 4,
|
| 81 |
+
"max_seq_len": 32,
|
| 82 |
+
"max_total_len": 64,
|
| 83 |
+
"n_args": 8,
|
| 84 |
+
"n_commands": 5,
|
| 85 |
+
"n_heads": 16,
|
| 86 |
+
"n_layers": 10,
|
| 87 |
+
"n_layers_decode": 10,
|
| 88 |
+
"normalized_coords": true,
|
| 89 |
+
"num_decode_cross_set": null,
|
| 90 |
+
"num_decode_ref_set": null,
|
| 91 |
+
"num_decoding_glyphs": 44,
|
| 92 |
+
"num_encoding_glyphs": 8,
|
| 93 |
+
"num_groups_proposal": 4,
|
| 94 |
+
"predict_alignment": true,
|
| 95 |
+
"predict_continuity": true,
|
| 96 |
+
"rel_targets": false,
|
| 97 |
+
"train_with_refinement": false,
|
| 98 |
+
"use_aux_points": true,
|
| 99 |
+
"use_point_posenc": false,
|
| 100 |
+
"warmup_steps": 500,
|
| 101 |
+
"weight_decay": 0.0,
|
| 102 |
+
"weights": null
|
| 103 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f4f950f4b0dc959cd57d64a95e0302986e4a79ce76baf5ca31f182c7ca0a0c41
|
| 3 |
+
size 434626796
|