Views
No views yet
1from huggingface_hub import hf_hub_download
2import json
3
4# Download the dataset
5dataset_path = hf_hub_download(repo_id="wareocraftworld/alanta-v1", filename="dataset.json")
6
7# Load the responses
8with open(dataset_path, 'r') as f:
9 data = json.load(f)
10 training_data = data['training_data']
11
12# Now you can use the training data for responses