update
Browse files- .DS_Store +0 -0
- README.md +5 -5
- config.json +1 -1
- model-00001-of-00004.safetensors +1 -1
- model-00002-of-00004.safetensors +1 -1
- model-00003-of-00004.safetensors +1 -1
- model-00004-of-00004.safetensors +1 -1
.DS_Store
ADDED
|
Binary file (6.15 kB). View file
|
|
|
README.md
CHANGED
|
@@ -30,12 +30,12 @@ torch.set_default_device(device)
|
|
| 30 |
|
| 31 |
# create model
|
| 32 |
model = AutoModelForCausalLM.from_pretrained(
|
| 33 |
-
'NaughtyDog97/FormalEnhencedGPS',
|
| 34 |
torch_dtype=torch.float16, # float32 for cpu
|
| 35 |
device_map='auto',
|
| 36 |
trust_remote_code=True)
|
| 37 |
tokenizer = AutoTokenizer.from_pretrained(
|
| 38 |
-
'NaughtyDog97/FormalEnhencedGPS',
|
| 39 |
trust_remote_code=True)
|
| 40 |
|
| 41 |
# text prompt
|
|
@@ -144,12 +144,12 @@ formalization_tokenizer = AutoTokenizer.from_pretrained(
|
|
| 144 |
|
| 145 |
|
| 146 |
reason_model = AutoModelForCausalLM.from_pretrained(
|
| 147 |
-
'NaughtyDog97/FormalEnhencedGPS',
|
| 148 |
torch_dtype=torch.float16, # float32 for cpu
|
| 149 |
device_map='auto',
|
| 150 |
trust_remote_code=True)
|
| 151 |
reason_tokenizer = AutoTokenizer.from_pretrained(
|
| 152 |
-
'NaughtyDog97/FormalEnhencedGPS',
|
| 153 |
trust_remote_code=True)
|
| 154 |
|
| 155 |
|
|
@@ -229,4 +229,4 @@ print(f'Reasoning steps is\n{respones}')
|
|
| 229 |
## Performance
|
| 230 |
| | Q => Predicted CDL + CoT Answer | Q + Predicted CDL => CoT Answer | Q + Predicted CDL => Calibrated CDL + CoT Answer |
|
| 231 |
|-----|-------------------------------------|--------------------------------------|------------------------------------------------------|
|
| 232 |
-
| siglip-0.4B-yi1.5-9B |
|
|
|
|
| 30 |
|
| 31 |
# create model
|
| 32 |
model = AutoModelForCausalLM.from_pretrained(
|
| 33 |
+
'NaughtyDog97/FormalEnhencedGPS-9B',
|
| 34 |
torch_dtype=torch.float16, # float32 for cpu
|
| 35 |
device_map='auto',
|
| 36 |
trust_remote_code=True)
|
| 37 |
tokenizer = AutoTokenizer.from_pretrained(
|
| 38 |
+
'NaughtyDog97/FormalEnhencedGPS-9B',
|
| 39 |
trust_remote_code=True)
|
| 40 |
|
| 41 |
# text prompt
|
|
|
|
| 144 |
|
| 145 |
|
| 146 |
reason_model = AutoModelForCausalLM.from_pretrained(
|
| 147 |
+
'NaughtyDog97/FormalEnhencedGPS-9B',
|
| 148 |
torch_dtype=torch.float16, # float32 for cpu
|
| 149 |
device_map='auto',
|
| 150 |
trust_remote_code=True)
|
| 151 |
reason_tokenizer = AutoTokenizer.from_pretrained(
|
| 152 |
+
'NaughtyDog97/FormalEnhencedGPS-9B',
|
| 153 |
trust_remote_code=True)
|
| 154 |
|
| 155 |
|
|
|
|
| 229 |
## Performance
|
| 230 |
| | Q => Predicted CDL + CoT Answer | Q + Predicted CDL => CoT Answer | Q + Predicted CDL => Calibrated CDL + CoT Answer |
|
| 231 |
|-----|-------------------------------------|--------------------------------------|------------------------------------------------------|
|
| 232 |
+
| siglip-0.4B-yi1.5-9B | 63.92/73.30 | 63.59/74.27 | 65.05/75.24 |
|
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "NaughtyDog97/FormalEnhencedGPS",
|
| 3 |
"architectures": [
|
| 4 |
"FegeoLlamaForCausalLM"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "NaughtyDog97/FormalEnhencedGPS-9B",
|
| 3 |
"architectures": [
|
| 4 |
"FegeoLlamaForCausalLM"
|
| 5 |
],
|
model-00001-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4932711424
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4640f5225211cd2970e17cf317b6e683838e6da1a3616ff78a28db1ddf11b42e
|
| 3 |
size 4932711424
|
model-00002-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4976802816
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dff9b772643a68aa6f5e3d62d5e79ee2147630f51178d2a3dc14dccca5403248
|
| 3 |
size 4976802816
|
model-00003-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4968397360
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e396a976a276519a06e387becddf37bf9989b09605e62ec6450cfc0839681a5e
|
| 3 |
size 4968397360
|
model-00004-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3619523440
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f2c1bac719121955a03b9218180500f1799fc3d1a07647d6519b7724da450007
|
| 3 |
size 3619523440
|