Skip to content

Commit 1586216

Browse files
authored
Bump version to 2.2.0 (#502)
1 parent 1ebd88a commit 1586216

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<br>
99
</p>
1010

11-
Generate text with distributed **Llama 2 (70B)**, **Stable Beluga 2**, **Guanaco-65B** or **BLOOM-176B** and fine‑tune them for your own tasks &mdash; right from your desktop computer or Google Colab:
11+
Generate text with distributed **Llama 2 (70B)**, **Stable Beluga 2**, **Falcon**, **Guanaco-65B** or **BLOOM-176B** and fine‑tune them for your own tasks &mdash; right from your desktop computer or Google Colab:
1212

1313
```python
1414
from transformers import AutoTokenizer

src/petals/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from petals.utils import *
1818
from petals.utils.logging import initialize_logs as _initialize_logs
1919

20-
__version__ = "2.1.0"
20+
__version__ = "2.2.0"
2121

2222

2323
if not os.getenv("PETALS_IGNORE_DEPENDENCY_VERSION"):

src/petals/models/falcon/config.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ def num_key_value_groups(self) -> int:
3131
def from_pretrained(
3232
cls, model_name_or_path: Union[str, os.PathLike, None], *args, dht_prefix: Optional[str] = None, **kwargs
3333
):
34+
if "180B" in model_name_or_path.upper():
35+
logger.info("Make sure you follow the Falcon-180B license: https://bit.ly/falcon-180b-license")
36+
3437
loading_from_repo = model_name_or_path is not None and not os.path.isdir(model_name_or_path)
3538
if loading_from_repo and dht_prefix is None:
3639
dht_prefix = str(model_name_or_path)

0 commit comments

Comments
 (0)