winnieyangwannan commited on
Commit
a5f03a1
·
verified ·
1 Parent(s): 974dd4a

Model save

Browse files
Files changed (1) hide show
  1. README.md +4 -8
README.md CHANGED
@@ -1,19 +1,15 @@
1
  ---
2
  base_model: google/gemma-2-9b-it
3
  library_name: transformers
4
- model_name: gemma-2-9b-it-honest_lying-sft_to_honest-lora_True
5
  tags:
6
  - generated_from_trainer
7
- - gemma-2-9b-it
8
- - honest_lying
9
- - sft_to_honest
10
- - lora_True
11
  - trl
12
  - sft
13
  licence: license
14
  ---
15
 
16
- # Model Card for gemma-2-9b-it-honest_lying-sft_to_honest-lora_True
17
 
18
  This model is a fine-tuned version of [google/gemma-2-9b-it](https://huggingface.co/google/gemma-2-9b-it).
19
  It has been trained using [TRL](https://github.com/huggingface/trl).
@@ -24,14 +20,14 @@ It has been trained using [TRL](https://github.com/huggingface/trl).
24
  from transformers import pipeline
25
 
26
  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?"
27
- generator = pipeline("text-generation", model="winnieyangwannan/gemma-2-9b-it-honest_lying-sft_to_honest-lora_True", device="cuda")
28
  output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
29
  print(output["generated_text"])
30
  ```
31
 
32
  ## Training procedure
33
 
34
- [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/winnie96/huggingface/runs/kw2y3464)
35
 
36
 
37
  This model was trained with SFT.
 
1
  ---
2
  base_model: google/gemma-2-9b-it
3
  library_name: transformers
4
+ model_name: gemma-2-9b-it_honest_lying_sft_to_honest_lora_True
5
  tags:
6
  - generated_from_trainer
 
 
 
 
7
  - trl
8
  - sft
9
  licence: license
10
  ---
11
 
12
+ # Model Card for gemma-2-9b-it_honest_lying_sft_to_honest_lora_True
13
 
14
  This model is a fine-tuned version of [google/gemma-2-9b-it](https://huggingface.co/google/gemma-2-9b-it).
15
  It has been trained using [TRL](https://github.com/huggingface/trl).
 
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="winnieyangwannan/gemma-2-9b-it_honest_lying_sft_to_honest_lora_True", device="cuda")
24
  output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
25
  print(output["generated_text"])
26
  ```
27
 
28
  ## Training procedure
29
 
30
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/winnie96/huggingface/runs/6xk1r0mc)
31
 
32
 
33
  This model was trained with SFT.