Skip to content

Commit

Permalink
chore: rename package
Browse files Browse the repository at this point in the history
  • Loading branch information
numb3r3 committed Apr 21, 2023
1 parent 63a6647 commit 1df5ac6
Show file tree
Hide file tree
Showing 26 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ pip install open_gpts
## Quickstart

```python
import open_gpts
import open_gpt

model = open_gpts.create_model('facebook/llama-7b', device='cuda', precision='fp16')
model = open_gpt.create_model('facebook/llama-7b', device='cuda', precision='fp16')

prompt = "The quick brown fox jumps over the lazy dog."

Expand Down
4 changes: 2 additions & 2 deletions examples/flan_example.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import time

from open_gpts.factory import create_model_and_transforms
from open_gpts.profile import (
from open_gpt.factory import create_model_and_transforms
from open_gpt.profile import (
compute_module_sizes,
end_measure,
log_measures,
Expand Down
4 changes: 2 additions & 2 deletions examples/llama_example.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import time

from open_gpts.factory import create_model_and_transforms
from open_gpts.profile import (
from open_gpt.factory import create_model_and_transforms
from open_gpt.profile import (
compute_module_sizes,
end_measure,
log_measures,
Expand Down
4 changes: 2 additions & 2 deletions examples/pythia_example.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import time

from open_gpts.factory import create_model_and_transforms
from open_gpts.profile import (
from open_gpt.factory import create_model_and_transforms
from open_gpt.profile import (
compute_module_sizes,
end_measure,
log_measures,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "open_gpts"
version = "0.0.1rc1"
name = "open_gpt_torch"
version = "0.0.1rc2"
description = "An open-source implementation of large-scale language model (LLM)."

license = "Apache-2.0"
Expand All @@ -20,7 +20,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
packages = [{ include = "open_gpts" }]
packages = [{ include = "open_gpt" }]
exclude = ["tests/**/*", "docs/**/*", "examples/**/*"]

# README file(s) are used as the package description
Expand Down

0 comments on commit 1df5ac6

Please sign in to comment.