rrende commited on
Commit
3a1e09f
·
verified ·
1 Parent(s): f5f03c4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -0
README.md CHANGED
@@ -88,6 +88,15 @@ wf = FlaxAutoModel.from_pretrained("nqs-models/j1j2_square_10x10", trust_remote_
88
 
89
  Use `revision="symm_trxy_ising"` for a wavefunction including also the point group and the sz inversion symmetries.
90
 
 
 
 
 
 
 
 
 
 
91
 
92
  #### Training Hyperparameters
93
 
 
88
 
89
  Use `revision="symm_trxy_ising"` for a wavefunction including also the point group and the sz inversion symmetries.
90
 
91
+ ### Extract hidden representation
92
+
93
+ The hidden representation associated to the input batch of configurations can be extracted as:
94
+
95
+ ```python
96
+ wf = FlaxAutoModel.from_pretrained("nqs-models/j1j2_square_10x10", trust_remote_code=True, return_z=True)
97
+
98
+ z = wf.__call__(wf.params, samples)
99
+ ```
100
 
101
  #### Training Hyperparameters
102