Spaces:
Runtime error
Runtime error
| from datasets import load_dataset | |
| # Load only a small number of examples (first 10) | |
| dataset = load_dataset("LevMuchnik/SupremeCourtOfIsrael", split='train[:10]') | |
| # Check if the 'text' field contains the file content or just the file reference | |
| for i in range(len(dataset)): | |
| print(f"Row {i}:") | |
| print(f"File Name: {dataset[i].get('file_name', 'N/A')}") | |
| print(f"Text Content: {dataset[i].get('text', 'No content provided')[:100]}...") # Print first 100 chars | |
| print("\n") | |