Instructions to use knc6/diffractgpt_mistral_chemical_formula with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use knc6/diffractgpt_mistral_chemical_formula with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/mistral-7b-bnb-4bit") model = PeftModel.from_pretrained(base_model, "knc6/diffractgpt_mistral_chemical_formula") - Notebooks
- Google Colab
- Kaggle
Upload 11 files
Browse filesUsing find_peaks method instead of binning
- README.md +2 -2
- adapter_config.json +8 -3
- adapter_model.safetensors +1 -1
- rng_state.pth +2 -2
- scheduler.pt +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +3 -2
- trainer_state.json +0 -0
- training_args.bin +2 -2
README.md
CHANGED
|
@@ -21,7 +21,7 @@ pipeline_tag: text-generation
|
|
| 21 |
<!-- Provide a longer summary of what this model is. -->
|
| 22 |
|
| 23 |
|
| 24 |
-
GitHub: [https://github.com/
|
| 25 |
|
| 26 |
|
| 27 |
[Example colab notebook](https://colab.research.google.com/github/knc6/jarvis-tools-notebooks/blob/master/jarvis-tools-notebooks/DiffractGPT_example.ipynb)
|
|
@@ -34,4 +34,4 @@ Reference: [Choudhary, K. (2025). DiffractGPT: Atomic Structure Determination fr
|
|
| 34 |
-
|
| 35 |
### Framework versions
|
| 36 |
|
| 37 |
-
- PEFT 0.11.1
|
|
|
|
| 21 |
<!-- Provide a longer summary of what this model is. -->
|
| 22 |
|
| 23 |
|
| 24 |
+
GitHub: [https://github.com/atomgptlab/atomgpt](https://github.com/atomgptlab/atomgpt)
|
| 25 |
|
| 26 |
|
| 27 |
[Example colab notebook](https://colab.research.google.com/github/knc6/jarvis-tools-notebooks/blob/master/jarvis-tools-notebooks/DiffractGPT_example.ipynb)
|
|
|
|
| 34 |
-
|
| 35 |
### Framework versions
|
| 36 |
|
| 37 |
+
- PEFT 0.11.1
|
adapter_config.json
CHANGED
|
@@ -3,6 +3,9 @@
|
|
| 3 |
"auto_mapping": null,
|
| 4 |
"base_model_name_or_path": "unsloth/mistral-7b-bnb-4bit",
|
| 5 |
"bias": "none",
|
|
|
|
|
|
|
|
|
|
| 6 |
"fan_in_fan_out": false,
|
| 7 |
"inference_mode": true,
|
| 8 |
"init_lora_weights": true,
|
|
@@ -11,6 +14,7 @@
|
|
| 11 |
"layers_to_transform": null,
|
| 12 |
"loftq_config": {},
|
| 13 |
"lora_alpha": 16,
|
|
|
|
| 14 |
"lora_dropout": 0,
|
| 15 |
"megatron_config": null,
|
| 16 |
"megatron_core": "megatron.core",
|
|
@@ -20,15 +24,16 @@
|
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": "unsloth",
|
| 22 |
"target_modules": [
|
| 23 |
-
"o_proj",
|
| 24 |
-
"down_proj",
|
| 25 |
"k_proj",
|
|
|
|
|
|
|
| 26 |
"gate_proj",
|
|
|
|
| 27 |
"v_proj",
|
| 28 |
-
"up_proj",
|
| 29 |
"q_proj"
|
| 30 |
],
|
| 31 |
"task_type": "CAUSAL_LM",
|
|
|
|
| 32 |
"use_dora": false,
|
| 33 |
"use_rslora": false
|
| 34 |
}
|
|
|
|
| 3 |
"auto_mapping": null,
|
| 4 |
"base_model_name_or_path": "unsloth/mistral-7b-bnb-4bit",
|
| 5 |
"bias": "none",
|
| 6 |
+
"corda_config": null,
|
| 7 |
+
"eva_config": null,
|
| 8 |
+
"exclude_modules": null,
|
| 9 |
"fan_in_fan_out": false,
|
| 10 |
"inference_mode": true,
|
| 11 |
"init_lora_weights": true,
|
|
|
|
| 14 |
"layers_to_transform": null,
|
| 15 |
"loftq_config": {},
|
| 16 |
"lora_alpha": 16,
|
| 17 |
+
"lora_bias": false,
|
| 18 |
"lora_dropout": 0,
|
| 19 |
"megatron_config": null,
|
| 20 |
"megatron_core": "megatron.core",
|
|
|
|
| 24 |
"rank_pattern": {},
|
| 25 |
"revision": "unsloth",
|
| 26 |
"target_modules": [
|
|
|
|
|
|
|
| 27 |
"k_proj",
|
| 28 |
+
"o_proj",
|
| 29 |
+
"up_proj",
|
| 30 |
"gate_proj",
|
| 31 |
+
"down_proj",
|
| 32 |
"v_proj",
|
|
|
|
| 33 |
"q_proj"
|
| 34 |
],
|
| 35 |
"task_type": "CAUSAL_LM",
|
| 36 |
+
"trainable_token_indices": null,
|
| 37 |
"use_dora": false,
|
| 38 |
"use_rslora": false
|
| 39 |
}
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 167832240
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f407df328dcc7de471bdd8299ffbf4f5d4f1046239580e766a6deb41ca3a5e4c
|
| 3 |
size 167832240
|
rng_state.pth
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:970a62c4f75fcd3141cd65bafc6a0ed5fea8af10d5e699bc9be375d3b2bc590a
|
| 3 |
+
size 14645
|
scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a229d81f45ad72927d12abd5a73ffa2bf373baf96cbb377579190d17c1e3d08
|
| 3 |
+
size 1465
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
CHANGED
|
@@ -32,10 +32,11 @@
|
|
| 32 |
"bos_token": "<s>",
|
| 33 |
"clean_up_tokenization_spaces": false,
|
| 34 |
"eos_token": "</s>",
|
|
|
|
| 35 |
"legacy": false,
|
| 36 |
-
"model_max_length":
|
| 37 |
"pad_token": "<unk>",
|
| 38 |
-
"padding_side": "
|
| 39 |
"sp_model_kwargs": {},
|
| 40 |
"spaces_between_special_tokens": false,
|
| 41 |
"tokenizer_class": "LlamaTokenizer",
|
|
|
|
| 32 |
"bos_token": "<s>",
|
| 33 |
"clean_up_tokenization_spaces": false,
|
| 34 |
"eos_token": "</s>",
|
| 35 |
+
"extra_special_tokens": {},
|
| 36 |
"legacy": false,
|
| 37 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 38 |
"pad_token": "<unk>",
|
| 39 |
+
"padding_side": "left",
|
| 40 |
"sp_model_kwargs": {},
|
| 41 |
"spaces_between_special_tokens": false,
|
| 42 |
"tokenizer_class": "LlamaTokenizer",
|
trainer_state.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a29ae963b1cd9c79b2ed60136cd8fd78a6446f1f675085136151e1354e942950
|
| 3 |
+
size 5969
|