automateyournetwork commited on
Commit
da44aae
·
verified ·
1 Parent(s): 29d7d2e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -3
README.md CHANGED
@@ -1,9 +1,10 @@
1
- To use this model
2
 
3
- import torch
4
 
 
 
5
  import transformers
6
-
7
  import pyreft
8
 
9
  device = "cuda"
@@ -73,3 +74,4 @@ while True:
73
 
74
  # Log intervention details
75
  print(f"Intervention applied: {reft_model.interventions}")
 
 
1
+ ## How to use this model
2
 
3
+ To use this model:
4
 
5
+ ```python
6
+ import torch
7
  import transformers
 
8
  import pyreft
9
 
10
  device = "cuda"
 
74
 
75
  # Log intervention details
76
  print(f"Intervention applied: {reft_model.interventions}")
77
+ ```