Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Datasets:
alifnd9
/
memory_reader.py
like
0
Dataset card
Files
Files and versions
xet
Community
cd0cb51
memory_reader.py
/
memory_reader.py
alifnd9
Create memory_reader.py
cd0cb51
verified
6 months ago
raw
Copy download link
history
blame
Safe
215 Bytes
import
json
def
load_dataset
(
filepath
):
"""
Membaca file JSON dan menyimpannya ke memory (RAM)
"""
with
open
(filepath,
"r"
, encoding=
"utf-8"
)
as
file:
data = json.load(file)
return
data