linlinlin commited on
Commit
d64495f
·
verified ·
1 Parent(s): c4b8906

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -5
README.md CHANGED
@@ -1,6 +1,9 @@
1
  ---
2
  library_name: peft
3
  base_model: mistralai/Mistral-7B-v0.1
 
 
 
4
  ---
5
 
6
  # Model Card for Model ID
@@ -19,13 +22,17 @@ A SFT version on Mistral-7B-v0.1 using dataset teknium/OpenHermes-2.5
19
 
20
  ## Uses
21
 
22
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
23
 
24
- ### Direct Use
 
 
 
 
 
 
25
 
26
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
27
 
28
- [More Information Needed]
29
 
30
 
31
  ## Training Details
@@ -48,4 +55,4 @@ Ubuntu 22.04
48
 
49
  ### Framework versions
50
 
51
- - PEFT 0.9.0
 
1
  ---
2
  library_name: peft
3
  base_model: mistralai/Mistral-7B-v0.1
4
+ license: mit
5
+ datasets:
6
+ - teknium/OpenHermes-2.5
7
  ---
8
 
9
  # Model Card for Model ID
 
22
 
23
  ## Uses
24
 
25
+ ```python
26
 
27
+ from peft import PeftModel, PeftConfig
28
+ from transformers import AutoModelForCausalLM
29
+
30
+ config = PeftConfig.from_pretrained("linlinlin/zephy_SFT_Hermes")
31
+ model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-v0.1")
32
+ model = PeftModel.from_pretrained(model, "linlinlin/zephy_SFT_Hermes")
33
+ ```
34
 
 
35
 
 
36
 
37
 
38
  ## Training Details
 
55
 
56
  ### Framework versions
57
 
58
+ - PEFT 0.9.0