Views
No views yet
for line in lines:
# Check if line contains any <|ref|> tag
if '<|ref|>' in line:
# Keep the line only if it contains <|ref|>image<|/ref|>
if '<|ref|>image<|/ref|>' in line:
filtered_lines.append(line)
else:
# Keep lines without <|ref|> tags… See the full description on the dataset page: https://huggingface.co/datasets/feyninc/CVPR_2024_Papers.