Obrempong77 commited on
Commit
899cfff
·
verified ·
1 Parent(s): 204d6dc

End of training

Browse files
README.md CHANGED
@@ -19,7 +19,7 @@ It has been trained using [TRL](https://github.com/huggingface/trl).
19
  ```python
20
  from transformers import pipeline
21
 
22
- question = "I have a persistent cough, night sweats, and recent weight loss. I’ve been to multiple doctors with no diagnosis yet. Could these symptoms be related to tuberculosis or another serious illness? "
23
  generator = pipeline("text-generation", model="Obrempong77/Gemma-2-9b-it-Healthchat-DoctorResearch", device="cuda")
24
  output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
25
  print(output["generated_text"])
 
19
  ```python
20
  from transformers import pipeline
21
 
22
+ question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
23
  generator = pipeline("text-generation", model="Obrempong77/Gemma-2-9b-it-Healthchat-DoctorResearch", device="cuda")
24
  output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
25
  print(output["generated_text"])
adapter_config.json CHANGED
@@ -23,13 +23,13 @@
23
  "rank_pattern": {},
24
  "revision": null,
25
  "target_modules": [
26
- "k_proj",
27
- "v_proj",
28
- "up_proj",
29
  "q_proj",
 
 
30
  "down_proj",
31
  "gate_proj",
32
- "o_proj"
 
33
  ],
34
  "task_type": "CAUSAL_LM",
35
  "use_dora": false,
 
23
  "rank_pattern": {},
24
  "revision": null,
25
  "target_modules": [
 
 
 
26
  "q_proj",
27
+ "up_proj",
28
+ "o_proj",
29
  "down_proj",
30
  "gate_proj",
31
+ "k_proj",
32
+ "v_proj"
33
  ],
34
  "task_type": "CAUSAL_LM",
35
  "use_dora": false,
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cb3d5364bd74ed862d34b63a2136f72380cd1752e6cb44ed9331171c66b5bb26
3
  size 3886196160
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1fcb37e51e50e33d6e8393ac234ae12f4fa1ff648b15e8a3177b9ddd0825dc15
3
  size 3886196160
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0a36d7b232f8c3260fe914775939cdc9a31314ec80520d0d421309bcadb57c5e
3
  size 5624
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0126706dca6ce3fe560b6ea2c107e50582f8fd1933e40b48e069ec501262ff9a
3
  size 5624