No project description provided
Project description
PRIOR
🐍 A Python package for distributing resources from AI2's PRIOR team
Installation
Install the prior
package with pip:
pip install prior
Datasets
- ProcTHOR-10k [GitHub]
import prior
prior.load_dataset("procthor-10k")
More coming soon!
Example Usage
To use a public Python dataset, simply run:
import prior
dataset = prior.load_dataset("test-dataset", entity="mattdeitke", revision="main")
Here, revision
can be either a tag, branch, or commit hash.
Private Datasets
If you want to use a private dataset, make sure you're either:
- Already logged into GitHub from the command line, and able to pull a private repo.
- Set the GITHUB_TOKEN environment variable to a GitHub authentication token with read access to private repositories (e.g.,
export GITHUB_TOKEN=<token>
). You can generate a GitHub authentication token here. - Set the
gh_auth_token
global variable in theprior
package with:
import prior
prior.gh_auth_token = "<token>"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
prior-0.0.1.dev31.tar.gz
(13.1 kB
view hashes)
Built Distribution
Close
Hashes for prior-0.0.1.dev31-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0103fba5224e114bb53da17d873381bbd89cc969c7eaf9c88dcfe0e0061c2129 |
|
MD5 | 21f3c6c82033a7a2b004e8e83c3410d1 |
|
BLAKE2b-256 | 109f41054459818838e77e51ed40d426de4fe20b91cf510986fb55e60637df89 |