File size: 308 Bytes
e3edc10
 
 
 
 
1
2
3
4
5
6
import subprocess

# Use subprocess.run for better practice
subprocess.run(['curl', '-L', 'https://huggingface.co/datasets/khushwant04/Research-Papers/resolve/main/research-papers.tar?download=true', '-o', 'research-papers.tar'], check=True)
subprocess.run(['tar', '-xf', 'research-papers.tar'], check=True)