Lightning-AI / Lightning-AI/litgpt

Load a json string in the litgpt.data.JSON class instead of a flat file only

Open
#1,976 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
13.7k
Forks
1.5k
Avg merge
15h 37m
Merged PRs (30d)
1

Description

Currently JSON expects a specific file or directory, limiting programatic use in-memory of going from a dataframe of data to a json string.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the litgpt.data.JSON class and its existing tests; the issue does not name specific files or test paths. Read how it currently accepts files and directories, then verify that in-memory JSON strings are supported without breaking those inputs, including the dataframe-to-JSON use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.