j-hartmann commited on
Commit
142e391
·
1 Parent(s): 8badbbe

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -0
README.md CHANGED
@@ -2,7 +2,10 @@ Hartmann, J., Bergner, A., & Hildebrand, C. (2023). MindMiner: Uncovering Lingui
2
 
3
  You can apply MindMiner as follows:
4
 
 
 
5
  model_name = "j-hartmann/MindMiner"
6
  mindminer = pipeline(model=model_name, function_to_apply="none", device = 0)
 
7
 
8
  For details, see: https://github.com/j-hartmann/MindMiner/blob/main/MindMiner.ipynb
 
2
 
3
  You can apply MindMiner as follows:
4
 
5
+ ```python
6
+ from transformers import pipeline
7
  model_name = "j-hartmann/MindMiner"
8
  mindminer = pipeline(model=model_name, function_to_apply="none", device = 0)
9
+ ```
10
 
11
  For details, see: https://github.com/j-hartmann/MindMiner/blob/main/MindMiner.ipynb