recoilme commited on
Commit
fbc8bfe
·
1 Parent(s): bc41089
result_grid.jpg → result_grid.png RENAMED
File without changes
samples/unet_320x640_0.jpg CHANGED

Git LFS Details

  • SHA256: dd5a83d11a6bce0f2c54f5f9035896c9ac5c2682b3399ffa7e06a5622cfc5249
  • Pointer size: 130 Bytes
  • Size of remote file: 47.5 kB

Git LFS Details

  • SHA256: be3a9abe999898f21a2ed5019153151de1a9d7c11f21076f317e992708825d8f
  • Pointer size: 130 Bytes
  • Size of remote file: 56.4 kB
samples/unet_384x640_0.jpg CHANGED

Git LFS Details

  • SHA256: fade58633f25e57869f365cb30e2a7c15a4df46321e1381c8851a153371b348e
  • Pointer size: 130 Bytes
  • Size of remote file: 57.3 kB

Git LFS Details

  • SHA256: 743871eedd47fd37674b127ffe8e7fa6f75692ea9ad7c068b877eca1c06f87f3
  • Pointer size: 130 Bytes
  • Size of remote file: 66.4 kB
samples/unet_448x640_0.jpg CHANGED

Git LFS Details

  • SHA256: 48c90f35036d072422d2ba36aa0c9cc7508894ae514b639ddc79635deeeaecb9
  • Pointer size: 131 Bytes
  • Size of remote file: 135 kB

Git LFS Details

  • SHA256: ec1faba4e9f855cea3d90c85b2826b74d838c58a503c3adbab44056699873ae4
  • Pointer size: 131 Bytes
  • Size of remote file: 162 kB
samples/unet_512x640_0.jpg CHANGED

Git LFS Details

  • SHA256: 96d2d1121bd3e991ea20d9131675e34e6a233f61c0a39eb74579690f43725972
  • Pointer size: 131 Bytes
  • Size of remote file: 159 kB

Git LFS Details

  • SHA256: a8ab75cbfebfea68fd4009f6f4dbf8776778965b7a0d5352bf5f98ca1d065378
  • Pointer size: 131 Bytes
  • Size of remote file: 146 kB
samples/unet_576x640_0.jpg CHANGED

Git LFS Details

  • SHA256: 141b5815914a8dc56c61d767962f7afb46311c483c0190dcdb9c016510c0f587
  • Pointer size: 131 Bytes
  • Size of remote file: 207 kB

Git LFS Details

  • SHA256: 0c9469c88cd3365a36a30d5ef646d274cfcb656d34b9f42745b682ed77fcd46f
  • Pointer size: 131 Bytes
  • Size of remote file: 233 kB
samples/unet_640x320_0.jpg CHANGED

Git LFS Details

  • SHA256: c1a2a3f13a195623e9640ab068761d36114074a6907f4cb26d264b9f747b914d
  • Pointer size: 130 Bytes
  • Size of remote file: 62.3 kB

Git LFS Details

  • SHA256: e479318db9ab11bc17a90901c6878aab91af7d0106408c8c587d07f5c126291e
  • Pointer size: 130 Bytes
  • Size of remote file: 84.5 kB
samples/unet_640x384_0.jpg CHANGED

Git LFS Details

  • SHA256: 04be541886e3cccba88c49f1cf6881ca51174c5a9a937abfe86fff43a453ea61
  • Pointer size: 130 Bytes
  • Size of remote file: 90.1 kB

Git LFS Details

  • SHA256: 180b9d0dc930e4b502f2ecdcde9cfecb61f6de640d96fe2de2b3fe60116831bf
  • Pointer size: 130 Bytes
  • Size of remote file: 98.2 kB
samples/unet_640x448_0.jpg CHANGED

Git LFS Details

  • SHA256: 6885980d8bd4674ae9767e95d62b53a03a88c7cafd11980d9ae07160b4bfccdd
  • Pointer size: 131 Bytes
  • Size of remote file: 117 kB

Git LFS Details

  • SHA256: e873edd68f2040b14457b3d09c69a25a45877f5f1db0320a9960d62fbbd4f382
  • Pointer size: 131 Bytes
  • Size of remote file: 116 kB
samples/unet_640x512_0.jpg CHANGED

Git LFS Details

  • SHA256: 5aa7f490462713a019fc265e7357e5cf274d5d8b64474ef214077cd089e62c74
  • Pointer size: 131 Bytes
  • Size of remote file: 141 kB

Git LFS Details

  • SHA256: eaed29573fbdec29963170d898d40aa9edba5db959f339caae3357a904500064
  • Pointer size: 131 Bytes
  • Size of remote file: 183 kB
samples/unet_640x576_0.jpg CHANGED

Git LFS Details

  • SHA256: 51987e2d6d4fc11348322dc4ea35517beb89b87f46ff3016faedd5c4f19ea3bc
  • Pointer size: 131 Bytes
  • Size of remote file: 122 kB

Git LFS Details

  • SHA256: dd7f20326b74f5b21a1d399cdbac3f68feca20b3ccb34cda181995066bc7725e
  • Pointer size: 131 Bytes
  • Size of remote file: 172 kB
samples/unet_640x640_0.jpg CHANGED

Git LFS Details

  • SHA256: 4adc04a73fcb6389a0ac18effe4880f50be2d819a19791b9d83c8a15b377fe00
  • Pointer size: 131 Bytes
  • Size of remote file: 179 kB

Git LFS Details

  • SHA256: d4ffb73d3614f91f2ca47a84cc47c7d28890c20fafb262b309507799b6ed54fc
  • Pointer size: 131 Bytes
  • Size of remote file: 156 kB
src/model_create.ipynb CHANGED
@@ -625,7 +625,7 @@
625
  "name": "python",
626
  "nbconvert_exporter": "python",
627
  "pygments_lexer": "ipython3",
628
- "version": "3.11.11"
629
  }
630
  },
631
  "nbformat": 4,
 
625
  "name": "python",
626
  "nbconvert_exporter": "python",
627
  "pygments_lexer": "ipython3",
628
+ "version": "3.12.3"
629
  }
630
  },
631
  "nbformat": 4,
src/sample-Copy1.ipynb DELETED
The diff for this file is too large to render. See raw diff
 
src/sample.ipynb CHANGED
The diff for this file is too large to render. See raw diff
 
text_encoder/config.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2c0adcad14f37d1cac621fa7983257dd0e0bfeeebb6e123c3998fc03dceac34a
3
- size 1353
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39738c799f70b98f75dace818f14bfffb0b34fad25d41b80b6236e20a731c740
3
+ size 1359
text_encoder/generation_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3e057bbca66b92f33a8bdc6a1301014e0e4ab69b3b3fd2e442d9fe0c69f3431
3
+ size 214
text_encoder/model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:091a0fbabf502d6a44e294f907912757b1c8692063e551e21f7f29c989831483
3
- size 1191586112
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3184342876e1e64cd98164dc01aaaf69177a9d0ed80725816e3225977ab2982
3
+ size 1192134784
tokenizer/chat_template.jinja CHANGED
@@ -17,23 +17,27 @@
17
  {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
  {%- for message in messages[::-1] %}
19
  {%- set index = (messages|length - 1) - loop.index0 %}
20
- {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
  {%- set ns.multi_step_tool = false %}
22
  {%- set ns.last_query_index = index %}
23
  {%- endif %}
24
  {%- endfor %}
25
  {%- for message in messages %}
 
 
 
 
 
26
  {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
27
- {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
28
  {%- elif message.role == "assistant" %}
29
- {%- set content = message.content %}
30
  {%- set reasoning_content = '' %}
31
- {%- if message.reasoning_content is defined and message.reasoning_content is not none %}
32
  {%- set reasoning_content = message.reasoning_content %}
33
  {%- else %}
34
- {%- if '</think>' in message.content %}
35
- {%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
36
- {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
37
  {%- endif %}
38
  {%- endif %}
39
  {%- if loop.index0 > ns.last_query_index %}
@@ -70,7 +74,7 @@
70
  {{- '<|im_start|>user' }}
71
  {%- endif %}
72
  {{- '\n<tool_response>\n' }}
73
- {{- message.content }}
74
  {{- '\n</tool_response>' }}
75
  {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
76
  {{- '<|im_end|>\n' }}
 
17
  {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
  {%- for message in messages[::-1] %}
19
  {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
  {%- set ns.multi_step_tool = false %}
22
  {%- set ns.last_query_index = index %}
23
  {%- endif %}
24
  {%- endfor %}
25
  {%- for message in messages %}
26
+ {%- if message.content is string %}
27
+ {%- set content = message.content %}
28
+ {%- else %}
29
+ {%- set content = '' %}
30
+ {%- endif %}
31
  {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
32
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
33
  {%- elif message.role == "assistant" %}
 
34
  {%- set reasoning_content = '' %}
35
+ {%- if message.reasoning_content is string %}
36
  {%- set reasoning_content = message.reasoning_content %}
37
  {%- else %}
38
+ {%- if '</think>' in content %}
39
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
40
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
41
  {%- endif %}
42
  {%- endif %}
43
  {%- if loop.index0 > ns.last_query_index %}
 
74
  {{- '<|im_start|>user' }}
75
  {%- endif %}
76
  {{- '\n<tool_response>\n' }}
77
+ {{- content }}
78
  {{- '\n</tool_response>' }}
79
  {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
80
  {{- '<|im_end|>\n' }}
tokenizer/tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:def76fb086971c7867b829c23a26261e38d9d74e02139253b38aeb9df8b4b50a
3
- size 11423705
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
3
+ size 11422654
tokenizer/tokenizer_config.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ffe7b045351d007df591529681cad1b162859afaa83abc082da65c7e8eb994da
3
- size 5430
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:443bfa629eb16387a12edbf92a76f6a6f10b2af3b53d87ba1550adfcf45f7fa0
3
+ size 5404
unet/config.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fac879374be0c1cd3ffcbfa188e72f50576f25326aada5da077b0fc7af442ad4
3
- size 1874
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:636ed60d2a73b31fe88849234ff578446cd018092fdc9210575893551220bfc3
3
+ size 1887
unet/diffusion_pytorch_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c55df19c8cd3453f5c9099d29c56cc392de95e53c35946f9c8b72daea7ad1ec8
3
- size 6184944280
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8ec1c74913276f691c838b5a85cd65939c4437c0ce1741f69c8c8931dd39112
3
+ size 3092571208