Skip to content

Commit

Permalink
Remove PyTorch models and get them from curated-transformers (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldk authored May 7, 2023
1 parent 57fba74 commit 5decfb1
Show file tree
Hide file tree
Showing 89 changed files with 195 additions and 1,539 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ jobs:
run: python -m build --sdist

- name: Run mypy
run: mypy curated_transformers
run: mypy spacy_curated_transformers

- name: Delete source directory
run: |
cp curated_transformers/tests/conftest.py .
rm -rf curated_transformers
cp spacy_curated_transformers/tests/conftest.py .
rm -rf spacy_curated_transformers
shell: bash

- name: Uninstall all packages
Expand All @@ -69,7 +69,7 @@ jobs:
python -m pip install fugashi[unidic-lite] spacy[ja]
- name: Run pytest
run: python -m pytest --pyargs curated_transformers --slow
run: python -m pytest --pyargs spacy_curated_transformers --slow

- name: Install HF transformers
id: init-hf-transformers
Expand All @@ -89,4 +89,4 @@ jobs:
enableCrossOsArchive: true

- name: Run pytest (w/t HF transformers)
run: python -m pytest --pyargs curated_transformers --slow
run: python -m pytest --pyargs spacy_curated_transformers --slow
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include LICENSE
include README.md
include pyproject.toml
recursive-include curated_transformers toy*
recursive-include spacy_curated_transformers toy*
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ change in incompatible ways.
## ⏳ Install

```bash
pip install curated-transformers
pip install spacy-curated-transformers
```

## 🚀 Quickstart
Expand Down
5 changes: 0 additions & 5 deletions curated_transformers/models/pytorch/__init__.py

This file was deleted.

25 changes: 0 additions & 25 deletions curated_transformers/models/pytorch/activations.py

This file was deleted.

2 changes: 0 additions & 2 deletions curated_transformers/models/pytorch/albert/__init__.py

This file was deleted.

66 changes: 0 additions & 66 deletions curated_transformers/models/pytorch/albert/config.py

This file was deleted.

73 changes: 0 additions & 73 deletions curated_transformers/models/pytorch/albert/encoder.py

This file was deleted.

31 changes: 0 additions & 31 deletions curated_transformers/models/pytorch/albert/layer_group.py

This file was deleted.

72 changes: 0 additions & 72 deletions curated_transformers/models/pytorch/attention.py

This file was deleted.

8 changes: 0 additions & 8 deletions curated_transformers/models/pytorch/bert/__init__.py

This file was deleted.

Loading

0 comments on commit 5decfb1

Please sign in to comment.