winnieyangwannan commited on
Commit
6f85614
·
verified ·
1 Parent(s): 29d8680

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: 01-ai/Yi-6B-Chat
3
  library_name: transformers
4
- model_name: Yi-6B-Chat-honest_lying-sft_to_lie-lora_True
5
  tags:
6
  - generated_from_trainer
7
- - Yi-6B-Chat
8
- - honest_lying
9
- - sft_to_lie
10
- - lora_True
11
  - trl
12
  - sft
13
  licence: license
14
  ---
15
 
16
- # Model Card for Yi-6B-Chat-honest_lying-sft_to_lie-lora_True
17
 
18
  This model is a fine-tuned version of [01-ai/Yi-6B-Chat](https://huggingface.co/01-ai/Yi-6B-Chat).
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/Yi-6B-Chat-honest_lying-sft_to_lie-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/x9lhuhaz)
35
 
36
 
37
  This model was trained with SFT.
 
1
  ---
2
  base_model: 01-ai/Yi-6B-Chat
3
  library_name: transformers
4
+ model_name: Yi-6B-Chat_honest_lying_sft_to_lie_lora_True
5
  tags:
6
  - generated_from_trainer
 
 
 
 
7
  - trl
8
  - sft
9
  licence: license
10
  ---
11
 
12
+ # Model Card for Yi-6B-Chat_honest_lying_sft_to_lie_lora_True
13
 
14
  This model is a fine-tuned version of [01-ai/Yi-6B-Chat](https://huggingface.co/01-ai/Yi-6B-Chat).
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/Yi-6B-Chat_honest_lying_sft_to_lie_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/9rpvl8md)
31
 
32
 
33
  This model was trained with SFT.