barser65 commited on
Commit
87cd971
·
1 Parent(s): 7a0c30d

Create myfunct.py

Browse files
Files changed (1) hide show
  1. myfunct.py +10 -0
myfunct.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import pip
2
+
3
+ def install(package):
4
+ if hasattr(pip, 'main'):
5
+ pip.main(['install', package])
6
+ else:
7
+ pip._internal.main(['install', package])
8
+
9
+ install('git+https://github.com/huggingface/transformers.git')
10
+ install('datasets sentencepiece')