cankruscan commited on
Commit
7b58a96
·
verified ·
1 Parent(s): b4a6b2c

Add files using upload-large-folder tool

Browse files
Files changed (3) hide show
  1. README.md +18 -3
  2. provenance.json +1 -1
  3. release_manifest.json +4 -4
README.md CHANGED
@@ -141,7 +141,10 @@ model = AutoModelForCausalLM.from_pretrained(
141
  )
142
 
143
  messages = [
144
- {"role": "user", "content": "ช่วยเตือนให้ฉันทานยาพรุ่งนี้เวลา 8 โมงเช้า"},
 
 
 
145
  ]
146
  inputs = tokenizer.apply_chat_template(
147
  messages,
@@ -152,6 +155,15 @@ outputs = model.generate(inputs, generation_config=model.generation_config)
152
  print(tokenizer.decode(outputs[0, inputs.shape[-1]:], skip_special_tokens=True))
153
  ```
154
 
 
 
 
 
 
 
 
 
 
155
  To load the original MedApp checkpoint, use `revision="v1.0.0"`.
156
 
157
  ## Serving with vLLM
@@ -167,8 +179,11 @@ vllm serve ThaiLLM/ThaiLLM-8B-MedApp \
167
  ```
168
 
169
  When `--generation-config vllm` is used, send the stabilized sampling values in
170
- each request. Validate tool names and arguments against your schema, obtain any
171
- required user authorization, and make tool execution idempotent where possible.
 
 
 
172
 
173
  ## Intended use
174
 
 
141
  )
142
 
143
  messages = [
144
+ {
145
+ "role": "user",
146
+ "content": "ฉันเป็นผู้ใหญ่ ช่วงนี้นอนไม่ค่อยหลับ ควรเริ่มดูแลตัวเองอย่างไร",
147
+ },
148
  ]
149
  inputs = tokenizer.apply_chat_template(
150
  messages,
 
155
  print(tokenizer.decode(outputs[0, inputs.shape[-1]:], skip_special_tokens=True))
156
  ```
157
 
158
+ This basic Transformers example demonstrates conversation only. For structured
159
+ tool calling, serve the model with an OpenAI-compatible endpoint and provide
160
+ the request's JSON tool schema. When a request contains a relative time such as
161
+ "tomorrow," the application must either provide a trusted current datetime
162
+ and timezone or resolve the request to an explicit timezone-aware datetime
163
+ before calling the model. Never execute a guessed or stale timestamp. Require
164
+ RFC 3339 with a numeric UTC offset, validate the tool name and arguments
165
+ against the schema, and obtain user authorization before execution.
166
+
167
  To load the original MedApp checkpoint, use `revision="v1.0.0"`.
168
 
169
  ## Serving with vLLM
 
179
  ```
180
 
181
  When `--generation-config vllm` is used, send the stabilized sampling values in
182
+ each request. For relative dates and times, supply a trusted current datetime
183
+ and timezone or request clarification; require a timezone-aware RFC 3339 value
184
+ before execution. Validate tool names and arguments against your schema, obtain
185
+ any required user authorization, reject stale or guessed timestamps, and make
186
+ tool execution idempotent where possible.
187
 
188
  ## Intended use
189
 
provenance.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "created_at": "2026-08-06T15:51:20.173283+00:00",
3
  "evaluation_binding": {
4
  "note": "Historical evaluation manifests recorded the selected model path but did not hash its weight files. This release manifest is the first content-addressed fingerprint of that selected output.",
5
  "release_manifest_created_after_evaluation": true,
 
1
  {
2
+ "created_at": "2026-08-12T11:44:16.000183+00:00",
3
  "evaluation_binding": {
4
  "note": "Historical evaluation manifests recorded the selected model path but did not hash its weight files. This release manifest is the first content-addressed fingerprint of that selected output.",
5
  "release_manifest_created_after_evaluation": true,
release_manifest.json CHANGED
@@ -1,11 +1,11 @@
1
  {
2
  "baseline_main_sha": "95e93ca22bf8fdc4d7124872615c1d5df002dfa4",
3
- "created_at": "2026-08-06T15:51:33.406461+00:00",
4
  "files": [
5
  {
6
  "path": "README.md",
7
- "sha256": "6713897d69dee7f72d141233c26d6c5bdaf2a1f6b21a59169999e25355e003bb",
8
- "size": 8409
9
  },
10
  {
11
  "path": "added_tokens.json",
@@ -69,7 +69,7 @@
69
  },
70
  {
71
  "path": "provenance.json",
72
- "sha256": "f8e451ef4227931099bb6e86948b2571a3a5ee8572f3ddfb35461233e254093f",
73
  "size": 1454
74
  },
75
  {
 
1
  {
2
  "baseline_main_sha": "95e93ca22bf8fdc4d7124872615c1d5df002dfa4",
3
+ "created_at": "2026-08-12T11:44:43.025697+00:00",
4
  "files": [
5
  {
6
  "path": "README.md",
7
+ "sha256": "6aaa0ed6bbc9c42dfdc7f984b806c141a6575e1e88a8182087ec245b4642a790",
8
+ "size": 9297
9
  },
10
  {
11
  "path": "added_tokens.json",
 
69
  },
70
  {
71
  "path": "provenance.json",
72
+ "sha256": "153dfb05cf67839cc1c26a4ded92b94995ce654a6a681bec88c67dc678575195",
73
  "size": 1454
74
  },
75
  {