Skip to content

Commit

Permalink
add gsm8k data
Browse files Browse the repository at this point in the history
  • Loading branch information
zyaoj committed Nov 6, 2024
1 parent 993784c commit 786af63
Show file tree
Hide file tree
Showing 603 changed files with 1,821 additions and 79,446 deletions.
39 changes: 39 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
*.jsonl filter=lfs diff=lfs merge=lfs -text
/.github/CODEOWNERS filter=lfs diff=lfs merge=lfs -text
*.md filter=lfs diff=lfs merge=lfs -text
*.yaml filter=lfs diff=lfs merge=lfs -text
*.gitignore filter=lfs diff=lfs merge=lfs -text
*.gitmodules filter=lfs diff=lfs merge=lfs -text
/LICENSE filter=lfs diff=lfs merge=lfs -text
/VERSION filter=lfs diff=lfs merge=lfs -text
*.bib filter=lfs diff=lfs merge=lfs -text
*.sh filter=lfs diff=lfs merge=lfs -text
*.cpu filter=lfs diff=lfs merge=lfs -text
*.cu116 filter=lfs diff=lfs merge=lfs -text
*.cu117 filter=lfs diff=lfs merge=lfs -text
*.cu118 filter=lfs diff=lfs merge=lfs -text
*.cu121 filter=lfs diff=lfs merge=lfs -text
*.json filter=lfs diff=lfs merge=lfs -text
*.py filter=lfs diff=lfs merge=lfs -text
/doc/Makefile filter=lfs diff=lfs merge=lfs -text
*.rst filter=lfs diff=lfs merge=lfs -text
*.txt filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.svg filter=lfs diff=lfs merge=lfs -text
*.html filter=lfs diff=lfs merge=lfs -text
*.clang-format filter=lfs diff=lfs merge=lfs -text
*.clang-tidy filter=lfs diff=lfs merge=lfs -text
*.supp filter=lfs diff=lfs merge=lfs -text
*.cmake filter=lfs diff=lfs merge=lfs -text
*.cc filter=lfs diff=lfs merge=lfs -text
*.h filter=lfs diff=lfs merge=lfs -text
*.in filter=lfs diff=lfs merge=lfs -text
*.typed filter=lfs diff=lfs merge=lfs -text
*.cu filter=lfs diff=lfs merge=lfs -text
*.patch filter=lfs diff=lfs merge=lfs -text
*.c filter=lfs diff=lfs merge=lfs -text
*.toml filter=lfs diff=lfs merge=lfs -text
*.pt filter=lfs diff=lfs merge=lfs -text
*.ogg filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.spm filter=lfs diff=lfs merge=lfs -text
6 changes: 3 additions & 3 deletions .github/CODEOWNERS
Git LFS file not shown
23 changes: 3 additions & 20 deletions .github/ISSUE_TEMPLATE/bug_report.md
Git LFS file not shown
20 changes: 3 additions & 17 deletions .github/ISSUE_TEMPLATE/feature_request.md
Git LFS file not shown
10 changes: 3 additions & 7 deletions .github/ISSUE_TEMPLATE/question.md
Git LFS file not shown
10 changes: 3 additions & 7 deletions .github/ISSUE_TEMPLATE/typo_doc_issue.md
Git LFS file not shown
19 changes: 3 additions & 16 deletions .github/PULL_REQUEST_TEMPLATE.md
Git LFS file not shown
82 changes: 3 additions & 79 deletions .github/workflows/_build_doc.yaml
Original file line number Diff line number Diff line change
@@ -1,79 +1,3 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

on:
workflow_call:
inputs:
torch:
type: string
default: '2.4.0'
py:
type: string
default: '3.12'
version_override:
type: string
default: ''

env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

jobs:
build:
name: Build
runs-on:
labels: 4-core-ubuntu
container:
image: ghcr.io/facebookresearch/fairseq2-ci-manylinux_x86_64:2-cpu
defaults:
run:
shell: bash
steps:
- name: Check-out the repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Create the Python virtual environment
run: |
python${{ inputs.py }} -m venv ~/venv
echo ~/venv/bin >> "$GITHUB_PATH"
- name: Install PyTorch
run: |
pip install --extra-index-url https://download.pytorch.org/whl/cpu\
torch==${{ inputs.torch }}
- name: Install requirements
run: |
pip install --requirement native/python/requirements-build.txt
- name: Install Sphinx
run: |
pip install --requirement doc/requirements.txt
- name: Override project version
if: inputs.version_override
run: |
tools/set-project-version.sh ${{ inputs.version_override }}
- name: Configure fairseq2n
working-directory: native
run: |
cmake -GNinja -B build
- name: Install fairseq2n
run: |
pip install --editable native/python
- name: Install fairseq2
run: |
pip install --editable .
- name: Generate documentation
working-directory: doc
run: |
make html SPHINXOPTS="-W"
- name: Copy VERSION into the documentation
run: |
cp VERSION doc/build/html
- name: Upload documentation to staging
uses: actions/upload-artifact@v3
with:
name: doc
path: doc/build/html/
retention-days: 1
version https://git-lfs.github.com/spec/v1
oid sha256:756491687041f198aea8ebacbc9b231d0e67ea6917503672ff336f25890abc45
size 2211
Loading

0 comments on commit 786af63

Please sign in to comment.