Sarvesh2003 commited on
Commit
450d342
·
verified ·
1 Parent(s): 7db6692

Upload model after epoch 3

Browse files
Files changed (3) hide show
  1. README.md +10 -1
  2. adapter_config.json +3 -3
  3. adapter_model.safetensors +1 -1
README.md CHANGED
@@ -13,8 +13,17 @@ This model is a fine-tuned version of microsoft/Florence-2-base for price predic
13
 
14
  ## Training Details
15
  - Epoch: 3
16
- - Training Loss: N/A
17
  - SMAPE: N/A
18
 
19
  ## Model Description
20
  This is a LoRA fine-tuned Florence-2 model that predicts prices from images and catalog text.
 
 
 
 
 
 
 
 
 
 
13
 
14
  ## Training Details
15
  - Epoch: 3
16
+ - Training Loss: 10.0511
17
  - SMAPE: N/A
18
 
19
  ## Model Description
20
  This is a LoRA fine-tuned Florence-2 model that predicts prices from images and catalog text.
21
+
22
+ ## Usage
23
+ ```python
24
+ from transformers import AutoProcessor, AutoModelForCausalLM
25
+ from peft import PeftModel
26
+
27
+ processor = AutoProcessor.from_pretrained("Sarvesh2003/florence2-price-prediction-epoch3", trust_remote_code=True)
28
+ model = AutoModelForCausalLM.from_pretrained("Sarvesh2003/florence2-price-prediction-epoch3", trust_remote_code=True)
29
+ ```
adapter_config.json CHANGED
@@ -25,10 +25,10 @@
25
  "rank_pattern": {},
26
  "revision": null,
27
  "target_modules": [
28
- "k_proj",
29
  "q_proj",
30
- "out_proj",
31
- "v_proj"
 
32
  ],
33
  "target_parameters": null,
34
  "task_type": "CAUSAL_LM",
 
25
  "rank_pattern": {},
26
  "revision": null,
27
  "target_modules": [
 
28
  "q_proj",
29
+ "v_proj",
30
+ "k_proj",
31
+ "out_proj"
32
  ],
33
  "target_parameters": null,
34
  "task_type": "CAUSAL_LM",
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dbd57442f8afa491b294a2a7bf3d7bff735062063d1c434df6acec0f18c0c627
3
  size 3561144
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95dd210fd6ba55275ed9bc3a1d81743f6c6dfbf1bfd5809858438945dd5f1cfe
3
  size 3561144