Skip to content

Instantly share code, notes, and snippets.

View transkatgirl's full-sized avatar
💭
I may be slow to respond.

kat transkatgirl

💭
I may be slow to respond.
View GitHub Profile
@transkatgirl
transkatgirl / convert_archive.py
Created December 3, 2024 10:20 — forked from deepfates/convert_archive.py
Convert your twitter archive into a training dataset and markdown files
import argparse
import json
import logging
import os
import re
import shutil
from concurrent.futures import ProcessPoolExecutor, as_completed
from dataclasses import dataclass
from datetime import datetime
from typing import Any, Callable, Dict, List, Literal, Optional, Tuple