Upload model_info.json with huggingface_hub
Browse files- model_info.json +36 -0
model_info.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"Project Name": "Financial LLaMA Fine-tuning",
|
| 3 |
+
"Base Model": "meta-llama/Meta-Llama-3.1-8B-Instruct",
|
| 4 |
+
"Training Dataset": "Josephgflowers/Finance-Instruct-500k",
|
| 5 |
+
"Fine-tuning Method": "LoRA (Low-Rank Adaptation)",
|
| 6 |
+
"Save Time": "2025-08-08 04:51:47",
|
| 7 |
+
"File List": [
|
| 8 |
+
"README.md",
|
| 9 |
+
"adapter_model.safetensors",
|
| 10 |
+
"adapter_config.json",
|
| 11 |
+
"training_args.bin",
|
| 12 |
+
"chat_template.jinja",
|
| 13 |
+
"tokenizer_config.json",
|
| 14 |
+
"special_tokens_map.json",
|
| 15 |
+
"tokenizer.json",
|
| 16 |
+
"training_config.json",
|
| 17 |
+
"test_results.json"
|
| 18 |
+
],
|
| 19 |
+
"Local Save Path": "C:\\Users\\Timber's Pad\\OneDrive\\Desktop\\JobHunting\\Project2_FineTune\\Project2_FineTune\\FineTuneSave",
|
| 20 |
+
"File Description": {
|
| 21 |
+
"adapter_config.json": "LoRA configuration file",
|
| 22 |
+
"adapter_model.safetensors": "LoRA weight file",
|
| 23 |
+
"tokenizer.json": "Tokenizer file",
|
| 24 |
+
"tokenizer_config.json": "Tokenizer configuration",
|
| 25 |
+
"special_tokens_map.json": "Special token mapping"
|
| 26 |
+
},
|
| 27 |
+
"Usage Instructions": [
|
| 28 |
+
"1. Extract zip file to target folder",
|
| 29 |
+
"2. Use the following code to load the model:",
|
| 30 |
+
" from peft import PeftModel",
|
| 31 |
+
" from transformers import AutoModelForCausalLM, AutoTokenizer",
|
| 32 |
+
" base_model = AutoModelForCausalLM.from_pretrained('meta-llama/Meta-Llama-3.1-8B-Instruct')",
|
| 33 |
+
" model = PeftModel.from_pretrained(base_model, 'path/to/model')",
|
| 34 |
+
" tokenizer = AutoTokenizer.from_pretrained('path/to/model')"
|
| 35 |
+
]
|
| 36 |
+
}
|