Skip to content

Cannot load htm_llama3_refined.json  #1

@lambert-x

Description

@lambert-x

Hi, thanks for the great work.

I download the howto meta file from huggingface and try to load it on a server. However, it always hang and never ends the loading operation. Could you please download the file from your side and load it? I think the metafile migh be corrupted. The SHA256 code is the same as the huggingface.

Here is the script

import json

# Path to the JSON file
file_path = '/dev/shm/HowTo100M_llama3_refined_caption/htm_llama3_refined.json'

# Function to read the first four items from the JSON file
def read_first_four_items(file_path):
    with open(file_path, 'r') as file:
        data = json.load(file)
    
    # Extract the first four items
    first_four_items = data[:4]
    return first_four_items

# Reading the first four items from the JSON file
first_four_items = read_first_four_items(file_path)

# Display the first four items
for i, item in enumerate(first_four_items, start=1):
    print(f'Item {i}: {item}')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions