Skip to content

Commit

Permalink
one-shot =p
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbhagatio committed Mar 7, 2024
0 parents commit 8d9e9dc
Show file tree
Hide file tree
Showing 16 changed files with 122,432 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build_env_run_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build_env_run_tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch: # Allows running manually from Github's 'Actions' tab
jobs:
build_env_run_tests:
name: Build env and run tests
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Set up environment
run: |
python -m venv env
source env/bin/activate
python -m pip install -e .
- name: Pytest with coverage report
run: |
python -m pytest -n auto --cov=nanogpt --cov-report=xml
- name: Upload test coverage report to codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
verbose: true
Binary file added data/gifs/austen_combo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/gifs/shakespeare_combo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
80,050 changes: 80,050 additions & 0 deletions data/tiny_austen.txt

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions data/tiny_austen_tokens.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

!"&'()*,-.0123456789:;?ABCDEFGHIJKLMNOPQRSTUVWXYZ[]_abcdefghijklmnopqrstuvwxyz
Loading

0 comments on commit 8d9e9dc

Please sign in to comment.